gomita / firegestures Goto Github PK
View Code? Open in Web Editor NEWFireGestures, a Firefox extension.
Home Page: http://www.xuldev.org/firegestures/
License: Other
FireGestures, a Firefox extension.
Home Page: http://www.xuldev.org/firegestures/
License: Other
Under windows with FireFox (19.0.2)
Create a free account on PhotoBucket.com
In user settings under Albums check "Enable easy linking mode"
Upload an image. View the album in which you uploaded the image. Click on an "easy link" below the thumbnail of your image and select the text. Right click to bring up the context options menu. Text (link) is deselected. Popup menu options "Cut","Copy","Paste" and "Delete" are greyed out. Choosing "Select all" selects all the html text on the page, not the link where the I-beam cursor is located.
Any chance to get an update for Firefox 5?
I would like to write a script that resizes my firefox window with a gesture. The size will be determined from the start and end points of the gesture, but I don't know how to access these with the current API.
Since upgrading to firefox 4, the Focus Last Tab script no longer works. Presumably one of the APIs has changed, but I don't know how to fix it.
When using scrollwheel as gesture trigger, firegestures consumes its default functionality - "fast scrolling" after click doesn't work :(
Also I have "D" gesture set up for closing tabs and when I use it, it marks all text on the page in tab which gets focus.
firegestures is my first entry into gestures-based browsing world. initial thought is it'd be nice if FG displayed for 1-2 seconds a half-transparent OSD style icon / label somewhere that would show or confirm what gesture was recognized and executed.
edit: ahh i'm now noticing the notification label in the lower left part for gesture drawing. i think it should be more prominent and OSDish still though.
The gesture timeout should only apply to mouse gestures and not wheel or rocker gestures. It doesn't serve a purpose for wheel or rocker gestures and is actually hindering its use. Many people use wheel gestures to go to the next/previous tab or image/text zooming. We should be able to continuously perform this function without getting interrupted and timing out and then having to release the button and repeating.
I personally use wheel gestures for next/previous tab and find it's natural to keep the right mouse button held down as I'm changing tabs so I can take some time to browse the page. Having a timeout is annoying because I will usually take over a second to browse the page and the timeout always kicks in. I don't want to increase the timeout to anything more than 1 second because that will take too long to timeout mouse gestures.
Same problem with rocker gestures. I use page up/page down for rocker gestures. I keep the button held down as I rock but I need time to read or look at the page and it typically times out.
Can something be done about this? Maybe add an option for timeout to not apply to the gestures in Advanced settings?
FG response slow at some sites, like GitHut, open an issue to gather bug about it for later test.
https://github.com/TTimo/doom3.gpl/blob/master/neo/game/Game_local.cpp#L2157
Bug 708594 โ Slow right-click response with add-on Firegesture
https://bugzilla.mozilla.org/show_bug.cgi?id=708594
Step to reproduce:
Expected Result:
File picker will be open and we can save 'firegestures-*.xpi' file.
Actual Result:
Nothing happened.
NS_ERROR_FILE_UNRECOGNIZED_PATH exception in error console.
System:
Linux
Firefox 4.0
firegestures 1.6.4
I had a previous version of firegestures installed on this version of FF, and it seemed to work fine, but after updating (unfortunately I'm not sure from which version, but I think it was 1.6.3), pressing the right mouse button to start a gesture also pops up the firefox right click menu. I can still make the gesture, and it works, but the menu stays on screen.
The access to the context menu (right-click) is blocked/can't be executed in the latest Firefox version (12).
Disabling the extension makes right-click possible again.
Step to Reproduce:
Expected Results:
Text should not be selected.
Actual Results:
Text is selected without holding left button.
If we are using Tab Mix Plus extension, 'Close Left Tabs' and 'Close Right Tabs' don't work.
The error message is: ReferenceError: aTabsToClose is not defined
The firegestures "Get Scripts" page lists the following script for hiding an element on a page:
var node = FireGestures.sourceNode;
node.parentNode.removeChild(node);
However, there is no script to unhide a removed element. All-in-one Gestures has gestures to both hide and unhide elements, but I haven't been able to replicate the unhide function in firegestures (disclaimer: I am really bad at coding, lol)
Here's the code all-in-one gestures uses to hide & unhide, if that helps:
function aioNukeAnything() {
var node = aioSrcEvent.target;
if (!node) return;
var view = node.ownerDocument.defaultView;
var disp = view.getComputedStyle(node, "").getPropertyValue("display");
node.setAttribute("aioDisp", "display:" + disp + ";");
var style = node.getAttribute("style") || "";
node.setAttribute("style", style + "display:none;");
aioUndoHide.push(node);
}
function aioUndoNukeAnything() {
try {
var node = aioUndoHide.pop();
if (!node || !node.hasAttribute("aioDisp")) return;
var style = node.getAttribute("style") || "";
node.setAttribute("style", style + node.getAttribute("aioDisp"));
}
catch(err) {}
}
When i rightclick on flash movies, I cannot use the rightclick menu properly (flash lags enormously and the click on the menu option isn't registrated). I've checked all Firefox plugins and when I disable FireGestures, my rightclick menu can be used.
Steps to reproduce:
Actual result:
Expected result:
When I do a mouse gesture and it passes somewhere outside the place taken by the website (e.g. I drag a link, which is on top of the page, up in the toolbars to open in a new tab), the gesture only stops when I click and off coarse, I can't generate the right gesture.
In Firefox 3.x, I could just make my gesture over the toolbars or so. As long as I started in the website, it was OK.
Step to reproduce:
In firefox 4b, make a gesture which goes outside the website canvas. release the button.
e.g. right-drag a link to the menu bar
Expected result: drawing the gesture stops and the gesture gets executed
e.g. the link gets opened in a new tab
Actual results: the drawing doesn't stop until you click somewhere else on the website.
e.g. nothing happens when I release, but when I come down again with my mouse, a green line keeps following the mouse until I click.
PS. Sorry for the troubles.
I have just updated to version 1.6.21, and dropdown boxes in the browser no longer work. Disabling the plugin gets the dropdowns to work again.
This is Firefox 19.0.2 on Windows 8
When there are many open tabs and I close one by gesture (Down-Right in my setup) and select another tab from the tabbar rappidly, this will often close both tabs.
This seems to be a timing issue, because I can only reproduce it on one machine but not on two others.
Details:
When I click on the tab I want to select, the tab to the right of the clicked tab gets selected (as it would if I closed the tab I want to select) and the tab I clicked vanishes.
This issue appears to be closely related to issue #1 (#1) but involves moving the cursor outside of the Firefox window, rather than moving the cursor over the window chrome.
Steps to reproduce:
Actual result:
Expected result:
Ideally, the gesture should execute when the mouse button is released based on what gesture was drawn inside the Firefox window.
Additional notes:
I have encountered this bug in Firefox 4 and 5. I haven't tried it in Firefox 3.x. Also, this bug can occur when the Firefox window is maximized if there are multiple monitors (and therefore, there is desktop area that is outside of the Firefox window).
here's a custom script that works better than the default "Save Image Now". The default script often saves the image with the name "download.php" instead of the real image name. This script works in all situations correctly (sorry if this is the wrong place, but I couldn't find a link to send custom scripts to):
var srcNode = FireGestures.sourceNode; // get the link URL inside the node var linkURL = FireGestures.getLinkURL(srcNode); if (srcNode.nodeType == Node.ELEMENT_NODE && srcNode instanceof Components.interfaces.nsIImageLoadingContent && srcNode.currentURI) { var docURL=srcNode.ownerDocument.location.href; var imageURL=srcNode.currentURI.spec; saveImageURL(imageURL, null, "SaveImageTitle", false, true, makeURI(docURL)); }
Hi,
When using the Gmail webclient it would be useful to disable the Firegestures add-on to let the Gmail Labs Gestures function take over. The Google Labs gestures are specifically tuned to meet the webclient needs, whereas the firegestures' gestures are not.
In general a nifty feature would be to the ability to disable Firegestures on domains that can be specified via user-input, e.g. "*.mail.google.com".
Kinds regards,
fvdnabee
While creating popup's in oncommand not able to use gBrowser but able to see the popup list with no action being performed . When i click on google it should be navigated to google but no action is taking place and similarly for youtube. Please help me . The below is the code written by me.
var url1 = "http://www.google.com/";
var url2 = "http://www.youtube.com/";
FireGestures.generatePopup(event,
[
{ label: "google", oncommand: "gBrowser.loadOneTab(url1, null, null, null, true, false);" },
{ label: "youtube", oncommand: "gBrowser.loadOneTab(url2, null, null, null, true, false);" },
]
);
In case gBrowser is not allowed that what should be used.
This sounds like the recurrence of an older bug (the duplicate tab bug from
1.5.4). If a tab is duplicated then the original tab is closed, the tab remains
in the tab bar although it is inaccessible (the next tab is selected and
displayed instead).
I'm using Firefox 4.0b11 on Linux (Arch), although this problem has existed for
the last few betas. This problem does not exist on Mac OS X (with 4.0b11); I
have not tried it in Windows.
Feel free to contact me if this is not clear.
Hi!
I'm running Ubuntu 12.04 64-bit. I have both Firefox Aurora and Firefox Nightly/Trunk installed on my computer. However, Firegestures doesn't work correctly in Firefox Nightly, which is enough of a reason for me to not use it. For an example you can't scroll down and up (LD and LU), but you can switch tabs (UL, UR), so some commands seem to work. I experienced the same thing when I created a new fresh profile (firefox-trunk -p
from the command-line) with only Firegestures installed. Firegestures works in Aurora tho.
Firefox Trunk for Ubuntu can be downloaded from this PPA: https://launchpad.net/~ubuntu-mozilla-daily/+archive/ppa
Firefox Aurora can be found here: https://launchpad.net/~ubuntu-mozilla-daily/+archive/firefox-aurora
When I run the following code on ScratchPad it gives me the correct output (www.domain.com)
var args = 'http://www.domain.com/some/thing/here.html';
var urlpattern = new RegExp("(http|ftp|https)://(.?)/.$");
var parsedurl = args.match(urlpattern);
alert(parsedurl[2]);
When I try to do it on Firegestures... a flashing error says args.match is not a function.
Hello,
this isn't really a problem, but I don't find any other way to request a feature. It would be really great, to include diagonal mouse gestures. Until now I used "mozgestures" because they had this feature, but they dropped the project. I think they are wonderful, because you have so much more possibilities to combine gestures.
greetz
Jonny007
There's a minor problem with the scrolling gestures: when used within a textarea or an iframe, they only affect the element in question rather than the whole page. It's especially annoying with iframes, e.g. sometimes on a page full of blocked ads you have no way of knowing whether a given seemingly empty space is not actually an iframe.
Step to Reproduce:
Actual Results:
Tab B and C are closed.
Expected Results:
Only tab B is closed.
Firefox 4's 'List All Tabs' drop-down menu shows only tabs which belong to the current group.
FireGestures' 'List All Tabs' command should follow this.
When using Inspect Tool (Web Developer > Inspect) including 3D (Tilt), don't start any gestures.
hiho,
as title says, there is no visible mouse trail anymore.
thanks for the fine extension, never had any issues with it!
cheers,
tom
When using this combination:
Rocker (Hold Left, Press Right) w/ Open Link in New Tab (Background Tab)
if you let go of the left button before letting go of the right button not only will the new link open in a background tab, but it will also open in the current foreground tab. Thus two actions are done. It seems independent of the the time between letting go of the left button and letting go of the right.
FireGestures:ClosedTabsPopup stopped working with firefox 9.
using firegestures 1.6.7
Hi. Since there is no built-in 'auto-detect link' functionality in Firefox (as it is in Opera) and your script comes in handy, but I can not set it up properly to make it work.
It just doesn't work for me no matter what I do.
Can you help me set it up? I'm interested in this particular script, since every other script I tried work flawlessly.
Thanks in advance.
On Firefox 4, we cannot close app tabs (pinned tabs) with Ctrl+W.
So, 'Close Tab' command also should not close app tabs.
I have deleted and re-installed 1.6.5 and this problem still persists on FF5.0
Steps to reproduce:
1- open any two sites in two tabs
2- from tab one go to tab two using LeftMouseButton -> RightMouseButton rocker gesture (default action I believe)
3- now on the newly arrived tab use LRL (close tab, also default I think)
Now when I move the mouse, text gets selected as if I'm holding left mouse button.
If a page is zoomed(in or out), then the width of the trail drawn when performing a mouse gesture also changes. It should remain the same.
I want to combine 2 similar feature in same gesture, press a key to switch between them:
var BBcode = false;
function listener(e){
if(e.keyCode == 81){ // press Q switch to feature A, else feature B
BBcode= true;
}
}
document.addEventListener('keydown', listener ,false);
document.removeEventListener('keydown',listener,false);
if ( BBcode ){
// feature A
}
else {
// feature B
}
but it doesn't work, any clue?
Trailing Drawing is not under cursor, it's under somewhere left up relative to the cursor. I am on Firefox 18 on Mac OS X Mountain Lion.
Thanks!
Issue
Suggestion
Please provide some alternatives. Maybe SHIFT key.
The gestures trajectory is not under the mouse
Hi everybody, I noticed that since few updates, the option to open a new Private Window has been removed. Is there any specific reason for that? What should we do now to open a new Private Window with Firegestures?
Moreover, since v20 Firefox also supports Private Tabs (well at least through addons like https://addons.mozilla.org/en-us/firefox/addon/private-tab/). Is there any chance to open a Private Tab with a gesture, maybe interoperating with such addons?
Regards,
Stefano
Go upper level is very very useful to me.
But a little extra would go a long long way for us.
When it gets to say the level http://map.google.com it doesnt go any further. Im sure you would agree that we could go up more levels than that, to http://www.google.com or http://google.com?
Im hope you understand what I mean.
Thank you.
Summary:
When wanting to switch two or more tabs to the left, you would hold the right mousebutton and press the left mousebutton twice. This works if you do it slow enough, but if you do it so fast that it's seen as a doubleclick, it will only switch one tab to the left.
Steps to reproduce:
Expected result:
It switches two tabs to the left
Actual result:
It switches one tab to the left
Workaround:
Expected and actual result:
It switches two tabs to the left
This problem does not occur when switching tabs to the right, so when holding the left mouse button and clicking the right one.
This occurred a) on my laptop when Firefox 4 wasn't maximized and b) on my desktop with a second monitor (to the right of the one with the browser).
If I execute a gesture (e.g., "DR" to close a tab) I have to be pretty careful not to overshoot the boundaries of the browser window or the recognition will stop while the mouse trail is still stuck to the mouse pointer when I move it back inside the browser.
Apparently, bug #1 has dealt with a similar problem, but even updating to 1.6.2 as suggested didn't fix the problem.
Before the move to FF4 I used Mouse Gestures Redox, but that add-on has been discontinued. Maybe looking at their source code will shed some light on how you can get rid of this bug in Fire Gestures.
In case you're using any Java components: The OS is Windows 7 64-bit with all the latest updates for the OS and Java.
Starting on Firefox 20.0 and FireGesture 1.6.22 (TreeStyleTab 0.14.2012122901) the gestures "Open link in new Tab (in background)" (in my case "D") and "Open link in new Tab (in foreground)" ("DU") don't appear as child-tabs in tree-style-tab-sidebar. I couldn't find any other malfunction on child-tabbing, so I guess it might be a FireGesture-bug.
Thanks!
The 2 ideas i issued to another guesture-Addon in last year.on 2010-2-21.
but no one response, or no any comment.
but i think it's really a good ideas to develop the more intelligent automatic guestures for users
hi dev ?
can you make a little update to the new versions on the two new ideas ?
#1. can learn gesture by add-on itself
in learn mode, a firefox user, for example, me, i'll draw and draw again of a special gesture to test a gesture of my own with 10 times(or more, can option),
at same time, the add-on[MozGest] will record my gesture each time and , finally study it to work out a available gesture [e.g. RL3LD] and record it to gesture cache,
and then i will can select an action(command) for this gesture [e.g. open tabs] to bind,
by this way, i can use many gestures of my own and dont need to remember them, because all that are myself own gestures.. later i will can use many my skilled gestures of my own to do different actions
If the add-on[MozGest] itself have this feature, it will be more easily to use. magic.
note, when binding gesture to action, if an exist gesture of one action [e.g. open all in tabs] conflict to this new gesture [e.g. RL3LD, the two gestures both point to a same action], add-on[MozGest] will give out message: the action[e.g. open all in tabs] was binded to RL3LD? now overwrite it ? or two gestures both binded to [e.g. open all in tabs], or store the new gesture for a new action and cancel now?
let more gestures can work to an action.
#2. show a help center ( popup a help menu)
by drawing a help-gesture, for example [a circle gesture], add-on itself will popup a help menu, which list all available gestures with gesture map + gesture text + any details.
here, users can directly click the certain one (command) to do he wants. -- meanwhile, users also can get help that what gesture is this action for next time directly gesture.
a help menu list all gestures:
for example
* Navigation
* Tabbed Browsing
* Window Management
* Zooming, Scrolling
* Open Links
* Message Management
* Miscellaneous
* help
Thank you all.
my old post is here:
http://www.mousegestures.org/forum/viewtopic.php?id=284
Since upgrading to Firefox 18.0.1, the save image gesture no longer works. Downgrading to 17 makes it work again.
The gesture gives the following error: TypeError: aInitiatingDocument is undefined
Now that Firefox 4 has been released, it would be great if Firegestures had build-in support for Firefox sync to synchronize the addon settings across multiple devices. That way the current "save / restore" feature would become obsolete as well.
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.