You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I include oauth2/oauth_inject.js in my manifest as a content script, and have it run at start, any time I try to go to any page using Chrome it redirects to about:blank. I'm not sure what it is I am expected to do.
I followed the tutorial but i have the same problem, the oauth_inject.js redirect to about:blank page, at this line: var redirect = chrome.extension.getURL('oauth2/oauth2.html');
window.location = redirect + params;
my folder path:
my-extension/oauth2/oauth2.html
## UPDATED:
The solution for me:
add in manifest.json the oauth2.html file "web_accessible_resources" : [
"oauth2/oauth2.html"
],
If I include
oauth2/oauth_inject.js
in my manifest as a content script, and have it run at start, any time I try to go to any page using Chrome it redirects toabout:blank
. I'm not sure what it is I am expected to do.Here's a link to my extension: https://github.com/BeagleLab/beagle/tree/feature/143-smus/build
The text was updated successfully, but these errors were encountered: