From 2f4bbe53d107c09d1a014454a6db2f5699ae643d Mon Sep 17 00:00:00 2001 From: binarygeek119 <72405030+binarygeek119@users.noreply.github.com> Date: Thu, 26 Aug 2021 19:01:54 -0500 Subject: [PATCH] Update background.js --- src/background.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/background.js b/src/background.js index fc43e77..9f07ccd 100644 --- a/src/background.js +++ b/src/background.js @@ -8,7 +8,9 @@ chrome.runtime.onInstalled.addListener(function () { targetUrlPatterns: [ 'https://www.youtube.com/*', 'https://m.youtube.com/*', - 'https://youtu.be/*' + 'https://youtu.be/*', + 'https://pornhub.com/*', + 'https://xhamster.com/*' ], contexts: ['link'], }); @@ -70,4 +72,4 @@ function openTab(url, currentTab) { chrome.tabs.create({url: url, index: currentTab.index + 1}); } }); -} \ No newline at end of file +}