Skip to content
This repository has been archived by the owner on Nov 15, 2017. It is now read-only.

Commit

Permalink
this fixes #389
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Jul 27, 2014
1 parent d60be20 commit ac140f7
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
1 change: 1 addition & 0 deletions assets/httpsb/ubiquitous-block-lists.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"title": "MVPS HOSTS"
},
"spam404bl.com/spam404scamlist.txt": {
"off": true,
"title": "Spam404"
},
"easylist-downloads.adblockplus.org/easylist.txt": {
Expand Down
1 change: 0 additions & 1 deletion js/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ var HTTPSB = (function() {

var defaultUserAgentStrings = [
'# http://www.useragentstring.com/pages/Chrome/',
'Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2049.0 Safari/537.36',
'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.67 Safari/537.36',
'Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.67 Safari/537.36',
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1944.0 Safari/537.36',
Expand Down
2 changes: 1 addition & 1 deletion js/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ var onInstalledHandler = function(details) {
if ( details.reason !== 'install' ) {
return;
}
HTTPSB.utils.gotoExtensionURL('setup.html');
// HTTPSB.utils.gotoExtensionURL('setup.html');
};

chrome.runtime.onInstalled.addListener(onInstalledHandler);
Expand Down
4 changes: 1 addition & 3 deletions js/storage.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,7 @@ HTTPSB.loadScopedRules = function() {
}
} else {
// Sensible defaults
httpsb.whitelistTemporarily('*', 'stylesheet', '*');
httpsb.whitelistTemporarily('*', 'image', '*');
httpsb.blacklistTemporarily('*', 'sub_frame', '*');
httpsb.whitelistTemporarily('*', '*', '*');
httpsb.createTemporaryScopeFromScopeKey(httpsb.behindTheSceneScopeKey);
httpsb.whitelistTemporarily(httpsb.behindTheSceneScopeKey, '*', '*');
httpsb.toggleTemporaryMtxFiltering(httpsb.behindTheSceneScopeKey, false);
Expand Down

0 comments on commit ac140f7

Please sign in to comment.