Ctrl + Left Click deactive
Hey... When I click (CTRL+LEFT CLICK) a link, it opens it in a new tab, it is in same way with most browsers. But I am using firefox and I want to deactive this. when I click ctrl + link, i don't want that link to open in new tab. I downloaded Customizable Shortcut extension but I couldn't find CTRL+LEFT click. Please helpme.. thanks in advance
تمام جوابات (11)
Hmmm, I think both Customizable Shortcuts and keyconfig are for pure keyboard shortcuts, and can't help with the mouse.
Do you want the link to open in the current tab? Some users have found a way to do this with the Tab Mix Plus extension. I haven't tried this myself, but it appears you can set Ctrl+click and middle-click to open in the same tab.
I just want to deactive it, I can change CTRL+Left Click to like random things I don't use. I don't use this command but when I use CTRL with other things, clicking on left click is an issue for me. So I just want to deactive it, or change it to something I don't use. Something like CTRL SHIFT Q etc.
I checked Tab Mix Plus, even though I do it like "Do Nothing" when clicked with CTRL, it doesn't seem to be any effective...
Hi sef108, the "Do Nothing" option you found for Ctrl+click is not related to links. There may be a way to "throw away" Ctrl+click when it occurs on a link so the link is not activated (either in a new tab or in the same tab). I'll have to think about it.
I guess it only does it if I click on the page, I don't click on the page at the up, I click in a link and it opens in a new tab, I don't want this LINK to open in new tab x(
Did the option I mentioned help? Screen shot attached.
No, it doesn't work for me somehow... I did this and it still opens in a new tab x(
I'm curious if there is any specific reason that you want to deactivate Ctrl + left-click in case there is another solution or workaround possible.
Well I play a game and I do open several links and I spam "CTRL + TAB and LEFT CLICK to a link afterwards. When I do it real quick, sometimes I click "CTRL TAB + CTRL LEFT CLICK" and if I deactive it, I'll keep pressing CTRL when I use TAB and Left Click. Sorry for bad English :/
It isn't solved yet...
Hi sef108, what do you think about using a Greasemonkey (or Scriptish) userscript? This little script will block Ctrl+click on all sites (the link gets a bright yellow background when you Ctrl+click it but there's no navigation).
// ==UserScript== // @name Ignore Ctrl+Click // @namespace YourNameHere // @include * // @grant none // ==/UserScript== function discardCtrlClick(e){ if (!e.ctrlKey) return; if (e.target.nodeName != "A") return; e.target.style.backgroundColor = "#ff0"; e.preventDefault(); return false; } document.body.addEventListener("click", discardCtrlClick, true);
Hi sef108, maybe this one is more useful, it stops the Ctrl+click and replaces it with a regular click. If the link has a target="_blank" you'll get a new tab or window (depending on how you've set that preference), so it doesn't guarantee the link will load in the same tab.
// ==UserScript== // @name Replace Ctrl+click with click // @namespace YourNameHere // @include * // @grant none // ==/UserScript== function clickWithoutCtrl(e){ if (!e.ctrlKey) return; if (e.target.nodeName != "A") return; e.preventDefault(); e.target.click(); } document.body.addEventListener("click", clickWithoutCtrl, true);