NoScript and user.js

Ask for help about NoScript, no registration needed to post
-Deadly-

NoScript and user.js

Post by -Deadly- »

NoScript stops execute file user.js (C:\Documents and Settings\ADMIN\Application Data\Mozilla\Firefox\Profiles\1m059x1u.default\user.js). How to do that NoScript allow user.js to execute? If my question is not correct, please tell me. thx.
Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: NoScript and user.js

Post by Giorgio Maone »

You don't want to "execute" user.js: it's a preference file, not meant to be executed.
Please read the profile article.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729)
-Deadly-

Re: NoScript and user.js

Post by -Deadly- »

I need to load graphics files from my PC on a site, for this I add to file user.js this lines:

Code: Select all

user_pref("capability.policy.policynames", "molehillgfx");
user_pref("capability.policy.molehillgfx.sites", "http://s3.sadowajaimperija.ru");
user_pref("capability.policy.molehillgfx.checkloaduri.enabled", "allAccess");
But if NoScript is switch on, images not display. (if NoScript is switch off all OK).
Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: NoScript and user.js

Post by Giorgio Maone »

Remove those lines and check NoScript Options|Advanced|Trusted|Allow local links.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729)
-Deadly-
Posts: 1
Joined: Sat Aug 29, 2009 8:46 pm

Re: NoScript and user.js

Post by -Deadly- »

thx, it's work now!
Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2
Post Reply