morat wrote:@kramb21
Try this:
@Elaphe666Code: Select all
gBrowser.selectedTab = gBrowser.addTab("https://www.google.de/");
Try this:
Similar post: http://forums.mozillazine.org/viewtopic ... 3#p9739973Code: Select all
if (XULBrowserWindow.overLink) { Components.classes["@mozilla.org/widget/clipboardhelper;1"]. getService(Components.interfaces.nsIClipboardHelper). copyString(XULBrowserWindow.overLink); }
Thank you. I have been able to make it work (I had to tick the global option). However, when I assign it to Ctrl C, the normal behaviour of this hotkey (copying text to the clipboard, for instance) no longer works. Is there any way to have both functions working at the same time (normal Ctrl C behaviour and the copy url hovering a url special function)?