We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ee4120 commit a51cad0Copy full SHA for a51cad0
js/background.js
@@ -1,8 +1,8 @@
1
const boardUrl = 'trello.com/b/';
2
3
-chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, tab) {
+chrome.webNavigation.onHistoryStateUpdated.addListener(function(details) {
4
// Match Trello board pages only
5
- const match = tab.url.includes(boardUrl);
+ const match = details.url.includes(boardUrl);
6
7
// Setup page for layout changes and show page action
8
if (match) {
manifest.json
@@ -16,8 +16,8 @@
16
"permissions": [
17
"*://trello.com/b/*",
18
"declarativeContent",
19
- "tabs",
20
- "storage"
+ "storage",
+ "webNavigation"
21
],
22
"web_accessible_resources": [
23
"css/layout.css"
0 commit comments