Skip to content

Commit 552a66b

Browse files
committed
Zero-day hotfix: fixed sizing
1 parent 39cc6c2 commit 552a66b

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

src/background/blocker.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,10 @@ export default {
5050
const foundInActiveList = _blockerConfig.activeList.indexOf(hostname) > -1
5151

5252
if (this.usesBlacklist(_blockerConfig.blockMode) && foundInActiveList) {
53+
console.log("[chronos] Blocking " + hostname + ": found in profile blacklist")
5354
await browser.tabs.update(tabId, { url: `/blocker/blocker.html#/block?hostname=${hostname}`, loadReplace: true })
5455
} else if (this.usesWhitelist(_blockerConfig.blockMode) && !foundInActiveList) {
56+
console.log("[chronos] Blocking " + hostname + ": not found in profile whitelist")
5557
await browser.tabs.update(tabId, { url: `/blocker/blocker.html#/block?hostname=${hostname}`, loadReplace: true })
5658
}
5759
},

src/background/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ browser.tabs.onRemoved.addListener(Handlers.updateTabCountOnRemoval)
99

1010
// Filtering handlers
1111
Blocker.assembleBlockedSites().then(() => {
12+
console.log("[chronos] Loaded blocked sites.")
1213
browser.tabs.onUpdated.addListener(Blocker.handleTabUpdate.bind(Blocker))
1314
browser.storage.onChanged.addListener(Blocker.handleStorageChange.bind(Blocker))
1415
})

src/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"manifest_version": 2,
33
"name": "Chronos",
4-
"version": "1.0",
4+
"version": "1.0hotfix1",
55
"author": "encadyma",
66
"description": "A productive tab manager doubling as a website blocker. Let online work flow like time.",
77

src/popup/TabsList.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@
241241
.tabs-list__list {
242242
padding: 0;
243243
margin: 0;
244-
max-height: 400px;
244+
max-height: 380px;
245245
overflow-y: auto;
246246
}
247247
</style>

0 commit comments

Comments
 (0)