-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
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
'Run JavaScript' does not work on some sites #621
Comments
Same on mail.google.com |
Duplicate of #599 |
Too bad |
This symptom has not been resolved in the latest version of Shortkeys, 4.1.3. Currently it also occurs on youtube.com. TrustedScript will not work without modifying the way the script is injected.
document.addEventListener("shortkeys_js_run", (function(e) {
let t = document.createElement("script");
t.textContent = e.detail,
document.body.appendChild(t),
document.body.removeChild(t)
}
)); |
@oniatsu Works on the latest commit. |
@hababr Thank you! However, I would install the latest version from the Chrome Web Store if possible. |
The Web Store hasn't been updated yet because the PR that fixed it (thanks to @tjhorner) mentioned
I was hoping to fix that so that the upgrade itself would add missing IDs instead of forcing users to do a manual action, before updating the web store. I haven't been able to find time to mess with it, so if anyone wants to PR that, feel free! Also @hababr you mentioned this:
Any chance you could PR that fix? |
@crittermike Will do. |
@crittermike Created - PR |
Thanks @hababr! Really appreciate it. I'll ship a webstore release as soon as I'm able to do a bit more testing. In the meantime, if anyone else is available to take a swing at testing and report any issues you find, please have at it. |
Upcoming release is posted here for anyone who has capacity to test before I publish to the webstore. |
I can confirm that it fixed the issue in chrome |
mail.google.com:
linkedin.com:
The text was updated successfully, but these errors were encountered: