mirror of
https://github.com/tubearchivist/browser-extension.git
synced 2024-11-26 05:30:15 +00:00
fix browserType for chrome
This commit is contained in:
parent
a18f4aa3aa
commit
9f91991432
@ -117,7 +117,7 @@ async function downloadLink(toDownload) {
|
|||||||
|
|
||||||
|
|
||||||
// event listener for messages from script.js and popup.js
|
// event listener for messages from script.js and popup.js
|
||||||
browser.runtime.onMessage.addListener(
|
browserType.runtime.onMessage.addListener(
|
||||||
(data, sender) => {
|
(data, sender) => {
|
||||||
console.log("message background.js listener: " + JSON.stringify(data))
|
console.log("message background.js listener: " + JSON.stringify(data))
|
||||||
if (data.verify === true) {
|
if (data.verify === true) {
|
||||||
|
Loading…
Reference in New Issue
Block a user