Greasy Fork is available in English.

Discussions » Greasy Fork Feedback

Greasy Fork Bookmarklet

§
Posted: 2018.12.02.

Greasy Fork Bookmarklet

I don't know why this literally isn't a link I can bookmark on the home page.

javascript:window.location.href = 'https://greasyfork.org/en/scripts?utf8=%E2%9C%93&q=' + window.location.hostname;

§
Posted: 2018.12.02.

javascript:window.location.href%20=%20'https://greasyfork.org/en/scripts?utf8=%E2%9C%93&q='%20+%20window.location.hostname;

obviously this doesnt work, the site software adds "denied:" in front of the URL, bookmark the link and delete the denied: part... then go to any site and click the bookmark, it will automatically search Greasy Fork, using the site domain as the search. You can thank me later.

woxxomMod
§
Posted: 2018.12.02.
Edited: 2018.12.02.

javascript:location.href%3D'https%3A%2F%2Fgreasyfork.org%2Fen%2Fscripts%2Fsearch%3Fq%3D'%2Blocation.hostname

To generate these percent escapes either use an editor that can do it or simply type the following in browser console (Ctrl-Shift-J): encodeURIComponent(`location.href=...............`) i.e. the entire text after javascript:

§
Posted: 2018.12.02.
Edited: 2018.12.02.

@wOxxOm a dit: To generate these percent escapes either use an editor that can do it

An example? i use Notepad ++: It can do that ?

§
Posted: 2018.12.03.

@decembre said: An example? i use Notepad ++: It can do that ?

Plugins -> MIME Tools -> URL Encode

§
Posted: 2018.12.03.

@adisib a dit :

@decembre said: An example? i use Notepad ++: It can do that ?

Plugins -> MIME Tools -> URL Encode

thanks!

Post reply

Sign in to post a reply.