local editable site info page

Bug reports and enhancement requests
Post Reply
al_9x
Master Bug Buster
Posts: 931
Joined: Thu Mar 19, 2009 4:52 pm

local editable site info page

Post by al_9x »

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
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: local editable site info page

Post by Giorgio Maone »

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
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: local editable site info page

Post by Giorgio Maone »

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
al_9x
Master Bug Buster
Posts: 931
Joined: Thu Mar 19, 2009 4:52 pm

Re: local editable site info page

Post by al_9x »

Giorgio Maone wrote:Why don't you serve it from a local web server?
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.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
al_9x
Master Bug Buster
Posts: 931
Joined: Thu Mar 19, 2009 4:52 pm

Re: local editable site info page

Post by al_9x »

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)?
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.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: local editable site info page

Post by Giorgio Maone »

al_9x wrote: What do you think about GM in general, is it exploitable? It had some issues early on, I think.
Yes it had some issue in the past, which prompted several enhancement in XPCWrappers (the interfaces between unsafe content and chrome JavaScript).
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
Post Reply