Closed GoogleCodeExporter closed 9 years ago
Original comment by classi...@floodgap.com
on 29 Aug 2010 at 5:44
noidentity on 68kmla:
Re: Classilla 9.2.1
Post by noidentity » 07 Dec 2010, 17:47
Finally giving this a try. How do I allow execution of JavaScript on local
files? It won't let me add file:/// to the list. Classilla 9.1 always allowed
execution of local JavaScript.
noidentity
Joined: 02 Nov 2009, 07:31
Top
Re: Classilla 9.2.1
Post by ClassicHasClass » 07 Dec 2010, 20:37
What if you add
Code: Select all
file:
? (Notice no slashes.) I'm on the PC they make me use at the office, so I can't
test from here.
If that doesn't work, I agree it should, and I will fix it for 9.2.2.
User avatar
ClassicHasClass
Joined: 03 Jul 2009, 16:48
Location: Electron Alley
Top
Re: Classilla 9.2.1
Postby noidentity » 07 Dec 2010, 22:21
OK, I found a hack that works. First, open the window and add file://foo, which
it allows (it doesn't allow file: or file:///). Then quit Classilla, edit
prefs.js, and remove the foo, leaving you with
Code: Select all
user_pref("capability.policy.maonoscript.sites", "sbg: about: about:blank chrome: file://");
user_pref("classilla.sbg.file.", "y");
Then re-open Classilla, and you'll see a file:// entry. This matches file:///
paths, allowing local files to execute. Adding other URLs and quitting
Classilla doesn't disturb this file:// entry.
Original comment by classi...@floodgap.com
on 8 Dec 2010 at 5:33
Both issues fixed; marking fixed pending verify.
Original comment by classi...@floodgap.com
on 6 Feb 2011 at 6:57
Original issue reported on code.google.com by
classi...@floodgap.com
on 29 Aug 2010 at 5:42