[RESOLVED] NoScript misconfigured?

Ask for help about NoScript, no registration needed to post
mc

[RESOLVED] NoScript misconfigured?

Post by mc »

I'm using lastest NoScript on a WinXP and WinVista pc. On both pcs firefox 3.0.13 was installed.

Until version 1.9.8.4 everything worked perfectly.

After updating to version 1.9.8.5 the Vista pc just the standard configuration was used.
So I tried to revert the update and installed 1.9.8.4 again.
But the problem still occoured.

So I uninstalled Firefox, deleted all folders and installed version 3.5.2.
I reinstalled all addons. I installed xmarks and all bookmarks were transfered.
I clicked the sync thing in noscript (I don't know the english name of it), cklicked ok and confirmed the popup that noscript should use bookmark's setting.

I retried that lots of times but the situation is same everytime.

Because I uninstalled firefox the "create new profile" things should be unnecessary.

Now my WinXP pc is still working correctly (FX v 3.0.13), WinVista (3.5.2) is still not working. :(
Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 GTB5 (.NET CLR 3.5.30729)
User avatar
Giorgio Maone
Site Admin
Posts: 9454
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: NoScript misconfigured?

Post by Giorgio Maone »

mc wrote:just the standard configuration was used.
What does this mean exactly?
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)
Guest

Re: NoScript misconfigured?

Post by Guest »

Giorgio Maone wrote:
mc wrote:just the standard configuration was used.
What does this mean exactly?
The standard configuration of noscript.

maone.net and so as white list.
The sync option was and is enabled too.

Now I backuped the WinXP pc's noscript configuration and imported the file to the WinVista pc.
I continue testing.
Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 GTB5 (.NET CLR 3.5.30729)
mc

Re: NoScript misconfigured?

Post by mc »

Sorry, not standard. I mean default.
Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 GTB5 (.NET CLR 3.5.30729)
User avatar
Giorgio Maone
Site Admin
Posts: 9454
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: NoScript misconfigured?

Post by Giorgio Maone »

Could please explain what does not work in deeper details?
I'm a bit confused...
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)
Mc

Re: NoScript misconfigured?

Post by Mc »

I'm not guest mc, just to glarify :-)
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 Mnenhy/0.7.6.666
Grumpy Old Lady
Senior Member
Posts: 240
Joined: Fri Jul 03, 2009 7:20 am

Re: NoScript misconfigured?

Post by Grumpy Old Lady »

Appears to be a synching issue involving Xmarks configuration. The symptom seemed to be that NS in one machine was reverting to defaults at each session, instead of synching with the custom settings expected in the NS bookmark.
The OP has probably solved their problem with their own actions:
Now I backuped the WinXP pc's noscript configuration and imported the file to the WinVista pc.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2
m_c
Junior Member
Posts: 24
Joined: Mon Aug 24, 2009 11:53 am

Re: NoScript misconfigured?

Post by m_c »

I'm using xmarks for bookmarks syncing.

PC1: WinXP SP3 Fx 3.0.13.
PC2: WinVista SP 2, was Fx 3.0.13, now Fx 3.5.2

xmarks 3.3.3 is installed on both pcs.

After upgrading my WinVista pc to Noscript 1.9.8.5 the default values are used. So google.de was not whitelisted and scripts were forbidden. The WinXP pc was still able to update noscript's configuration.

To solve the problem I downgraded to 1.9.8.4 on WinVista pc but the problem was not solved.

I retried lots of times but after I while I gave up.

So I though the problem is a broken Fx profile.
I uninstalled WinVista's Fx and installed 3.5.2. Installed my addons (xmarks and so on) and configured NoScript to sync whitelist. My bookmarks were synced before I checked the option to sync whitelist.
I confirmed the popup to use stored configuration but noscript still used default prefs
"whitelist":"addons.mozilla.org flashgot.net google.com googlesyndication.com gstatic.com...
I retried lots of times again and imported WinXP's Noscript configuration. Now it worked some time but after a while default configration of NoScript was published to xmarks. Now my WinXP pc had same problem. I restored an older bookmark transaction but it was impossible to restore a working Noscript with my config.

So I uninstalled my WinXP's Fx, too and installed 3.5.2. I backupped my obviously full noscript config of WinVista pc and stupidly overwrite my working noscript configuration.

Now just default configuration was avaiable in a file but bookmarks configuration was obviously store correctly.

Now both pcs used default configuration in noscript and no one used store xmarks bookmark.

This morning I tried to backup to default configuration and just replace the default whitelist with the bookmark's whitelist.
And this failed too. :(

Now I don't know how to use my whitelist in noscript without adding every site after site. :|
Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 GTB5 (.NET CLR 3.5.30729)
Grumpy Old Lady
Senior Member
Posts: 240
Joined: Fri Jul 03, 2009 7:20 am

Re: NoScript misconfigured?

Post by Grumpy Old Lady »

That sounds bad :-(

I am not a user of XMarks or NS Synching, so please forgive this dumb question:
You said
I confirmed the popup to use stored configuration but noscript still used default prefs
Was that popup from NS or from Xmarks?
If it was from Xmarks, is there a way to change what file is stored on the Xmarks server - because it appears that Xmarks may be forcing that configuration on both your computers now?
Sorry that I am not being much help. There will be more help along soon, I'm sure.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2
User avatar
Giorgio Maone
Site Admin
Posts: 9454
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: NoScript misconfigured?

Post by Giorgio Maone »

OK, I got it and I'm investigating.
Could you provide me with a manual export of your NoScript configuration, just to be sure there's not some specific option causing this?
Thanks.
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)
m_c
Junior Member
Posts: 24
Joined: Mon Aug 24, 2009 11:53 am

Re: NoScript misconfigured?

Post by m_c »

Grumpy Old Lady wrote:...Was that popup from NS or from Xmarks?...
NoScript. The confirmation window for using bookmark settings in noscript.

Could the problem be that I add the umlaut domain bundesprüfstelle.de to my whitelist?

EDIT:
Giorgio Maone wrote:Could you provide me with a manual export of your NoScript configuration, just to be sure there's not some specific option causing this?
There is no working NoScript configuration anymore. I just tried to "repair" it.

My "default" configuration:
{"prefs":{
"whitelistRegExp":"",
"docShellJSBlocking":1,
"ignorePorts":true,
"autoAllow":0,
"allowBookmarks":false,
"cp.last":true,
"showRecentlyBlocked":true,
"injectionCheckHTML":true,
"jsredirectIgnore":false,
"https.showInConsole":true,
"filterXExceptions":"^http://([a-z]+)\\.google\\.(?:[a-z]{1,3}\\.)?[a-z]+/(?:search|custom|\\1)\\?\u000a^http://([a-z]*)\\.?search\\.yahoo\\.com/search(?:\\?|/\\1\\b)\u000a^http://[a-z]+\\.wikipedia\\.org/wiki/[^\"<>\\?%]+$",
"httpsForcedExceptions":"",
"showDomain":true,
"safeToplevel":true,
"sound.block":"chrome://noscript/skin/block.wav",
"lockPrivilegedUI":false,
"showAddress":true,
"forbidXSLT":true,
"hideOnUnloadRegExp":"video/.*",
"notify.hide":false,
"forbidJarDocuments":true,
"surrogate.ga.replacement":"var _0=function(){};with(window)urchinTracker=_0,_gat={_getTracker:function(){return{__noSuchMethod__:_0,_link:function(h){if(h)location.href=h}}}}",
"statusLabel":false,
"allowPageLevel":0,
"blockXIntranet":true,
"stickyUI":true,
"ABE.notify.namedLoopback":false,
"checkHijackings":true,
"fixURI.exclude":"",
"compat.evernote":true,
"sound":false,
"nselNever":false,
"emulateFrameBreak":true,
"tempGlobal":false,
"allowedMimeRegExp":"",
"ABE.legacyPrompt":false,
"fixLinks":true,
"forbidChromeScripts":false,
"asyncNetworking":true,
"surrogate.yieldman.replacement":"with(window)rmAddKey=rmAddCustomKey=rmShowAd=rmShowPop=rmShowInterstitial=rmGetQueryParameters=rmGetSize=rmGetWindowUrl=rmGetPubRedirect=rmGetClickUrl=rmReplace=rmTrim=rmUrlEncode=rmCanShowPop=rmCookieExists=rmWritePopFrequencyCookie=rmWritePopExpirationCookie=flashIntalledCookieExists=writeFlashInstalledCookie=flashDetection=rmGetCookie=function(){}",
"autoReload.allTabs":true,
"policynames":"",
"allowURLBarJS":true,
"notify.bottom":false,
"safeJSRx":"(?:window\\.)?close\\s*\\(\\)",
"secureCookies":false,
"xss.notify.subframes":true,
"filterXPost":true,
"ABE.disabledRulesetNames":"",
"forbidMetaRefresh.remember":false,
"truncateTitleLen":255,
"showDistrust":true,
"untrustedGranularity":3,
"blockNSWB":true,
"injectionCheck":2,
"consoleLog":false,
"autoReload.onMultiContent":false,
"secureCookies.recycle":false,
"badInstall":false,
"showTempToPerm":true,
"trustEV":false,
"filterXGetRx":"<+(?=[^<>=\\d\\. ])|[\\\\\"\\x00-\\x07\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F]",
"notify":false,
"keys.toggle":"ctrl shift VK_BACK_SLASH.|",
"showAllowPage":true,
"statusIcon":true,
"showUntrustedPlaceholder":true,
"forbidJava":true,
"stickyUI.onKeyboard":true,
"toolbarToggle":3,
"showTemp":true,
"contentBlocker":false,
"secureCookiesExceptions":"",
"ABE.siteEnabled":false,
"xss.trustTemp":true,
"alwaysBlockUntrustedContent":true,
"forbidSilverlight":true,
"filterXGet":true,
"injectionCheckPost":true,
"forbidImpliesUntrust":false,
"forbidIFramesParentTrustCheck":true,
"confirmUnsafeReload":true,
"global":false,
"utf7filter":true,
"ctxMenu":true,
"notify.hideDelay":5,
"inclusionTypeChecking":true,
"autoReload.allTabsOnPageAction":true,
"jsHack":"",
"truncateTitle":true,
"xss.notify":true,
"xss.trustReloads":false,
"filterXGetUserRx":"",
"urivalid.aim":"\\w[^\\\\\\?&\\x00-\\x1f#]*(?:\\?[^\\\\\\x00-\\x1f#]*(?:#[\\w\\-\\.\\+@]{2,32})?)?",
"opacizeObject":1,
"recentlyBlockedLevel":0,
"autoReload.global":true,
"firstRunRedirection":false,
"forbidMetaRefresh.notify":true,
"urivalid.mailto":"[^\\x00-\\x08\\x0b\\x0c\\x0e-\\x1f]*",
"surrogate.ga.sources":"*.google-analytics.com",
"clearClick.debug":false,
"surrogate.enabled":true,
"surrogate.fap.replacement":"window.puShown getter=window.puShown setter=function(){return true}",
"forbidMetaRefresh":true,
"allowClipboard":false,
"forbidJarDocumentsExceptions":"^jar:https://samples\\.noscript\\.net/sample_apps.jar!.*\\.xul$\u000a",
"keys.ui":"ctrl shift S",
"forbidIFramesContext":2,
"forbidExtProtSubdocs":true,
"compat.gnotes":true,
"requireReloadRegExp":"application/x-vnd\\.moveplayer\\b.*",
"allowHttpsOnly":0,
"forbidMixedFrames":true,
"gtemp":"",
"autoReload.allTabsOnGlobal":false,
"ABE.allowRulesetRedir":false,
"showTempAllowPage":true,
"ABE.enabled":true,
"autoReload.useHistory.exceptCurrent":true,
"jsHackRegExp":"",
"inclusionTypeChecking.checkDynamic":false,
"showUntrusted":true,
"collapseObject":false,
"canonicalFQDN":true,
"default":"about:blank about:credits addons.mozilla.org flashgot.net google.com gstatic.com googlesyndication.com informaction.com yahoo.com yimg.com maone.net noscript.net hotmail.com msn.com passport.com passport.net passportimages.com live.com",
"secureCookiesForced":"",
"confirmUnblock":true,
"sound.oncePerSite":true,
"excaps":true,
"forbidData":true,
"clearClick":3,
"allowLocalLinks":false,
"jsredirectFollow":false,
"forbidIFrames":true,
"forbidPlugins":true,
"showGlobal":true,
"showRevokeTemp":true,
"ABE.notify":false,
"xss.trustData":true,
"forbidFlash":true,
"silverlightPatch":true,
"toggle.temp":true,
"autoReload.useHistory":false,
"placesPrefs":true,
"xss.trustExternal":true,
"recentlyBlockedCount":10,
"secureCookies.perTab":false,
"abp.removeTabs":false,
"jsredirectForceShow":false,
"nselForce":true,
"consoleDump":0,
"proxiedDNS":0,
"forbidActiveContentParentTrustCheck":true,
"nselNoMeta":true,
"clearClick.subexceptions":"http://w.sharethis.com/share3x/lightbox.html?* http://disqus.com/embed/* http://www.feedly.com/mini",
"noping":true,
"globalwarning":true,
"surrogate.fap.sources":"@*.imagefap.com *.moviefap.com imagefap.com moviefap.com",
"placeholderMinSize":32,
"httpsForced":"",
"clearClick.plugins":true,
"showBaseDomain":true,
"forbidBookmarklets":true,
"jarDoc.notify":true,
"ABE.skipBrowserRequests":true,
"clearClick.prompt":true,
"stickyUI.liveReload":false,
"untrusted":"",
"intranetMaskRx":"^(127\\.[\\d.]+)",
"forbidXHR":1,
"fixURI":true,
"clearClick.exceptions":"noscript.net/getit flashgot.net/getit *.ebay.com",
"showPermanent":true,
"oldStylePartial":false,
"inclusionTypeChecking.exceptions":"",
"mandatory":"chrome: about: about:config about:neterror about:certerror about:plugins about:privatebrowsing about:sessionrestore resource:",
"autoReload":true,
"surrogate.ga.exceptions":"",
"notify.hidePermanent":true,
"showPlaceholder":true,
"options.tabSelectedIndexes":"0,0,0",
"forbidFrames":true,
"showBlockedObjects":true,
"surrogate.yieldman.sources":"*.yieldmanager.com",
"forbidXBL":4,
"ABE.legacySupport":false},
"whitelist":"addons.mozilla.org flashgot.net google.com googlesyndication.com gstatic.com hotmail.com informaction.com live.com maone.net msn.com noscript.net passport.com passport.net passportimages.com yahoo.com yimg.com about: about:blank about:certerror about:config about:credits about:neterror about:plugins about:privatebrowsing about:sessionrestore chrome: http://flashgot.net http://google.com http://googlesyndication.com http://gstatic.com http://hotmail.com http://informaction.com http://live.com http://maone.net http://msn.com http://noscript.net http://passport.com http://passport.net http://passportimages.com http://yahoo.com http://yimg.com https://flashgot.net https://google.com https://googlesyndication.com https://gstatic.com https://hotmail.com https://informaction.com https://live.com https://maone.net https://msn.com https://noscript.net https://passport.com https://passport.net https://passportimages.com https://yahoo.com https://yimg.com resource:",
"ABE":[{
"source":"# Prevent Internet sites from requesting LAN resources.\u000d\u000aSite LOCAL\u000d\u000aAccept from LOCAL\u000d\u000aDeny",
"name":"SYSTEM",
"timestamp":1245573491437,
"disabled":false},{
"source":"# User-defined rules. Feel free to experiment here.\u000d\u000a\u000d\u000a",
"name":"USER",
"timestamp":1245573491437,
"disabled":false}],
"V":"1.9.8.61"
}
Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 GTB5 (.NET CLR 3.5.30729)
m_c
Junior Member
Posts: 24
Joined: Mon Aug 24, 2009 11:53 am

Re: NoScript misconfigured?

Post by m_c »

OK, problem solved.

I removed all entries for bundesprüfstelle.de (no protocol, http:// and https:// and now all sites are listed in noscript after importing file. (File means: export default configuration, copy all whitelisted sites from bookmark to configuration file, delete to above mentioned domain and import the file again to noscript.)

Uploaded to xmarks and a forced import to the other pc later and it's working there too.
Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 GTB5 (.NET CLR 3.5.30729)
User avatar
Giorgio Maone
Site Admin
Posts: 9454
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: NoScript misconfigured?

Post by Giorgio Maone »

OK, just to double check if the bug is in XMarks or in NoScript: does manual export/import of a configuration including the umlaut site work?
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)
m_c
Junior Member
Posts: 24
Joined: Mon Aug 24, 2009 11:53 am

Re: NoScript misconfigured?

Post by m_c »

I added the domain to pc2, exported the file (works; domain included), imported (works; domain included), syncing to xmarks (works).

Syncing pc1 (error; just default sites in noscript!).

Domain is included in bookmark!

Could be: error in reading bookmark file in noscript or xmarks makes htmlenties or so!?

ü=ü in html.

EDIT: If I check bookmark the domain is listed correctly.
Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 GTB5 (.NET CLR 3.5.30729)
User avatar
Giorgio Maone
Site Admin
Posts: 9454
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: NoScript misconfigured?

Post by Giorgio Maone »

Thanks for the hint.
It's probably an encoding issue fixed in 1.9.8.7.
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)
Post Reply