The My Opera forums have been replaced with forums.opera.com. Please head over there to discuss Opera's products and features
See the new ForumsYou need to be logged in to post in the forums. If you do not have an account, please sign up first.
Use the following action code.
javascript:var p=document.domain.split('.');window.location.href='http://www.'+p[1]+'.'+p[2];
it works flawlessly! thanks!
how do I assign this to a keyboard key? Go to "javascript:var p=document.domain.split('.');window.location.href='http://www.%27+p[1]+%27.%27+p[2];" ?
how do I assign this to a keyboard key? Go to "javascript:var p=document.domain.split('.');window.location.href='http://www.%27+p[1]+%27.%27+p[2];" ?
Opera 11 on WinXP Pro SP3 • AMD hexacore 3.2Ghz with 4Gb RAM
@epilos: Preferences (Ctrl + F12) -> Advanced -> Shortcuts -> Keyboard Setup -> Edit -> Select 'Document Window' -> Click on New -> Type your preferred key combination in the left column and in the right column, paste @Tamil's code as:
I would like to add that going to the root domain will require more complicated code as some domains can be aa.bb.cc.domain.co.uk, but the above code will work on many popular websites.
Go to page, "javascript:var p=document.domain.split('.');window.location.href='http://www.'+p[1]+'.'+p[2];"
I would like to add that going to the root domain will require more complicated code as some domains can be aa.bb.cc.domain.co.uk, but the above code will work on many popular websites.