We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
When I want execute the function with file nothing happen...
Doesn't work;
void main() { print("Hello from the file."); }
void _onClick(chrome.Tab tab) { chrome.InjectDetails inject; inject = new chrome.InjectDetails(); inject.file = "injectedCore/main.dart.js"; chrome.tabs.executeScript(inject, tab.id); }
"permissions": [ "tabs" ], "web_accessible_resources": [ "driveCore/*" ],
It works:
void _onClick(chrome.Tab tab) { chrome.InjectDetails inject; inject = new chrome.InjectDetails(); inject.code = 'console.log("Hello from code")'; chrome.tabs.executeScript(inject, tab.id); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
When I want execute the function with file nothing happen...
Doesn't work;
It works:
The text was updated successfully, but these errors were encountered: