I've had problems with alert, try GM_log("worked") instead, it should show
up in the messages log in the error console.  Make sure the script is
showing in the menu for the page your on, and enabled is checked.

On Sun, Jul 31, 2011 at 5:09 PM, candicecold1 cand <[email protected]>wrote:

> // ==UserScript==
> // @name                Hello World
> // @namespace           http://www.oreilly.com/catalog/greasemonkeyhacks/
> // @description         example script to alert "Hello world!" on
> every page
> // @include             *
> // @exclude             http://oreilly.com/*
> // @exclude             http://www.oreilly.com/*
> // ==/UserScript==
>
> alert("worked");
>
>
> ----------------------------------------------------------------------------------------------------------
> Can someone please tell me what i am doing wrong in this code. isn;t
> this suppose to pop up an alert box worked then why doesnt it .. its a
> basic example from greasemonkey tutorial doc
>
> --
> You received this message because you are subscribed to the Google Groups
> "greasemonkey-users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/greasemonkey-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/greasemonkey-users?hl=en.

Reply via email to