Open Gotolei opened 7 years ago
I'd like to do the same thing. But if I try to simply open a tab for example, even without using the TST api:
browser.tabs.create({
url:"https://example.org"
});
I get "ReferenceError: browser is not defined" in the web console.
There's a similar (unanswered) issue for the Chrome version, https://github.com/mikecrittenden/chrome-shortkeys/issues/64#issue-264312345
PS @Gotolei the scripts in the second link are only for the legacy version of Tree Style Tab. They wouldn't work with the new Web Extensions version. New scripts would have to be made using the new API in the first link.
I'm trying to use this to control the functions of a different webextension, Tree Style Tab, specifically the tab-moving scripts in the second link:
https://github.com/piroor/treestyletab/wiki/API-for-other-addons https://github.com/piroor/treestyletab/wiki/Code-snippets-for-custom-keyboard-shortcuts
Is this sort of thing possible to do currently, or might it be possible in the future?