Skip to content

Commit ec2a0a9

Browse files
committed
Merge branch 'release/1.1.1'
2 parents 4a6a008 + 46234a4 commit ec2a0a9

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "twitch-auto-points",
3-
"version": "1.1.0",
4-
"description": "",
3+
"version": "1.1.1",
4+
"description": "Automatic twitch bonus point collection",
55
"main": "index.js",
66
"scripts": {
77
"start": "npm run firefox",

src/background/browserAction.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ browser.tabs.onUpdated.addListener((tabId, changeInfo, tab) => {
8585
// if not twitch
8686
} else if (!redirectedToTwitch[tabId] && changeInfo.url && !twitchUrlRegexp.test(changeInfo.url)) {
8787
lockForTab(tabId);
88+
// page redirect outside twitch
89+
} else if (!changeInfo.url) {
90+
lockForTab(tabId);
8891
}
8992
} else if (changeInfo.status === 'complete' && redirectedToTwitch[tabId]) {
9093
emitStatus(tabId, isEnabled);

src/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"manifest_version": 2,
33
"author": "Daniyil Vasylenko",
44
"name": "Twitch Auto Points",
5-
"version": "1.1.0",
5+
"version": "1.1.1",
66
"homepage_url": "https://github.com/Spring3/twitch-auto-points",
77
"description": "Automatic twitch channel points collection",
88
"permissions": [

0 commit comments

Comments
 (0)