Last active
June 20, 2020 17:13
-
-
Save KPChakravarthy/6d7377fb4e4b32078d02634414324066 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chrome.tabs.create( | |
{ | |
url: url, | |
}, | |
(tab) => { | |
chrome.tabs.executeScript( | |
tab.id, | |
{ | |
code: `var blobURL = "${blobURL}"; console.log("1:::")`, | |
}, | |
function () { | |
chrome.tabs.executeScript(tab.id, { | |
code: `(${sendFile})();`, | |
}); | |
} | |
); | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment