I’m debugging a piece of Javascript that is normally used as follows: a bookmark has a javascript: url that includes:
_readability_script.src='http://somewhere.com/readability.js?x='+(Math.random());document.documentElement.appendChild(_readability_script)
To debug some mods, I tried to just change that to a file:/// url, and I am rewarded with:
Not allowed to load local resource: file:///users/benson/readability.js?x=0.29405178176239133
What sense does this make? My bookmark can pull heaven knows what from some random web server, but it can’t read from a local file?
More to the point, is there a setting somewhere that I can use to allow this?
What if you host the files on your local test web server? That way it meets the local and website criteria.