I have an API documentation lying around on my Harddrive and to ease my workflow, I have written a simple script that modifies the page for my needs. I've developed it using FireBug on FireFox.
@include
-ing webpages works correctly, but Greasemonkey does not seem to detect pages on the local file-system?
I would like to have an include like
// @include *R13/Python*R13/*
Which should match for example
file:///Z:/Eigene%20Dateien/Cinema4D/Documentations/R13/Python%20R13/modules/c4d/index.html
But it is not recognized. How can I achieve that the userscript runs on local html files, too?
Thanks in advance,
Since a couple of releases there are two new 'hidden' preferences:
greasemonkey.aboutIsGreaseable
greasemonkey.fileIsGreaseableThe default value is "false". If you want Greasemonkey to run on file:/// urls, you have to set the second one to "true" (in about:config).
Quoted from here: