joelspadin / classictabs Goto Github PK
View Code? Open in Web Editor NEWOpera 15+ extension to bring back tab behaviors from Opera 12.
License: BSD 2-Clause "Simplified" License
Opera 15+ extension to bring back tab behaviors from Opera 12.
License: BSD 2-Clause "Simplified" License
Is this extension suppose to go to speed dial when the last browsing tab is closed? Is there a way? I use control-w a lot and always end up closing speed dial and closing opera. Then I have to start it again. Advice? Thank you!
I generally find that when I open a new tab from a link I prefer the new tab to be next to the current tab, but when I open a completely new (blank) tab (or the Speed Dial), I would prefer it at the end of my list of tabs.
You currently have config options which reads:
Open Speed Dial next to the active tab, open other tabs at the end
and:
Open all tabs next to the active tab
I'd like this option:
Open Speed Dial at the end, Open all other tabs next to the active tab.
I also usually use the "and place consecutive new tabs in order".
Is this a possible addition?
In the newest version of opera for linux (57.0.3098.76) I do not get back to the last active tab when closing a tab (and I really miss it)
The above function was available in Opera 12. Simply switching back and forth when clicking on active tab. Make it available, please!
Not per se an issue, but a few days ago, Opera started asking me to confirm new permissions in order to update ClassicTabs. These are "Read and change all your data on the websites you visit" and "Modify data you copy and paste".
Would it be possible to explain why these permissions are necessary? Thank you.
A report from the addons site says that, when both boxes are checked in "Focus the new tab, except when holding Ctrl or Shift", Ctrl+Click properly opens a tab in the background, but Ctrl+Shift+Click opens a tab in the foreground.
Blink's dev tools throw a fit when .js.map files are referenced but unavailable. Get rid of the references for release code.
It would be great if You add this feature to your extension, cause it's very annoying to me, when I inadvertently close tab, when I was switching them.
I was always closing tabs by middle mouse button in old opera.
Greetings :)
p.s. sorry for my English but it isn't my native language.
I'm using Classic Tabs 1.6 and since I updated my Opera Dev to 27.0.1689.2 classic tabs does not work properly any more.
The "go to last active tab", closing a tab, is not working. When I close a tab it will select the top right tab and not the last active one.
Running windows 7, Opera Dev 27.0.1689.2 and Classic Tabs 1.6
Some users don't realize they need to open the settings page and configure the extension. I should add some text to the Opera addons page explaining how to change settings, and maybe make the settings page open automatically on the first install.
Please add Linux support (Use in Chrome)
Opera 12 has a feature where you can 'click tab to minimize', which effectively allows you to turn a tab on or off. Essentially, to implement this, you would have to keep track of Z-ordering of tabs and also give each tab an 'on' or 'off' state. I haven't looked at the code for the extension, but I have a rough idea of how this could be implemented. There are two ways, one global and one local. The global way would maintain some kind of ordered list of all tabs, but I think I figured out a different cute way to implement it:
The local way would attach to each tab two variables, one representing the tab immediately behind it and one representing the tab immediately in front of it. Also, you could have a variable representing whether the tab is on or off (this would be implementation-dependent). If a tab is not in the frontmost position, clicking it will set the tab behind it to have its 'tab immediately in front' set to the one in front of the clicked tab and the tab immediately behind the tab in front of the clicked tab would have its tab immediately behind be the tab behind the clicked tab. Then the 'tab in front' of the current active tab will have the 'tab immediately in front' be set to the clicked tab, and the clicked tab will have its 'tab immediately behind' set to the current active tab and have its 'tab immediately in front' be set to some constant.
To implement on/off behavior on tabs, I don't know if you could create a 'hidden tab' that would be set to some constant behind which all tabs could hide, or I guess that something could be done to just send an active tab that is clicked to the 'back of the z-order', but that would be less than optimal, since 'minimizing all active tabs' would actually be a full cycle (the identity cyclic permutation) of the Z-order. Another way to do it would be to attach an on/off property to each tab, and if there is no tab on, to display some hidden fixed tab. I'm not sure about how much flexibility there is in Opera (hidden tabs and stuff), but a basic implementation (the one with the full cycling from 'minimizing' every tab is probably something I could do myself).
I'm not sure how a real programmer would implement Z-ordering for windows or tabs (windows would be harder and this idea would fail for that), but I think this idea might work well for tabs.
Is this caused by an error in the extension, or is Opera just being dumb?
I use ClassicTabs to get tabs opened next to the current tab, and it works;
so suppose I hit ctrl-T to create a new tab, while the current tab is somewhere near the beginning of the tab bar. Visually, what happens is: a new tab is created all the way on the right end of the tab bar; then quickly shuttles leftward until it reaches the intended place.
I can see in the code that you just call chrome.tabs.move(...). You aren't doing that animation, it's a property of Chromium or Opera's tabs.move code. But: maybe there's an option you can pass, or some trick, or some way of telling the browser that I just don't want that animation.
I'm not sure I can even explain why it bothers me. But the bottom line is, I want the illusion that when I create a new tab, it appears, 'poof!', in the desired place.
So if there's any way to finagle that, please do.
Hi,
I use SessionManager to restore my tabs, because Opera doesn't handle that perfectly over the long term.
I had to install Classic Tabs when Opera upgraded in such a way that an unrelated bug manifested. (Search by image would open the results in the first unpinned tab, instead of the next tab. Only fix is to downgrade Opera, but Opera auto-upgrades, thus I installed Classic Tabs to make the image results always be the next tab, like they were in the past.)
So I restored a window with a lot of tabs. Now they are all backwards! Except for the pinned ones. I think SessionManager must restore the tabs in right-to-left order, so that Classic Tabs then re-arranges each one as it appears, resulting in a completely backwards tab restoral!
A simple bugfix would be an option for Classic Tabs to start up disabled. (Tab restoral takes about 20 minutes for me....) A more complex bugfix would be to detect when tabs are being restored by Session Manager.
I am not sure how to work around this.
Sometimes Opera sends out tab created events in a different order on startup and Classic Tabs puts tabs in a different order. This often seems to happen after a browser upgrade. Disabling tab reordering for a moment after startup might fix this.
When i close any tab and activate last tab, the last and penultimate tabs switch places.
And wish. When i press ctrl+shift+T (open last close tab) it place to the end of list, but i wish that it placed to last postiton.
Using Opera 20.0 with Developer Tools open, I always see the following console error when the ClassicTabs extension is enabled:
Denying load of chrome-extension://gbekmpnpfkkijbodegokaigmhedbbkmg/js/include/keys.js.map. Resources must be listed in the web_accessible_resources manifest key in order to be loaded by pages outside the extension.
I don't think it affects anything, but it's distracting when using the console.
If opening a tab from a pinned tab, it is inserted next to the current pinned tab. It would be nice if it would open the new tab adjacent to the last pinned tab, or perhaps add a toggle to skip pinned tabs when inserting.
I'd really like an option for Opera to not change to the new tab when opening a link in a new tab.
Shift + Click opens in same window doesn't work any more.
I've been using this app for years and in the last 2 months it's been giving me problems when trying to open a tab to the front. the app stops working everytime, I already checked the settings and there has been no change. Then I removed it and instllaed it again hoping a new version would have fixed the bug, but the same thing happens again and again. Everytime I have to enable and disable it again, but I'm getting tired. I better uninstall my browser because I'm losing a lot of interest.
When I build and install the Opera version as described in the project readme Opera is displaying an error that seem to occur every second:
webextension-toolbox/client.js:14 (connect)
WebSocket connection to 'ws://127.0.0.1:35729/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
Context: _generated_background_page.html
Opera Version 64.0.3417.47
Firstly, I use your add-on to activate the next tab when closing a tab. Playing around with your add-on for the past day, I have noticed this unusual bug.
My experience:
Opening two links in two new tabs from a single website source will cause the add-on to malfunction.
This is difficult to explain but lets pretend this is my tab bar, I have 4 tabs open:
1.O | 2.N | 3.N | 4.R
O = Original Tab
N = New Tab created from original tab
R = Random Tab
Selecting Tab 2 (N) and closing it, Opera will correctly switch to Tab 3 (N).
When Tab 3 (N) becomes the activate tab and I close it, Opera will incorrectly switch to the previous tab, Tab 1 (O). It should switch to Tab 4 (R) as that's the next tab.
Open this link for a video demonstration:
https://streamable.com/glz08
I then discovered that this behaviour only occurs when the amount of tabs created is an even number. If the amount of tabs created is an odd number, Opera will correctly switch to the next tab.
Open this link for a video demonstration:
https://streamable.com/8tw74
I'm sorry, I didn't find the correct place for this. Please delete this and forgive me if this isn't the right place for it.
I'd like to request two new features, being able to remove the title from the tab (mousing over should still display the title; The tab should be resized to fit just the size of the favicon), and removing the X to close button from tabs (being still able to close them by middle click or right click -> close tab).
You've done a great job. Thanks.
Rewrite most of the extension using https://github.com/webextension-toolbox/webextension-toolbox to support hot reloading and building for browsers other than Opera.
Also restyle everything to better match Opera's new theme.
If I close Opera (v 25.0) and start it up again, ClassicTabs doesn't "Activate the last active tab" when closing a Tab. If I go into the extension manager and disable then enable the extension, then it again works properly. Until I restart the browser...
With "activate the last active tab on close" enabled:
For some reason, this causes the focus to jump to a different tab.
With this extension installed, the standard Opera context menu "Open link in new window" command sometimes opens a new tab instead. The new window opens very briefly, then closes, and the tab appears in the original window. This doesn't happen often or predictably - most of the time, the command opens a new window and the tab stays there.
My options are set to "When opening a tab: Open all tabs at the end of the tab bar", "When closing a tab: Activate the last active tab", and "When opening a link in a new tab: Let the browser decide and Shift+click opens tabs in the same window".
Currently blocked by Opera refusing to let me hook commands to Ctrl+PageUp and Ctrl+PageDown.
Opera 12 has an option, when closing a tab, to activate the first tab opened from the current tab. That's very useful. Any plan to bring that back?
Stack trace:
js/background.js:199 (Object._focus [as callback])
js/background.js:185 (anonymous function)
js/background.js:79 (Object.callback)
Stack trace:
js/background.js:185 (anonymous function)
js/background.js:79 (Object.callback)
In Opera 65 (Stable release) "Shift + Click" always opens link in a new window (default Opera behavior). Even with "Prevent all tabs from opening new windows" enabled.
This is a single most important option for me, and now it's broken.
I tried old version 1.6 and latest 2.0.1 RC - both do not work as intended with Opera 65.
I also checked Opera Developer 66 - still broken.
OS - Windows 7 Pro 64-bit.
Stack trace:
js/background.js:166 (_moveNextToActive)
js/background.js:204 (_moveToOpenerWindow)
js/background.js:147 (Object.callback)
Just noticed that Opera is showing a new version for this extension and to my surprise:
To update the extension "Classic Tabs", you must confirm, due to new permissions:
"
Read and change all your data on the websites you visit
Modify data you copy and paste
Do you want to update?
"
Change data and read/change the clipboard???
What's up with this extension?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.