Code Monkey home page Code Monkey logo

firegestures's People

Contributors

ehsan avatar gomita avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

firegestures's Issues

Right Click unselects text in Photobucket Easy Links

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.

Firefox 5

Any chance to get an update for Firefox 5?

[firefox4] Focus last tab

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.

Scrollwheel click blocked, unwanted selecting

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.

timed osd for recognized gesture

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.

Gesture timeout should not apply to wheel or rocker gestures

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?

[firefox4] Right button gestures do not stop the FF right click menu showing

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.

invalid mousedown state after switching tab with rocker gesture

Step to Reproduce:

  1. Rocker gesture (holding left button + press right button) to switch to the right tab.
  2. Release all buttons.
  3. Ctrl+Shift+Tab to switch to the left tab.
  4. Move the mouse pointer around.

Expected Results:
Text should not be selected.

Actual Results:
Text is selected without holding left button.

Script to undo "remove element in page"

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) {}
}

Problem with rightclicking on flash objects

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.

[Firefox4] invalid mousedown state after moving the mouse pointer outside of the content area (chrome part)

Steps to reproduce:

  • start a gesture
  • move and release the mouse over whatever chrome part of the browser window

Actual result:

  • the gesture script/function doesn't execute
  • there is still a line continuously drew after the cursor (the gesture
    wasn't 'finished')
  • the gesture (not sure what gesture is the result though!) fires at the
    moment the left mouse button is pressed and released

Expected result:

  • not sure what the behavior actually was in Fx3.6, but I would expect the
    gesture to continue as it would whole be drew only in the content area

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.

Drop downs stop working in version 1.6.21

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

Closing tab by gesture and switching to another one fast, will sometimes close both

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.

invalid mousedown state after moving the mouse pointer outside of the window

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:

  • make sure that the Firefox window is not maximized
  • start a gesture
  • move the cursor outside of the Firefox window
  • release the mouse button while the cursor is outside of the Firefox window

Actual result:

  • the gesture script/function doesn't execute
  • there is still a line continuously drawn after the cursor re-enters the Firefox window (the gesture wasn't 'finished')
  • a seemingly random gesture sometimes fires after the mouse button is clicked after the cursor re-enters the window

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).

save image now

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));
}

[Request] Disable firegestures on specific domains

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

Not able to generate popup for favourite url's

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.

Closing duplicated tabs won't remove it from tab bar

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.

The extension works poorly in Firefox Nightly on Ubuntu 12.04

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

diagonal mouse gestures

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

scrolling (LU/LD) and iframes

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.

Rocker (Hold Left, Press Right) w/ Open Link in New Tab (Background Tab)

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.

Can't set up "Previous / Next Page (Auto-Detect Link)"

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.

Select mode activated when closing tab

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.

keydown listener don't work

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

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!

Usability on laptops is hampered because of use of the ALT key

Issue

  1. The only usable mouse button on laptops is the left mouse button.
  2. This usually requires the use of the ALT key to prevent gesture starts.
  3. The use of ALT key is very intrusive on some OS like Windows. It keeps opening up menus etc.

Suggestion

Please provide some alternatives. Maybe SHIFT key.

How to open a Private Window/Tab?

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

Rocker gesture doubleclick bug

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:

  • Open at least 3 tabs
  • Go to the most right one
  • Hold the right mousebutton
  • Doubleclick the left mousebutton

Expected result:
It switches two tabs to the left

Actual result:
It switches one tab to the left

Workaround:

  • Open at least 3 tabs
  • Go to the most righto ne
  • Hold the right mousebutton
  • Click the left mousebutton
  • Wait about half a second
  • Click the left mousebutton

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.

[Firefox4] invalid mousedown state after releasing the mouse button outside of the Firefox window

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.

Open Link in new Tab don't appear as child tab of linking tab (treestyletab)

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!

2 new ideas: learn gesture by itself and show a help center

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

Save Image no longer working

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

Support for Firefox Sync

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.