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

javascript doesn't work on vimium://urls #1300

Open
Galliver7 opened this issue Jan 13, 2025 · 0 comments
Open

javascript doesn't work on vimium://urls #1300

Galliver7 opened this issue Jan 13, 2025 · 0 comments

Comments

@Galliver7
Copy link

Describe the bug

javascript had been ignore when it launch by vimium://urls via Custom search engines.

To Reproduce

  1. Go to Vimium C options > Custom Search Engines
  2. Add following search engines:
g: https://www.google.com/search?q=%s Google
dd: https://duckduckgo.com/?q=%s&t=h_ DuckDuckGo
# make new page with title which you defined.
newpage: javascript:(function(){\
var\ newWindow=window.open();\
var\ title='%S';\
var\ content='<html><head><title>'+title+'</title></head><body><h1>'+title+'</h1></body></html>';\
newWindow.document.write(content);\
newWindow.document.close();\
})(); new page with title

tests: vimium://urls/g|dd|newpage:%S for test
  1. Use the custom search engine, then newpage will ignore.

Browser, OS and Vimium C versions

  • Browser name: firefox
  • Browser version: 133.0.3 (aarch64)
  • Vimium C version: 1.99.997
  • OS name and version: Mac OS

I love this extention btw❤️
Thank you!

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

No branches or pull requests

1 participant