Skip to content

Commit

Permalink
add chrome-extension:// to exception list
Browse files Browse the repository at this point in the history
  • Loading branch information
monque committed Jun 30, 2017
1 parent f82b8a3 commit 56606b3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ Now, After install this extension, the new tab will RUNNING IN BACKGROUND

## Changelog

### version 2.1.3
- Add chrome-extension:// to exception list

### version 2.1.2
- Revert to version 2.1.0, that the version **without** moentizus file

Expand Down
2 changes: 1 addition & 1 deletion extension/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "Force Background Tab",
"version": "2.1.2",
"version": "2.1.3",

"description": "Force New Tab Running In Background",
"icons": {
Expand Down
1 change: 1 addition & 0 deletions extension/script/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ var func_fbg = {
return (tab.url.indexOf('chrome:') == 0 ||
tab.url.indexOf('chrome-search:') == 0 ||
tab.url.indexOf('chrome-devtools:') == 0 ||
tab.url.indexOf('chrome-extension:') == 0 ||
tab.url.indexOf('about:') == 0 ||
tab.url.indexOf('sourceid=chrome-instant') > -1);
},
Expand Down

0 comments on commit 56606b3

Please sign in to comment.