Which extension to use if I want to inject and run arbitrary JavaScript on loaded page? Topic is solved

Add-ons for Pale Moon and other applications
General discussion, compatibility, contributed extensions, themes, plugins, and more.

Moderators: FranklinDM, Lootyhoof

konstantin

Which extension to use if I want to inject and run arbitrary JavaScript on loaded page?

Unread post by konstantin » 2017-06-06, 01:20

I am using a webpage which shows images only in thumbnail form for non-premium members. However full sized images URL can be easily found out. I would like to run automatically a piece of JavaScript code every time when the a page from the abovementioned domain loads, and make it replace the image URLs on the page, or in the DOM precisely.

Which browser extension should I try to reach this goal? I remeber something like *monkey when I used FireFox in the past (not sure), but of course I would prefer a PaleMoon compatible extension.

adisib
Lunatic
Lunatic
Posts: 380
Joined: 2015-06-13, 03:34
Location: KY

Re: Which extension to use if I want to inject and run arbitrary JavaScript on loaded page?

Unread post by adisib » 2017-06-06, 04:07

I use this version of Greasemonkey
https://github.com/janekptacijarabaci/g ... y/releases
or, if you prefer, you can use Guerilla Scripting (though it isn't as simple to use I think, so you should probably use the Greasemonkey link unless you are sure you would rather have this)
https://addons.palemoon.org/addon/guerilla-scripting/


Locked