Legoman Posted April 7, 2023 #1 Posted April 7, 2023 Problem: Banking website insists via javascript code on opening a new browser tab in order to log in. Script is: javascript:opennewwindow(); There is no reason to open a new browser tab to simply log in to web banking on this bank website, so I would like to block the opening of the new tab and force the log-in screen to just load in the current already open tab. Does anyone know of any browser add-ons or tampermonkey scripts that can do this? Browser = Firefox v107.0.1 Website: Hidden Content Give reaction to this post to see the hidden content. Any help offered would be greatly appreciated. I have searched Google of course for the answer, but just get swamped with answers saying my computer is infected with malware and viruses causing the new tabs. I DO NOT have any viruses or malware. This behaviour is forced by the bank website and is intentional.
Administrator Bad Karma Posted April 8, 2023 Administrator #2 Posted April 8, 2023 It's easy if your browser is Firefox or Waterfox. Just add the "Tab Mix Plus" addon and you'll have the feature present in the options. 3
Legoman Posted April 8, 2023 Author #3 Posted April 8, 2023 (edited) Thank you. Tab Mix no longer works in any version of Firefox after v57 and all the recent development builds of the WebExtensions version are reported as corrupt by FF 107 and won't install even manually, but the options for it have shown me where the configuration keys for Friefox are, so hopefully I can play with those a bit and get it to behave the way I want. Edit: browser.link.open_newwindow =1 browser.link.open_newwindow.restriction = 0 Does exactly what I was asking for, but I suspect this might cause other problems with other links, so I've left the first key as the default value 3 and only adjusted the second key to 0 as above. This still allows the website to create a new tab, but at least it's an anchored tab to the browser window like all the others rather than a floating windowed tab, which is the thing I found really annoying. I can live with this minor annoyance because when I'm done, a quick couple of CTRL+W kills the extra created tabs anyway. Thank you for your help. Edited April 8, 2023 by Legoman
Administrator Bad Karma Posted April 9, 2023 Administrator #4 Posted April 9, 2023 22 hours ago, Legoman said: Tab Mix no longer works in any version of Firefox after v57 and all the recent development builds of the WebExtensions version are reported as corrupt by FF 107 and won't install even manually Your info is not accurate my friend. What you state is trying v78 on a modern browser. You took your info from this page : Hidden Content Give reaction to this post to see the hidden content. / What you actually need and is working as I stated and use since at least two years is to find here : Hidden Content Give reaction to this post to see the hidden content. Latest build is 1.00-Pre14 and is full functional. It's also regularly update. 2 1
Legoman Posted April 9, 2023 Author #5 Posted April 9, 2023 and when I drag that (or any of the other pre-beta development builds) xpi into the extension window of Firefox, I get this…
Recommended Posts