Skip to content
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

[Enhanced] Execute "javascript:" URLs by injecting them into the page itself. #3437

Merged
merged 3 commits into from
Dec 9, 2019

Conversation

gdh1995
Copy link
Contributor

@gdh1995 gdh1995 commented Nov 25, 2019

This is an enhanced version of #3211, and adds try decodeURI to javascript URLs.

Replaces and fixes #3211.
Replaces and fixes #3209.
Fixes #3178.
Fixes #3246 .

Since `chrome.tabs.update()` no longer supports `javascript:` URLs, here
we inject them into the page itself.

Replaces philc#3167.
Replaces philc#3209.
Fixes philc#3178.
@philc philc merged commit 55232ae into philc:master Dec 9, 2019
@philc
Copy link
Owner

philc commented Dec 9, 2019

Great work @gdh1995. Thank you!

@patkujawa-wf
Copy link

Thanks guys!

@gdh1995 gdh1995 deleted the inject-javascript-urls branch December 9, 2019 17:41
@patkujawa-wf
Copy link

@philc I'm not seeing this release in Chrome (it thinks 1.64.6 is the latest).

@patkujawa-wf
Copy link

patkujawa-wf commented Feb 9, 2020

I see it now - thanks! And it's back to working as it once did; makes me very happy :)

@vtvh
Copy link

vtvh commented Feb 10, 2020

Thanks for the effort, now my engine "Search in current site" is working

cs: javascript:location='http://www.google.com/search?num=100&q=site:'%20+%20escape(location.hostname)%20+%20'%20%S'%20;%20void%200 Current site

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Javascript bookmarks not working anymore
5 participants