How to test a Greasemonkey script, especially on a local copy of a webpage?
问题 I have my own javascript that I need to test with Greasemonkey. I've never worked with Greasemonkey before; How do I test the script? I am not testing it on the World Wide Web, I have saved the target page ( Firefox > Save page as > Web page, complete ), so I am testing it locally. What is the process? How do I test the script? 回答1: Here are some guidelines for troubleshooting Greasemonkey scripts, both in general, and on local copies of webpages. For testing on local pages (without a local