There are extensions that allow you to do such things with only a few clicks. They are generally called 'session managers'. The one I like best is Session Buddy. Its an extension for Chrome but, if you install the 'Download Chrome Extension', you can install it in Opera.
Do more on the web, with a fast and secure browser!
Download Opera browser with:
- built-in ad blocker
- battery saver
- free VPN