Comments (9)
I don't believe it is possible to read the browser config settings. It should be easy enough to create a setting for the addon directly for that configuration however.
from duplicate-tab.
Salut!
Is it possible in 2020 to insert it "aftercurrent" while
browser.tabs.insertAfterCurrent=false
browser.tabs.insertRelatedAfterCurrent=false
?
Because duplicate is not "related". It IS the tab :-)
from duplicate-tab.
I don't understand what you mean?
from duplicate-tab.
This should be technically possible because duplicating a tab via an addon follows the addon APIs and there is an option to specify the new position. I'm assuming setting browser.tabs.insertAfterCurrent
to false does not affect how Duplicate Tab positions new tabs currently because otherwise this issue would not have been opened.
from duplicate-tab.
Salut!
1.My browser intentionally opens new tabs (links, bookmarks) at ultimate right. Not aftercurrent.
Thus I have:
browser.tabs.insertAfterCurrent;false
browser.tabs.insertRelatedAfterCurrent;false
2.And on closing tab I don't want jump to OwnerOnClose.
Thus I have:
browser.tabs.selectOwnerOnClose;false
BUT: duplicate is neither "new tab", nor "related tab". It is the tab. Just cloned.
I want duplicate tab to be inserted right after original tab.
Despite settings named, which I have about 15 years that way, and I'm okay with these.
Is it possible?
Thank you!
from duplicate-tab.
browser.tabs.insertRelatedAfterCurrent
is the relevant one here
@dswhite42 despite no change to the addon code it is now respecting this setting on my version of Firefox 78
@exec228 because Firefox is now applying this setting to the duplicated tab, to support every combination there needs to be a three way configurable option
1 - (current behaviour) let the browser choose where the duplicated tab is placed, which follows the browser.tabs.insertRelatedAfterCurrent
setting
2 - override the choice and always put the duplicated tab just after the original
3 - override the choice and always put the duplicated tab at the end
Adding support for 2 and 3 are both definitely possible but will require a bit of work to keep track of the indexes of the tabs
from duplicate-tab.
Understood.
Thank you for reply!
from duplicate-tab.
Just as a disclaimer I currently have no way to test addons on mobile due to the state of Firefox for Android so even if I finish the code for this soon it might be a while before I release to addons.mozilla.org
from duplicate-tab.
This has now been implemented and released on AMO as version 2.2
from duplicate-tab.
Related Issues (20)
- Keyboard shortcuts overhaul plans for 2019 HOT 1
- Feature request HOT 4
- [Feature] Key to duplicate as private HOT 5
- [Feature] Move tab to new window HOT 3
- Firefox 77+ supports setting the `active` property when duplicating the tab HOT 1
- Keyboard shortcut overhaul plans for 2020 HOT 1
- Duplicate Tab no longer working HOT 5
- Feature request: dark mode icon HOT 2
- Manifest version 3 update checklist HOT 3
- Let end user specify keyboard shortcut HOT 12
- YouTube embedded videos not loading on duplicated tab HOT 2
- [Feature] Customize icon HOT 4
- REQ: Idk if anyone sees this anymore, but great addon that is gonna get real useful. One small REQ for convience? I know its a shot in the dark, HOT 4
- unable to reviewe perms HOT 5
- Default shortcut doesn't seem to work on Windows HOT 1
- Duplicate in container tabs HOT 1
- Keyboard shortcuts do not work in Firefox ESR (52.7.4) HOT 2
- Can "Switch focus on duplicate" happen immediately? HOT 1
- [Feature] Duplicate & back? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from duplicate-tab.