[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r22078: {torbrowser} add NoScript config for users and update linux-prefs with a (torbrowser/trunk/build-scripts/config)



Author: erinn
Date: 2010-03-27 21:49:49 +0000 (Sat, 27 Mar 2010)
New Revision: 22078

Added:
   torbrowser/trunk/build-scripts/config/noscriptconfig.json
Modified:
   torbrowser/trunk/build-scripts/config/linux-prefs.js
Log:
add NoScript config for users and update linux-prefs with a stranger variable name so it doesn't get caught by BUNDLELOCALE elsewhere.


Modified: torbrowser/trunk/build-scripts/config/linux-prefs.js
===================================================================
--- torbrowser/trunk/build-scripts/config/linux-prefs.js	2010-03-27 20:26:29 UTC (rev 22077)
+++ torbrowser/trunk/build-scripts/config/linux-prefs.js	2010-03-27 21:49:49 UTC (rev 22078)
@@ -54,7 +54,7 @@
 user_pref("dom.storage.enabled", false);
 user_pref("extensions.checkCompatibility", false);
 user_pref("extensions.checkUpdateSecurity", false);
-user_pref("extensions.enabledItems", "BUNDLELOCALE,{73a6fe31-595d-460b-a920-fcc0f8843232}:1.9.9.57,{e0204bd5-9d31-402b-a99d-a6aa8ffebdca}:1.2.4,{972ce4c6-7e08-4474-a285-3208198ce6fd}:3.5.8");
+user_pref("extensions.enabledItems", "SHPONKA,{73a6fe31-595d-460b-a920-fcc0f8843232}:1.9.9.57,{e0204bd5-9d31-402b-a99d-a6aa8ffebdca}:1.2.4,{972ce4c6-7e08-4474-a285-3208198ce6fd}:3.5.8");
 user_pref("extensions.lastAppVersion", "3.5.8");
 user_pref("extensions.torbutton.fresh_install", false);
 user_pref("extensions.torbutton.http_port", 8118);

Added: torbrowser/trunk/build-scripts/config/noscriptconfig.json
===================================================================
--- torbrowser/trunk/build-scripts/config/noscriptconfig.json	                        (rev 0)
+++ torbrowser/trunk/build-scripts/config/noscriptconfig.json	2010-03-27 21:49:49 UTC (rev 22078)
@@ -0,0 +1,216 @@
+{"prefs":{
+"whitelistRegExp":"",
+"untrusted":"",
+"surrogate.popunder.exceptions":"",
+"forbidJava":true,
+"autoAllow":0,
+"allowBookmarks":false,
+"cp.last":true,
+"injectionCheckHTML":true,
+"jsredirectIgnore":false,
+"showRevokeTemp":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/[^\";<>\\?%]+$\u000a^http://translate\\.google\\.com/translate_t[^\";'<>\\?%]+$",
+"httpsForcedExceptions":"www.google.com images.google.com safebrowsing*.google.com maps.google.com code.google.com sorry.google.com news.google.com gitweb.torproject.org metrics.torproject.org exitlist.torproject.org deb.torproject.org",
+"showDomain":false,
+"surrogate.imdb.replacement":"addEventListener('DOMContentLoaded',function(ev){ad_utils.render_ad=function(w){w.location=w.location.href.replace(/.*\\bTRAILER=([^&]+).*/,'$1')}},true)",
+"safeToplevel":true,
+"sound.block":"chrome://noscript/skin/block.wav",
+"lockPrivilegedUI":false,
+"showAddress":false,
+"hideOnUnloadRegExp":"video/.*",
+"surrogate.qs.sources":"edge.quantserve.com",
+"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;},_linkByPost:function(){return true;},_getLinkerUrl:function(u){return u;},_trackEvent:_0}}}",
+"statusLabel":false,
+"allowPageLevel":0,
+"stickyUI":true,
+"ABE.notify.namedLoopback":false,
+"frameOptions.parentWhitelist":"https://mail.google.com/*";,
+"fixURI.exclude":"",
+"stickyUI.liveReload":false,
+"compat.evernote":true,
+"sound":false,
+"nselNever":false,
+"emulateFrameBreak":true,
+"clearClick.plugins":true,
+"tempGlobal":false,
+"allowedMimeRegExp":"",
+"ABE.legacyPrompt":false,
+"fixLinks":true,
+"forbidChromeScripts":false,
+"asyncNetworking":true,
+"autoReload.allTabs":true,
+"ABE.enabled":false,
+"allowURLBarJS":true,
+"notify.bottom":true,
+"safeJSRx":"(?:window\\.)?close\\s*\\(\\)",
+"flashPatch":true,
+"xss.notify.subframes":true,
+"filterXPost":true,
+"ABE.disabledRulesetNames":"",
+"forbidMetaRefresh.remember":false,
+"truncateTitleLen":255,
+"showDistrust":false,
+"untrustedGranularity":3,
+"surrogate.nscookie.replacement":"document.cookie='noscript=; domain=.facebook.com; path=/; expires=Thu, 01-Jan-1970 00:00:01 GMT;'",
+"blockNSWB":false,
+"injectionCheck":2,
+"forbidData":true,
+"consoleLog":false,
+"autoReload.onMultiContent":false,
+"secureCookies.recycle":false,
+"showTempToPerm":false,
+"forbidMedia":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",
+"trustEV":false,
+"filterXGetRx":"<+(?=[^<>=\\-\\d\\. /\\(])|[\\\\\"\\x00-\\x07\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F]",
+"keys.toggle":"ctrl shift VK_BACK_SLASH.|",
+"showAllowPage":false,
+"notify":true,
+"statusIcon":true,
+"showUntrustedPlaceholder":true,
+"filterXExceptions.lycosmail":true,
+"stickyUI.onKeyboard":true,
+"toolbarToggle":3,
+"showTemp":false,
+"contentBlocker":true,
+"ABE.siteEnabled":false,
+"secureCookies":true,
+"xss.trustTemp":true,
+"alwaysBlockUntrustedContent":true,
+"filterXGet":true,
+"policynames":"",
+"injectionCheckPost":true,
+"sound.oncePerSite":true,
+"filterXExceptions.livejournal":true,
+"forbidImpliesUntrust":false,
+"forbidIFramesParentTrustCheck":true,
+"confirmUnsafeReload":true,
+"global":true,
+"surrogate.nscookie.sources":"@*.facebook.com",
+"utf7filter":true,
+"ctxMenu":true,
+"showRecentlyBlocked":false,
+"notify.hideDelay":5,
+"inclusionTypeChecking":true,
+"jsHack":"",
+"autoReload.allTabsOnPageAction":true,
+"forbidXSLT":true,
+"truncateTitle":true,
+"xss.trustReloads":false,
+"filterXGetUserRx":"",
+"xss.notify":true,
+"urivalid.aim":"\\w[^\\\\\\?&\\x00-\\x1f#]*(?:\\?[^\\\\\\x00-\\x1f#]*(?:#[\\w\\-\\.\\+@]{2,32})?)?",
+"jsredirectFollow":false,
+"opacizeObject":3,
+"recentlyBlockedLevel":0,
+"badInstall":false,
+"allowBookmarkletImports":true,
+"autoReload.global":true,
+"firstRunRedirection":false,
+"forbidMetaRefresh.notify":true,
+"urivalid.mailto":"[^\\x00-\\x08\\x0b\\x0c\\x0e-\\x1f]*",
+"filterXExceptions.fbconnect":true,
+"surrogate.ga.sources":"*.google-analytics.com",
+"clearClick.debug":false,
+"surrogate.enabled":true,
+"STS.enabled":true,
+"forbidMetaRefresh":false,
+"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.*",
+"gtemp":"",
+"allowHttpsOnly":0,
+"forbidMixedFrames":true,
+"secureCookiesExceptions":"",
+"autoReload.allTabsOnGlobal":false,
+"ABE.allowRulesetRedir":false,
+"showTempAllowPage":false,
+"autoReload.useHistory.exceptCurrent":true,
+"frameOptions.enabled":true,
+"jsHackRegExp":"",
+"inclusionTypeChecking.checkDynamic":false,
+"showUntrusted":false,
+"collapseObject":false,
+"canonicalFQDN":false,
+"secureCookiesForced":"*torproject.org *github.com *facebook.com *twitter.com",
+"confirmUnblock":true,
+"ABE.legacySupport":false,
+"excaps":true,
+"forbidFonts":true,
+"clearClick":3,
+"docShellJSBlocking":1,
+"allowLocalLinks":false,
+"forbidIFrames":false,
+"forbidPlugins":true,
+"showGlobal":true,
+"ABE.notify":false,
+"xss.trustData":true,
+"forbidFlash":true,
+"ignorePorts":true,
+"surrogate.popunder.replacement":"var cookie=document.__proto__.__lookupGetter__('cookie');document.__proto__.__defineGetter__('cookie',function() { var c='; popunder=yes; popundr=yes';return (cookie.apply(this).replace(c,'')+c).replace(/^; /, '')});var open=window.__proto__.open;window.__proto__.open=function(url,target,features){try{if(!(/^_(?:top|parent|self)$/i.test(target)||target in frames)){var suspSrc,frame,ff=[]; for(var f,ev,aa=arguments;aa.callee && (f=aa.callee.caller) && ff.indexOf(f)<0;ff.push(f)){aa=f.arguments;if(!aa)break;ev=aa[0];if(!suspSrc) suspSrc=/(?:\\bpopunde?r|\\bfocus\\b.*\\bblur|\\bblur\\b.*\\bfocus|[pP]uShown)\\b/.test(f.toSource());if(ev instanceof MouseEvent && ev.type=='click' && ev.button===0 && ev.currentTarget===document && !(ev.target instanceof HTMLAnchorElement && ev.target.href && (ev.target.href.indexOf(url)===0 || url.indexOf(ev.target.href)===0))){if(suspSrc){frame=document.body.appendChild(document.createElement('iframe'));frame.src=
 'data:text/html,';frame.style.display='none';window.setTimeout(function(){frame.parentNode.removeChild(frame);},1000);var w=frame.contentWindow;w.blur=function(){};return w;}}}}}catch(e){}return open.apply(this, arguments);};",
+"silverlightPatch":true,
+"toggle.temp":true,
+"placesPrefs":false,
+"xss.trustExternal":true,
+"recentlyBlockedCount":10,
+"secureCookies.perTab":false,
+"abp.removeTabs":false,
+"jsredirectForceShow":false,
+"surrogate.imdb.sources":"@*.imdb.com/video/*",
+"nselForce":true,
+"consoleDump":0,
+"proxiedDNS":0,
+"surrogate.popunder.sources":"@^http://[a-z]+[^/]+\\.[a-z]+(?:/|$)",
+"forbidActiveContentParentTrustCheck":true,
+"forbidSilverlight":true,
+"nselNoMeta":true,
+"clearClick.subexceptions":"http://w.sharethis.com/share3x/lightbox.html?* http://disqus.com/embed/* http://www.feedly.com/mini abine:*",
+"noping":true,
+"globalwarning":true,
+"placeholderMinSize":32,
+"httpsForced":"*twitter.com *facebook.com blog.torproject.org www.torproject.org docs.google.com addons.mozilla.org www.stumbleupon.com",
+"showBaseDomain":false,
+"forbidBookmarklets":false,
+"jarDoc.notify":true,
+"ABE.skipBrowserRequests":true,
+"clearClick.prompt":true,
+"forbidXHR":1,
+"fixURI":true,
+"clearClick.exceptions":"noscript.net/getit flashgot.net/getit *.ebay.com *.photobucket.com",
+"showPermanent":true,
+"oldStylePartial":false,
+"inclusionTypeChecking.exceptions":"",
+"mandatory":"chrome: about: about:config about:neterror about:certerror about:plugins about:privatebrowsing about:sessionrestore resource: about:blocked",
+"autoReload":false,
+"autoReload.useHistory":false,
+"surrogate.ga.exceptions":"",
+"STS.expertErrorUI":false,
+"notify.hidePermanent":true,
+"surrogate.qs.replacement":"window.quantserve=function(){}",
+"logDNS":false,
+"showPlaceholder":true,
+"options.tabSelectedIndexes":"4,4,1",
+"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(){}",
+"forbidFrames":false,
+"showBlockedObjects":true,
+"surrogate.yieldman.sources":"*.yieldmanager.com",
+"forbidXBL":4},
+"whitelist":"addons.mozilla.org about: about:blank about:blocked about:certerror about:config about:credits about:neterror about:plugins about:privatebrowsing about:sessionrestore chrome: resource:",
+"ABE":[{
+"source":"# Prevent Internet sites from requesting LAN resources.\u000d\u000aSite LOCAL\u000d\u000aAccept from LOCAL\u000d\u000aDeny",
+"name":"SYSTEM",
+"timestamp":1261384077000,
+"disabled":false},{
+"source":"# User-defined rules. Feel free to experiment here.\u000d\u000a\u000d\u000a",
+"name":"USER",
+"timestamp":1261384077000,
+"disabled":false}],
+"V":"1.9.9.47"
+}