local editable site info page
local editable site info page
I was thinking of making a local site info page which could also double as a local keyword.URL handler. It needs scripting but I don't want to allow file:// universally. Giorgio, can an extension (NoScript) assist with this? Can there be a noscript chrome page which is user editable, or gets a user editable piece injected? Or some other technique?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
- Giorgio Maone
- Site Admin
- Posts: 9524
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: local editable site info page
Why don't you serve it from a local web server?
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
- Giorgio Maone
- Site Admin
- Posts: 9524
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: local editable site info page
Another idea: couldn't you "enhance" it using GreaseMonkey (user scripts run no matter page's permissions, and you'd get cross site XHR for free)?
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
Re: local editable site info page
I don't normally run one. Seems like overkill to have a web server dependency. If you happen to know if this is possible with an extension, can you please explain, even if you think it's not worth doing.Giorgio Maone wrote:Why don't you serve it from a local web server?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
Re: local editable site info page
Thanks, I didn't know GM scripts always ran, I though it just injected scripts into the page and needed page permissions. What do you think about GM in general, is it exploitable? It had some issues early on, I think.Giorgio Maone wrote:Another idea: couldn't you "enhance" it using GreaseMonkey (user scripts run no matter page's permissions, and you'd get cross site XHR for free)?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
- Giorgio Maone
- Site Admin
- Posts: 9524
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: local editable site info page
Yes it had some issue in the past, which prompted several enhancement in XPCWrappers (the interfaces between unsafe content and chrome JavaScript).al_9x wrote: What do you think about GM in general, is it exploitable? It had some issues early on, I think.
Today it's probably much less exploitable than most other extensions, unless you install some unsafe userscript (e.g. one which uses wrappedJSObject to unwrap unsafe content).
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3