I have a simple Greasemonkey script:
// ==UserScript==
// @name hello
// @namespace http://www.webmonkey.com
// @description A test of accessing documents using file:// protocol
// @include http* file*
// @grant none
// ==/UserScript==
alert("hi");
It works fine as long as the URL is of the form http://...
How do I also get the script to run on URLs of the form file://...
?
In the User Settings section I have http://*
and file://*
as the included pages and in the Script Settings section I have http* file*
in the "Included Pages" box.