Skip to content

Commit 97905d5

Browse files
committed
v0.46.55.1
1 parent 03dc97a commit 97905d5

File tree

4 files changed

+22
-22
lines changed

4 files changed

+22
-22
lines changed

changelog.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
v0.46.55 - Friday, May 20, 2016
1+
v0.46.55.1 - Friday, May 20, 2016
22
- further significant foundation code optimization, resulting in (probably noticeably) faster and more efficient logic and processing
33

44
v0.46.54.4 - Thursday, May 19, 2016

js/background.js

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,7 @@ function hotkeyChange() {
174174
chrome.windows.getAll({"populate":true}, function(windows) {
175175
windows.map(function(window) {
176176
window.tabs.map(function(tab) {
177-
if (checkChrome(tab.url)) continue;
178-
chrome.tabs.executeScript(tab.id, {code: 'hotkeySet("'+localStorage["enableToggle"]+'","'+localStorage["hotkey"]+'","'+localStorage["paranoidhotkey"]+'");', allFrames: true});
177+
if (!checkChrome(tab.url)) chrome.tabs.executeScript(tab.id, {code: 'hotkeySet("'+localStorage["enableToggle"]+'","'+localStorage["hotkey"]+'","'+localStorage["paranoidhotkey"]+'");', allFrames: true});
179178
});
180179
});
181180
});
@@ -199,22 +198,23 @@ function recursiveCloak(enable, global, tabId) {
199198
chrome.windows.getAll({"populate":true}, function(windows) {
200199
windows.map(function(window) {
201200
window.tabs.map(function(tab) {
202-
if (checkChrome(tab.url)) continue;
203-
var enabletemp = enable;
204-
var dpdomaincheck = domainCheck(extractDomainFromURL(tab.url));
205-
// Ensure whitelisted or blacklisted tabs stay as they are
206-
if (enabletemp == 'true' && dpdomaincheck == '0') enabletemp = 'false';
207-
else if (enabletemp == 'false' && dpdomaincheck == '1') enabletemp = 'true';
208-
magician(enabletemp, tab.id);
209-
var dpTabId = tab.windowId+"|"+tab.id;
210-
var dpcloakindex = cloakedTabs.indexOf(dpTabId);
211-
var dpuncloakindex = uncloakedTabs.indexOf(dpTabId);
212-
if (enabletemp == 'false') {
213-
if (dpuncloakindex == -1) uncloakedTabs.push(dpTabId);
214-
if (dpcloakindex != -1) cloakedTabs.splice(dpcloakindex, 1);
215-
} else {
216-
if (dpcloakindex == -1) cloakedTabs.push(dpTabId);
217-
if (dpuncloakindex != -1) uncloakedTabs.splice(dpuncloakindex, 1);
201+
if (!checkChrome(tab.url)) {
202+
var enabletemp = enable;
203+
var dpdomaincheck = domainCheck(extractDomainFromURL(tab.url));
204+
// Ensure whitelisted or blacklisted tabs stay as they are
205+
if (enabletemp == 'true' && dpdomaincheck == '0') enabletemp = 'false';
206+
else if (enabletemp == 'false' && dpdomaincheck == '1') enabletemp = 'true';
207+
magician(enabletemp, tab.id);
208+
var dpTabId = tab.windowId+"|"+tab.id;
209+
var dpcloakindex = cloakedTabs.indexOf(dpTabId);
210+
var dpuncloakindex = uncloakedTabs.indexOf(dpTabId);
211+
if (enabletemp == 'false') {
212+
if (dpuncloakindex == -1) uncloakedTabs.push(dpTabId);
213+
if (dpcloakindex != -1) cloakedTabs.splice(dpcloakindex, 1);
214+
} else {
215+
if (dpcloakindex == -1) cloakedTabs.push(dpTabId);
216+
if (dpuncloakindex != -1) uncloakedTabs.splice(dpuncloakindex, 1);
217+
}
218218
}
219219
});
220220
});

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@
2727
},
2828
"permissions": [ "http://*/*", "https://*/*", "contextMenus", "tabs" ],
2929
"update_url": "http://clients2.google.com/service/update2/crx",
30-
"version": "0.46.55"
30+
"version": "0.46.55.1"
3131
}

updated.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
<body id="updatepage">
88
<span id="title">Decreased Productivity</span> by Andrew Y.<br /><br />
99
<div id="main">
10-
<h1>Updated to v0.46.55! (Friday, May 20, 2016)</h1>
10+
<h1>Updated to v0.46.55.1! (Friday, May 20, 2016)</h1>
1111
<ul>
12-
<li>v0.46.55:<ul>
12+
<li>v0.46.55.1:<ul>
1313
<li>further significant foundation code optimization, resulting in (probably noticeably) faster and more efficient logic and processing</li>
1414
<li><strong>if you do not want this page appearing every time DP auto-updates, you can disable them by unticking "Show Update Popup" in the <a href="options.html">Options page</a>.</strong></li>
1515
</ul>

0 commit comments

Comments
 (0)