Smilies On

Any ideas why this script is not working?

Also, when I set the script, the Name and Description field are empty?

//==UserScript== //@name testName //@namespace anonDeveloper //@description This script will automagically blah blah blah //@include * //==/UserScript== alert('Hello world!'); 

The script is in my file system, not in the URI. Could this be the reason?

+6
javascript greasemonkey
source share
1 answer

It works for me in the latest Google Chrome (you did not say which browsers you tested). However, to display the name and description correctly, you need to add a space after each // :

 // ==UserScript== // @name testName // @namespace anonDeveloper // @description This script will automagically blah blah blah // @include * // ==/UserScript== alert('Hello world!'); 
+6
source share

All Articles