Sign up | Lost password? | Help

[ advanced search ]

Ctrl click link in background in Opera, plus all target blank links in background.

Forums » Opera Community » General Opera topics » User JavaScript

Sunday, 7. October 2007, 23:09:46

shoust

Operaised

avatar

Posts: 3013

United Kingdom

Ctrl click link in background in Opera, plus all target blank links in background.

A script to allow ctrl clicking a link to open in background tab in opera(Uses middle mouse link settings (shift and middle click)). Plus all links pointing to a new tab opens the tab in background instead, pretty simple script. And doesn't use window.focus or window.blur so no flashing.

To set ctrl to only open all links clicked in background, set ctrlonly variable to true.

For those without a mouse button or just want quicker access to middle mouse button settings, use this button below.

button

Enjoy.

allinbackground.js

Saturday, 1. August 2009, 15:15:36

aparente001

avatar

Posts: 83

Thank you, thank you, thank you.

This should be publicized more.

Friday, 14. August 2009, 11:12:06

Tommy27

avatar

Posts: 269

i agree. this JS is very useful

Wednesday, 9. September 2009, 16:07:04

hihitavec

avatar

Posts: 2

I tryed this JS, but it is not working for me. When I press ctrl + clik to link it opens in new tab, but not as a background tab. What is wrong?

Wednesday, 9. September 2009, 18:07:48

larskl

~ moderator ~

avatar

Posts: 18724

Germany

Originally posted by hihitavec:

What is wrong?


your middle mouseclick settings in Prefs > Advanced > shortcuts

Forums » Opera Community » General Opera topics » User JavaScript