Comments (2)
You can just invoke the built in commands directly, because they are in-scope of user scripts. The only thing to be aware of is that commands are split into two groups. The user script is running in the unprivileged "content" side in which all commands from "content/commands.js" are in scope. To use commands which require access to privileged APIs such as those in "background/commands.js", do so like the following example:
executeInBackground((data) => {
commandSaveMediaAs(data);
}, [ data ]);
from foxygestures.
Ah, thanks. This should work.
from foxygestures.
Related Issues (20)
- Open Link in New Foreground Tab Scrolls Origination Page to Top HOT 3
- not working on dl.dropboxusercontent.com HOT 1
- Save Image As... in all major gesture addons is broken for instagram urls HOT 3
- Odd behavior on Twitch pages
- Max zoom level of Firefox not honored by foxygestures' zoom function HOT 1
- Not working on a specific page HOT 5
- Undo Close Tab undoes closed window HOT 2
- Doesn't work with `application/xhtml+xml` HOT 2
- Breaks Microsoft Word Online (Firefox 96.0.2 on Windows 10) HOT 3
- Cannot open right click menu when foxy gestures is enabled after updating to latest Firefox (97.0.1) HOT 1
- breaks whatsonchain.com
- Feature Request: Open Image in New Tab HOT 1
- User script and mozilla.cfg HOT 3
- Closing tab with gesture crashes Firefox 104.0
- FireFox - Add Preferences to the context menu
- _
- [Feature Request] A way to filter assigned gestures in the options
- Mouse gesture will stop functioning when opening new tab in upcoming Firefox. HOT 4
- does this still work on latest build? HOT 2
- tabHide permission
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 foxygestures.