Running custom Javascript on every page in Mozilla Firefox

前端 未结 2 1976
-上瘾入骨i
-上瘾入骨i 2021-01-12 00:37

I have a custom piece of Javascript which I would like to run on every web page from specific domains, or perhaps simply on every web page.

(If you are wondering: i

2条回答
  •  清酒与你
    2021-01-12 01:25

    Welcome to stackoverflow!

    Greasemonkey should do what you want. If it's not working either it's not being applied to the correct domains, or the code contains some sort of bug! (I personally use grease monkey on stack overflow to make some changes to the answer area).

    Try placing some alerts() within your code to ensure that your grease monkey script is executing as intended.

提交回复
热议问题