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 febbc71 commit 9130c28Copy full SHA for 9130c28
js/background.js
@@ -18,12 +18,14 @@ chrome.webNavigation.onHistoryStateUpdated.addListener(function(details) {
18
}
19
});
20
21
+// Set function to trigger on page action click
22
chrome.pageAction.onClicked.addListener(function(tab) {
23
chrome.tabs.executeScript(null, {
24
code: 'toggleLayout()'
25
26
27
28
+// Enable page action trigger on Trello board pages only
29
chrome.runtime.onInstalled.addListener(function(details) {
30
chrome.declarativeContent.onPageChanged.removeRules(undefined, function() {
31
chrome.declarativeContent.onPageChanged.addRules([{
0 commit comments