Archive for the ‘JavaScript/ECMAScript’ Category
Posted by jpluimers on 2024/11/05
Two stage bookmarklet idea (so if will be easier to create this in an agile fashion):
- create a bookmarklet that looks up the currently selected text in Wikipedia (or another source)
- modify the current selection to link to that Wikipedia entry (convenient when editing blog posts)
Hopefully these links will help me getting started:
Read the rest of this entry »
Posted in Bookmarklet, Development, JavaScript/ECMAScript, Power User, Scripting, Software Development, Web Browsers, Web Development | Leave a Comment »
Posted by jpluimers on 2024/10/08
Apparently I was living under a stone since the 2015 introduction of [Wayback/Archive] Paste to Markdown:
Paste to Markdown
Instructions
- Find the text to convert to Markdown (e.g., in another browser tab)
- Copy it to the clipboard (
Ctrl+C, or ⌘+C on Mac)
- Paste it into this window (
Ctrl+V, or ⌘+V on Mac)
- The converted Markdown will appear!
The conversion is carried out by to-markdown, a Markdown converter written in JavaScript and running locally in the browser.
The “to-markdown” I did already know (see A few HTML to Markdown converters written in javascript, Python, Ruby, PHP and C#) but has been renamed from [Wayback/Archive] GitHub – domchristie/to-markdown: An HTML to Markdown converter written in JavaScript into then “turndown” repository below.
More links:
Read the rest of this entry »
Posted in Development, HTML, JavaScript/ECMAScript, Lightweight markup language, MarkDown, Scripting, Software Development, Web Development | Leave a Comment »
Posted by jpluimers on 2024/10/01
A long time ago, I wrote about How to hide an entire drive from prying eyes on Windows 10 | Windows Central.
The easiest way is still to add/modify a NoDrives value in the Registry, but regrettably [WayBack] NT Drive Calculator – The ‘NoDrives’ Registry Key Value Calculator is down (it was a server-side solution, so the WayBack Machine link does display a page, but the calculator does not function).
My use case is that I have an existing NoDrives value that I want to update (as there have been one or more drive letters added/changed).
Read the rest of this entry »
Posted in Development, HTML, HTML5, JavaScript/ECMAScript, Scripting, Software Development, Web Development | Leave a Comment »
Posted by jpluimers on 2024/09/19
Posted in AI and ML; Artificial Intelligence & Machine Learning, C#, C++, Development, JavaScript/ECMAScript, LLM, PHP, Python, Ruby, Rust, Scripting, Software Development | Leave a Comment »
Posted by jpluimers on 2024/09/12
Posted in Bookmarklet, CSS, Development, HTML, HTML5, JavaScript/ECMAScript, Power User, Scripting, Software Development, Web Browsers, Web Development | Leave a Comment »
Posted by jpluimers on 2024/09/03
[Wayback/Archive] https://plus.google.com/+Chrome/posts/AgtEDd7ngEJ “Brush up on your knowledge of the elements with this Chrome Experiment, an interactive Periodic Table by Sarath Saleem: goo-gl/HJ9O31 #fridayfun”
This reminded me so much about the atom spin tables I wrote some Turbo Pascal code for in the late 1980s to help a university professor. Maybe one day, I will find that code back.
(note: I expanded the actual googl link because Google URL Shortener was killed in 2019 with links stopping to work in 2025, see [Wayback/Archive] Google Graveyard – Killed by Google)
The links:
--jeroen
Posted in Development, JavaScript/ECMAScript, Pascal, Scripting, Software Development, Turbo Pascal | Leave a Comment »
Posted by jpluimers on 2024/08/28
For my TODO list: [Wayback/Archive] twitter-to-bsky
Crosspost from Twitter/X to Bluesky and Mastodon
twitter-to-bsky – crosspost from Twitter/X to Bluesky and Mastodon directly in the web browser
It allows to automatically crosspost to
Bluesky and/or
Mastodon when writing posts in the
Twitter/X web application in a desktop browser.
More links:
Read the rest of this entry »
Posted in BlueSky, Development, JavaScript/ECMAScript, Mastodon, Scripting, SocialMedia, Software Development, Twitter | Leave a Comment »
Posted by jpluimers on 2024/08/27
I put the proper Bookmarklet wrapper around the functions from Bookmarklet for Archive.is to navivate to the canonical link (because especially Firefox needs them):
An immediately invoked function that returns no value or an expression preceded by the void operator will prevent the browser from attempting to parse the result of the evaluation as a snippet of HTML markup:
javascript:(function(){
//Statements returning a non-undefined type, e.g. assignments
})();
It means they now have become these:
-
Archive.is: navigate canonical URL
javascript:(function(){location=document.querySelector('link[rel="canonical"]')?.href})();
-
Archive.is: prompt canonical URL
javascript:(function(){prompt("Anchor",document.querySelector('link[rel="canonical"]')?.href)})();
--jeroen
Read the rest of this entry »
Posted in archive.is / archive.today, Archiving, Bookmarklet, Chrome, Development, Firefox, Internet, JavaScript/ECMAScript, Power User, Scripting, Software Development, Web Browsers | Leave a Comment »