Is there a way to disable all other Java Scripts other than my own with Grease Monkey

后端 未结 2 815
旧时难觅i
旧时难觅i 2021-01-27 09:28

I need help getting a Grease Monkey with JQuery Script to run on a broken site.

I\'m trying to get the following GM script to run, but the page I want it to work on has

相关标签:
2条回答
  • 2021-01-27 09:53

    GM and jQuery 1.4.* currently fail to co-exist due to an error in the eventSupported function.
    Therefore, you can use the 1.3.* jQuery or include a modified 1.4.2 version directly in your script, such as the one suggested here.
    Since you have chosen to take the extension path, this is irrelevant to you, but I still post this for others with similar issues who might stumble upon this in the future.

    0 讨论(0)
  • 2021-01-27 10:00

    You cant do it.

    If there is a javascript error, your code (which executes last) will never execute.

    I have looked far and wide for a solution for this, but was never able to find it.

    0 讨论(0)
提交回复
热议问题