From 729017fd5f9545812e976688625957725e78b24c Mon Sep 17 00:00:00 2001 From: Achiya Elyasaf <10044875+eggsterino@users.noreply.github.com> Date: Sun, 6 Aug 2023 10:02:16 +0300 Subject: [PATCH] Fixed href links in popup window --- popup/popup.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/popup/popup.js b/popup/popup.js index 292cb69..bb9580c 100644 --- a/popup/popup.js +++ b/popup/popup.js @@ -88,5 +88,10 @@ $(document).ready(async function () { commands.forEach((key) => { $(`#settings-form input[name='text-${key}']:checkbox`).on('change', makeHandleSettingChange(key)) }) + + $('body').on('click', 'a', function(){ + chrome.tabs.create({url: $(this).attr('href')}); + return false; + }); return refreshStorage() })