1

I want to Disable server side Javascript but not my Greasemonkey so I can stop all the javascript/AJAX from the website so they can't detect I am using Greasemonkey ( no onclick validations to see if i really clicked and not just used my script etc ). But when I disable Javascript with a toggle addon for example it stops greasemonkey.

1 Answer 1

1

I don't see a way to generally disable script execution in the browser while not disabling the execution of userscripts, however, you can prevent site's scripts from execution by intercepting the scripts on the beforescriptexecute event. You need to call the Event.preventDefault() method in your event handler and add the line @run-at document-start to your meta block of the userscript header.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.