Got to know of them recently. They seem very cool.
Like, I don’t have to install anything extra.
https://www.freecodecamp.org/news/what-are-bookmarklets/
https://bk7312.github.io/bookmarklets/
I especially like this one that shows Id links. Useful while sharing wikipedia links:
https://github.com/madacol/web-automation/blob/master/bookmarklets/Id Linker.js
:::.
And this one which helps to use text fragments:
Discliamer: Be careful with copy-pasting bookmarklets into your browser. Only do so if you trust it.
Which all bookmarklets do you use, find useful?
Please share them.
Are there similar easy things that most people sort of easily have access to? I think Libreoffice’s/Excel’s record macro function would be useful for people too.
Are there any communities for similar things, sort-of like beginner automation?
Thanks in advance.
I used to use Power Delete Suite to nuke Reddit comments.
I dont see any use and usage mentioned there is useless
There’s literally a “What are bookmarklets” link in OPs post.
I’ve not heard of them before. i use greasemonkey for this sort of stuff
Yes and I find it useless even after reading that freecodecamp one
There’s a couple there - one changes password fields to text and the other unchecks all the boxes on a page.
I have the following, which I didn’t make myself
DontF-withPaste
javascript:forceBrowserDefault=(e=>{e.stopImmediatePropagation();return true;});['copy','cut','paste'].forEach(e=>document.addEventListener(e,forceBrowserDefault,true));
Purpose: Restore the ability to paste stuff anywhere, some websites will do this in their password field
kill-sticky
(avascript:(function(){document.querySelectorAll("body *").forEach(function(node){if(["fixed","sticky"].includes(getComputedStyle(node).position)){node.parentNode.removeChild(node)}});document.querySelectorAll("html *").forEach(function(node){var s=getComputedStyle(node);if("hidden"===s["overflow"]){node.style["overflow"]="visible"}if("hidden"===s["overflow-x"]){node.style["overflow-x"]="visible"}if("hidden"===s["overflow-y"]){node.style["overflow-y"]="visible"}});var htmlNode=document.querySelector("html");htmlNode.style["overflow"]="visible";htmlNode.style["overflow-x"]="visible";htmlNode.style["overflow-y"]="visible"})();
Purpose: Un-stick anything that remain static when you scroll, ex: website header
Thank you
Edit:
The copy-paste bookmarklet does not seem to help with allowing copy-paste in the mobile version of the facebook website.i think touch events need their own specifiers?
I should give it a look
Export a table to csv
I wrote this one to strip the custom css from any sub on (old) reddit. I use it on subs I find annoying, like mildlyinfuriating.
javascript:(function(){x=0;s=document.styleSheets;for(const y of s){if(y.title==="applied_subreddit_stylesheet"){if(y.disabled!=true){y.disabled=true;}else{y.disabled=false;}}x++;}})();