manager.js not needed for now

This commit is contained in:
buzzcode2007 2024-03-20 15:19:23 +08:00
parent 09cb36b245
commit 11202ba79f

View file

@ -1,23 +0,0 @@
/* manager.js
Manage the running of the scripts.
*/
/* ```js
chrome.runtime.onInstalled.addListener(function() {
// Request permission for the website.
chrome.permissions.request({
origins: ["https://example.com"]
}, function(granted) {
// If permission was granted, attach the content script to the website.
if (granted) {
chrome.tabs.executeScript({
code: 'console.log("Hello from the content script!");'
});
} else {
// Permission was not granted. Display an error message.
console.error("Error: Permission not granted.");
}
});
});
```*/