You know that: You go to a web gallery for example and open new images. You try the back button and nothing happens. Then you notice that the image opened in a new tab. So you close it to get back.
Well this was something I hated because I had to think whether I opened something in new tab or not. So I begged Opera developers to create better back button that would close the new window if there was no step back possible. Well Opera still has not the "Smart Back".
But fortunately Opera is pretty customizable and allows you to bind custom commands to keyboard shortcuts and mouse gestures and even create custom buttons. So I created one that doesn't work perfectly, but it's closer to the "Smart Back" button that the default one.
The behaviour can be emulated by this command "Back | Close page & Switch to previous page". You can assign it to the left mouse gesture, to ctrl+left keyborad stortcut or to any other. I have created the "Smart Back" button for you. Just click the following link and add the button to the toolbar.
And here is how to setup Opera's mouse gestures and keyboard shortcuts:
First, check the "Open new tab next to active" check box:
Then go to shortcuts category and choose "Edit" for both mouse gestures and keyboard shortcuts:
Add "Back | Close page & Switch to previous page" to column actions instead of "Back" to GestureLeft:
Replace all keyborad shortcuts previously contaning "Back" with "Back | Close page & Switch to previous page":



