Sorry for this newbie question but how do I start a greasemonkey script from my 
local hard disc?

I wrote the simple script (see bottom of this posting) into a file 

D:\tmp\myscript.script

and dragged this file on my Firefox (Greasemonkey addon is installed and 
enabled).
After dragging the following URL is visible in the browser:

file:///D:/tmp/myscript.script

But after hitting RETURN the script does not run.

Why?

Do all scripts have to be on a server and accessible only through http://  
protocol - no file:/// possible?

Ben



// ==UserScript== 
// @name                        Test 
// @namespace           Foo 
// @description         Test 
// @include                     *CFIDE/debug/blank.html* 
// @version                     0.0.1 
// ==/UserScript== 

var x = document.createElement("<iframe>"); 
x.src = "http://www.google.com";; 
document.body.appendChild(x); 
var x = document.createElement("<iframe>"); 
x.src = "http://www.yahoo.com";; 
document.body.appendChild(x); 
var x = document.createElement("<iframe>"); 
x.src = "http://www.bing.com";; 
document.body.appendChild(x); 






--

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