Update background.js
This commit is contained in:
parent
458ec6f1eb
commit
2f4bbe53d1
|
|
@ -8,7 +8,9 @@ chrome.runtime.onInstalled.addListener(function () {
|
||||||
targetUrlPatterns: [
|
targetUrlPatterns: [
|
||||||
'https://www.youtube.com/*',
|
'https://www.youtube.com/*',
|
||||||
'https://m.youtube.com/*',
|
'https://m.youtube.com/*',
|
||||||
'https://youtu.be/*'
|
'https://youtu.be/*',
|
||||||
|
'https://pornhub.com/*',
|
||||||
|
'https://xhamster.com/*'
|
||||||
],
|
],
|
||||||
contexts: ['link'],
|
contexts: ['link'],
|
||||||
});
|
});
|
||||||
|
|
@ -70,4 +72,4 @@ function openTab(url, currentTab) {
|
||||||
chrome.tabs.create({url: url, index: currentTab.index + 1});
|
chrome.tabs.create({url: url, index: currentTab.index + 1});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue