Skip to content

An-GG/js2bookmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

js2bookmark

Did you know you can run custom scripts on websites to make them do what you want without installing an extension?

Screenshot 2023-09-06 at 6 19 27 PM
This script turns your JavaScript code into single link that you can save as a bookmark in Chrome/Safari/Firefox

Screenshot 2023-09-06 at 6 19 09 PM
Then, just click on it to run your code on the current page.

oh and it even works on your phone

IMG_0685

i used it for my export-tweeters script

let usage=`
	USAGE:

		js2bookmark.js <a.js> <b.js> ...

			INPUT : path to the JavaScript file(s) you want to inject into the browser when clicking the bookmark.

			OUTPUT : raw text of bookmark link. code from each file will be encapsulated in its own wrapper function.
	`

adjusted from reference

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published