Skip to content Skip to sidebar Skip to footer

My Greasemonkey Script Won't Install

I'm going to write a small Greasemonkey script. Here is my test code: // ==UserScript== // @name test // @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js //

Solution 1:

when I put the source code into script.js file and then clicked "Add a new script" - it did not.

The filename must end with .user.js. So rename your test file to test.user.js or something. Then you will be able to install it.


Solution 2:

You can try changing

// @include <a href="http://forum.php.pl/*" target="_blank">http://forum.php.pl/*</a>

To:

// @include http://forum.php.pl/*

Post a Comment for "My Greasemonkey Script Won't Install"