Welcome guest, is this your first visit? Create Account now to join.
Page 2 of 9 FirstFirst 1234 ... LastLast
Results 11 to 20 of 88

This is a discussion on ChromeGestures beta 0.1 within the Chrome Plugins section, part of the Google Chrome category: Hi, my first post here, great extension we have here, tnx! I'd like to suggest something, and it's that the ...


  1. #11
    fructal is offline Junior Member
    Join Date
    Jun 2009
    Posts
    4

    Default

    Hi,

    my first post here, great extension we have here, tnx!

    I'd like to suggest something, and it's that the default gestures should be the same as in Opera (I think firegestures for Firefox uses same mappings as Opera), so the people can effortlessly continue using them in Chrome. For example,
    your
    Create a new tab [DOWN, RIGHT]
    Close current tab [DOWN, LEFT]

    in Opera would be
    Create a new tab [DOWN]
    Close current tab [DOWN, RIGHT]

    and that's the first thing I did last evening after installing your extension. Here you can see complete Opera mappings
    http://www.opera.com/browser/tutorials/gestures/

    One more thing, can the gesture for creating new tab be (and how?) set to open default Chrome new tab (ie. the one with most speed dial with most visited pages) instead of opening about:blank?

    Cheers and thanks for your hard work.

    BTW, yeah, colour trail would be awesome.

  2. #12
    Kyrax is offline Senior Member
    Join Date
    Apr 2009
    Location
    Qc, Canada
    Posts
    495

    Default

    Welcome to Chromeplugins ! Thanks for the comments !

    The default gestures I included with the extension were my personal preferences. In a way, they force you to edit the gestures and are a sort of introduction to the customization capabilities of the extension.

    I tried to have the default new tab open when creating a new window. The problem is that you can only reference subdomains of the current tab in window.open() so you can't access chrome://newtab/
    This will be fixed when access to the Chrome API is available.

    Color trail should be available sometimes next week. No promises though

  3. #13
    hatbout is offline Junior Member
    Join Date
    Jun 2009
    Posts
    2

    Default

    The close tab also not works here. I figure you may refer to Marble's script (Mouse Gesture UserScript )for modification since that script works here:
    if(event.clientY-25>posy) //down + right: close
    {
    window.open('', '_self', ''); //bug fix
    window.close();
    }



    Quote Originally Posted by Kyrax View Post
    Hey everyone ! Here is ChromeGestures beta 0.1 !

    Features :
    • Execute Chrome commands using a simple gesture
    • Easily create your own gestures
    • Endless custom command possibilities by using Javascript


    On the default config, you can use the following actions :

    Create a new tab [DOWN, RIGHT]
    Close current tab [DOWN, LEFT]
    Back button [LEFT]
    Next button [RIGHT]

    Feel free to customize those.

    In order to customize the gestures and create your own, go to
    ...\Chrome\User Data\Default\Extensions\cigjdpglbacblgokjombkbbdfpkkedde\0.1

    Open ChromeGestures.js with your favorite text editor
    Follow the instructions there.


    Download it here.

    Please give me feedback !
    Report any issues here.
    Keep in mind that it's a beta.

    Known Issues :
    Chrome's window.close() does not seem to work all the time. For my next release, I'm going to work on a way to communicate with Chrome's API. It will provide a much more reliable way to open and close tabs as well as a whole lot of other things !

    Enjoy !

  4. #14
    Waha's Avatar
    Waha is offline Senior Member
    Join Date
    Apr 2009
    Location
    Oregon
    Posts
    788

    Default

    Quote Originally Posted by Kyrax View Post
    Welcome to Chromeplugins ! Thanks for the comments !

    The default gestures I included with the extension were my personal preferences. In a way, they force you to edit the gestures and are a sort of introduction to the customization capabilities of the extension.

    I tried to have the default new tab open when creating a new window. The problem is that you can only reference subdomains of the current tab in window.open() so you can't access chrome://newtab/
    This will be fixed when access to the Chrome API is available.

    Color trail should be available sometimes next week. No promises though
    The tabs API is implemented, you can open a new tab with:
    Code:
    var myTabID = null,expected = false;
    chrome.windows.getCurrent(function(focusedWindow){
    	var blah = new Object();
    	blah.url = "chrome://newtab/";
    	blah.windowId = focusedWindow;
    	blah.selected = false; //Set this to true if you want it to be automatically in focus
    	expected = true;
    	chrome.tabs.create(blah);
    });
    chrome.tabs.onCreated.addListener(function(tab){
    	if(expected){ //Rudimentary checks to see if it was YOUR tab that was created.
    	if(tab.url == "chrome://newtab/"){
    		myTabID = tab.id;
    		expected = false;
    	}}
    });
    From a toolstrip or background page.
    Not entirely sure this works with "chrome://" URLs per-say, but I imagine it would.
    Also the listening for a new tab is only relevant if you wanna modify it later.
    Last edited by Waha; 06-28-2009 at 08:38 PM.
    ~ Projects ~
    Specialized: Carapass Auction Watcher, Kongregate Chat
    Libraries: bliplib
    Tools: manifest syntax highlighting & snippits
    ~ Happy to make extensions for pay too ;D ~
    Portfolio: Search and Share

  5. #15
    Kyrax is offline Senior Member
    Join Date
    Apr 2009
    Location
    Qc, Canada
    Posts
    495

    Default

    @Waha

    What I meant to say is that opening a new tab will be much simpler once ChromeGestures has support for Chrome API (which it does not right now)..

    I'm already aware that Chrome's tab API already exists

  6. #16
    Waha's Avatar
    Waha is offline Senior Member
    Join Date
    Apr 2009
    Location
    Oregon
    Posts
    788

    Default

    Quote Originally Posted by Kyrax View Post
    @Waha

    What I meant to say is that opening a new tab will be much simpler once ChromeGestures has support for Chrome API (which it does not right now)..

    I'm already aware that Chrome's tab API already exists
    Oh okay. ^^;
    ~ Projects ~
    Specialized: Carapass Auction Watcher, Kongregate Chat
    Libraries: bliplib
    Tools: manifest syntax highlighting & snippits
    ~ Happy to make extensions for pay too ;D ~
    Portfolio: Search and Share

  7. #17
    Waha's Avatar
    Waha is offline Senior Member
    Join Date
    Apr 2009
    Location
    Oregon
    Posts
    788

    Default

    By persistant request from Steve, ;P I've modified this to add double-click to hide page functionality.
    Of course, as it is a gesture, you have to hold down right-click while you do it.
    Here's the js file: http://logicplace.com/pc/projects/ch...omeGestures.js
    ~ Projects ~
    Specialized: Carapass Auction Watcher, Kongregate Chat
    Libraries: bliplib
    Tools: manifest syntax highlighting & snippits
    ~ Happy to make extensions for pay too ;D ~
    Portfolio: Search and Share

  8. #18
    Kyrax is offline Senior Member
    Join Date
    Apr 2009
    Location
    Qc, Canada
    Posts
    495

    Default

    Thanks Waha !

    I think we should start an open source project. I can't be the project owner as I'm extremely busy these days..

    If anyone wants to volunteer, we could have a single chrome gesture project instead of all the little projects going on everywhere working toward a similar goal.

  9. #19
    Waha's Avatar
    Waha is offline Senior Member
    Join Date
    Apr 2009
    Location
    Oregon
    Posts
    788

    Default

    I seem to recall you saying you made some advancements to the chrome gestures script, perhaps you can upload those and someone can polish it off. :]
    ~ Projects ~
    Specialized: Carapass Auction Watcher, Kongregate Chat
    Libraries: bliplib
    Tools: manifest syntax highlighting & snippits
    ~ Happy to make extensions for pay too ;D ~
    Portfolio: Search and Share

  10. #20
    StevePaul's Avatar
    StevePaul is offline Senior Member
    Join Date
    Mar 2009
    Location
    Birmingham, England
    Posts
    1,522

    Default

    @Waha

    Thanks loads for this, I'll go to bed a happy man now ;-)

    Everything worked OK apart from Facebook, hides it OK but won't reinstate it ...
    Last edited by StevePaul; 07-12-2009 at 01:11 AM.

Page 2 of 9 FirstFirst 1234 ... LastLast

Similar Threads

  1. Chrome Officially Out of Beta
    By Chrome in forum Chrome Talk
    Replies: 1
    Last Post: 12-16-2008, 05:39 PM
  2. Chrome To Come Out Of Beta
    By Chrome in forum Chrome Talk
    Replies: 0
    Last Post: 12-10-2008, 12:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •