Is there any Extension for Copying Unicode URL as it is?
Hi, thank you for your time
- What I am trying to do
Copy Unicode URL like > https://www.google.com/search?gl=us&hl=en&gws_rd=cr&q=日本語 of current webpage
- Issue
Press Ctrl+L(Focusing on Address Bar), and Ctrl+C afterward, I get Unicode URL like > %E3%82%B9%E3%
- My solution(for now)
Go to, 「about:config」 and set 「browser.urlbar.decodeURLsOnCopy」 to 「True」
- Further Issue
Would like to copy current URL without using the Address Bar(as it might be edited) using some extension. In Chromium, there is 「Copy Unicode URLs」 > https://chrome.google.com/webstore/detail/copy-unicode-urls/fnbbfiapefhkicjhecnoepbijhanpkjp?hl=en where you can, copy URL as it is, using a shortcut
I wonder if there are any counterpart extension? the 「Quick Copy URL」 > https://addons.mozilla.org/en-US/firefox/addon/quick-copy-url/ Can copy with shortcut, but turn it into > %E3%82%B9%E3%
- Thank you so much for your time
所有回覆 (2)
You can possibly use a JavaScript bookmarklet to get the URL of the current tab (invoke the bokmarklet) or the URL of a currently focused link (Alt click the link and invoke the bookmarklet).
javascript:void(prompt('URL',decodeURIComponent((d=document.activeElement)&&d.href?d.href:location.href)));
You can create a new bookmark on the Bookmarks Toolbar and paste the JavaScript code in its Location field.
cor-el said
You can possibly use a JavaScript bookmarklet to get the URL of the current tab (invoke the bokmarklet) or the URL of a currently focused link (Alt click the link and invoke the bookmarklet).javascript:void(prompt('URL',decodeURIComponent((d=document.activeElement)&&d.href?d.href:location.href)));
You can create a new bookmark on the Bookmarks Toolbar and paste the JavaScript code in its Location field.
Hi, sorry for the late reply. - What I did I tried adding to bookmark, and it showed a popup dialogue, with the URL I want. I also bind a shortcut_A to this JavaScript with 「Shortkeys (Custom Keyboard Shortcuts)」 and also works Further I Autohotkey to bind Shortcut_B to trigger Shortcut_A, copy the URL, and cancel the dialogue. Works great, Thank you.
- One more thing I wonder if there are anyway to put the URL straight to Clipboard? I am not familiar at all with JavaScript, wonder if it can manupilate OS Clipboard somehow?
Sorry for being totally ignorant with this. Thank you.
由 nutnutwin 於