Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: expose tabs.duplicate and tabs.goBack #720

Closed
visua0 opened this issue Jun 21, 2024 · 1 comment
Closed

Feature Request: expose tabs.duplicate and tabs.goBack #720

visua0 opened this issue Jun 21, 2024 · 1 comment

Comments

@visua0
Copy link

visua0 commented Jun 21, 2024

I'm trying to migrate from Foxy Gestures to Gesturefy because I encountered a page where Gesturefy works better, but I can't replicate one script I was using.
In Foxy Gestures we have full access to browser through executeInBackground(). Of course I'm not asking for all that, I just require tabs.duplicate and tabs.goBack for a niche script I made to essentially open the previous page in a new tab.

The resulting script would look something like this:

API.tabs.query({active: true, currentWindow: true}).then(tabs => {
    API.tabs.duplicate(tabs[0].id).then(dupe => {
        API.tabs.goBack(dupe.id);
    });
});
Robbendebiene added a commit that referenced this issue Aug 3, 2024
tabs.goBack; tabs.goForward; tabs.duplicate
@Robbendebiene
Copy link
Owner

Implemented in Gesturefy version 3.2.13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants