···4848 }
4949 });
5050 } else {
5151- // If the user hasn't accepted the privacy consent, show the consent page again
5252- tabs.create({ url: "privacy_consent.html" });
5151+ // Send a message to the background script to show the consent page
5252+ browser.runtime.sendMessage({ type: 'SHOW_CONSENT' });
5353 }
5454}
5555