User Tools

Site Tools


google_chrome_gestures

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
google_chrome_gestures [2012/05/21 16:59] tkbletscgoogle_chrome_gestures [2020/08/08 10:39] (current) tkbletsc
Line 1: Line 1:
-====== Google Chrome gestures ======+====== CrxGestures ====== 
 +This plugin works well, but you gotta **say no to advanced features** (spy crap). 
  
-The [[https://chrome.google.com/webstore/detail/jpkfjicglakibpenojifdiepckckakgk|Gestures for Chrome]] extension is designed to add mouse gesture support to Google Chrome.  It's not well documented yetbut I put something on the previously blank [[https://bitbucket.org/os0x/chromegestures/wiki/Home|dev wiki]].  I'll replicate that content here so I have it.  By the way, my config is [[http://pastebin.com/0mSaJdv0|here]].+It doesn't sync with chrome settings like it shouldso here are my settings ([[https://pastebin.com/Xu98SkJa|pastebin mirror]]): 
  
 +<code>
 +{
 +  "cfgver": "4.4.4",
 +  "cursor": {
 +    "img": null,
 +    "scale": 1
 +  },
 +  "drag": {
 +    "ddirect": true,
 +    "ddirectcolor": "778899",
 +    "ddirectopa": 0.9,
 +    "dholdkey": "none",
 +    "dragimage": false,
 +    "draginput": false,
 +    "draglink": false,
 +    "dragtext": false,
 +    "dragui": true,
 +    "dstroke": true,
 +    "dstrokecolor": "4E1485",
 +    "dstrokeopa": 0.8,
 +    "dstrokewidth": 5,
 +    "dtooltip": true,
 +    "dtooltipcolor": "120310",
 +    "dtooltipopa": 0.9,
 +    "dtooltipwidth": 18,
 +    "image": [
 +      {
 +        "action": "I_open",
 +        "direct": "L",
 +        "moreDes": "Open image in new tab(New tab & Background)",
 +        "morePinned": "unpinned",
 +        "morePosition": "left",
 +        "moreTarget": "newback"
 +      },
 +      {
 +        "action": "I_open",
 +        "direct": "R",
 +        "moreDes": "Open image in new tab(New tab & Front)",
 +        "morePinned": "unpinned",
 +        "morePosition": "right",
 +        "moreTarget": "newfront"
 +      },
 +      {
 +        "action": "I_save",
 +        "direct": "D"
 +      }
 +    ],
 +    "imgfirst": "none",
 +    "imgfirstcheck": false,
 +    "link": [
 +      {
 +        "action": "L_open",
 +        "direct": "L",
 +        "moreDes": "Open link in new tab(New tab & Background)",
 +        "morePinned": "unpinned",
 +        "morePosition": "left",
 +        "moreTarget": "newback"
 +      },
 +      {
 +        "action": "L_open",
 +        "direct": "R",
 +        "moreDes": "Open link in new tab(New tab & Front)",
 +        "morePinned": "unpinned",
 +        "morePosition": "right",
 +        "moreTarget": "newfront"
 +      },
 +      {
 +        "action": "L_copytext",
 +        "direct": "D"
 +      },
 +      {
 +        "action": "L_copyurl",
 +        "direct": "U"
 +      }
 +    ],
 +    "setdragurl": false,
 +    "text": [
 +      {
 +        "action": "T_search",
 +        "direct": "L",
 +        "moreDes": "Use %name to search \"%s\"(New tab & Background)",
 +        "morePinned": "unpinned",
 +        "morePosition": "left",
 +        "moreTarget": "newback",
 +        "moreTsearch": "sgoogle"
 +      },
 +      {
 +        "action": "T_search",
 +        "direct": "R",
 +        "moreDes": "Use %name to search \"%s\"(New tab & Front)",
 +        "morePinned": "unpinned",
 +        "morePosition": "right",
 +        "moreTarget": "newfront",
 +        "moreTsearch": "sgoogle"
 +      },
 +      {
 +        "action": "T_copytext",
 +        "direct": "D"
 +      }
 +    ]
 +  },
 +  "extid": "jlgkpaicikihijadgifklkbpdajbkhjo",
 +  "gesture": {
 +    "direct": true,
 +    "directcolor": "778899",
 +    "directopa": 0.9,
 +    "gesPos": "cc",
 +    "geskey": "right",
 +    "gesture": [
 +      {
 +        "action": "G_back",
 +        "direct": "L",
 +        "whitelist": []
 +      },
 +      {
 +        "action": "G_go",
 +        "direct": "R",
 +        "whitelist": []
 +      },
 +      {
 +        "action": "G_close",
 +        "direct": "DR",
 +        "moreCloseopts": "close",
 +        "moreClosesel": "chrome",
 +        "moreCloseurl": "chrome://newtab/",
 +        "whitelist": []
 +      },
 +      {
 +        "action": "G_reclosedtab",
 +        "direct": "LU",
 +        "moreDes": "Reopen closed tab",
 +        "morePinned": "unpinned",
 +        "morePosition": "chrome",
 +        "moreTarget": "newfront",
 +        "whitelist": []
 +      },
 +      {
 +        "action": "G_reload",
 +        "direct": "UD",
 +        "whitelist": []
 +      },
 +      {
 +        "action": "G_reloadclear",
 +        "direct": "UDU",
 +        "whitelist": []
 +      },
 +      {
 +        "action": "G_lefttab",
 +        "direct": "UL",
 +        "whitelist": []
 +      },
 +      {
 +        "action": "G_goparent",
 +        "direct": "ULU",
 +        "whitelist": []
 +      },
 +      {
 +        "action": "G_copytab",
 +        "direct": "DUR",
 +        "whitelist": []
 +      },
 +      {
 +        "action": "G_tostop",
 +        "direct": "RLR",
 +        "whitelist": []
 +      },
 +      {
 +        "action": "G_newtab",
 +        "direct": "DU",
 +        "moreDes": "New tab",
 +        "morePinned": "unpinned",
 +        "morePosition": "chrome",
 +        "moreTarget": "newfront",
 +        "whitelist": []
 +      },
 +      {
 +        "action": "G_righttab",
 +        "direct": "UR",
 +        "whitelist": []
 +      }
 +    ],
 +    "gestureui": true,
 +    "gholdkey": "ctrl",
 +    "gholdkeydisable": "alt",
 +    "gholdkeytype": "enable",
 +    "stenable": false,
 +    "stroke": true,
 +    "strokecolor": "4E1485",
 +    "strokeopa": 0.8,
 +    "strokewidth": 5,
 +    "tooltip": true,
 +    "tooltipcolor": "120310",
 +    "tooltipopa": 0.9,
 +    "tooltipwidth": 18
 +  },
 +  "isGesturesOff": false,
 +  "normal": {
 +    "autocancel": false,
 +    "autocancelvalue": 2,
 +    "cancelcontextmenu": true,
 +    "capturetype": "jpeg",
 +    "clickedOptin": true,
 +    "cursorimg": null,
 +    "cursorimgscale": 1,
 +    "dbclicktime": 600,
 +    "drag": true,
 +    "gesture": true,
 +    "hidetrash": false,
 +    "jpegquality": 100,
 +    "lasttab": false,
 +    "minilength": 10,
 +    "newtabposition": "chrome",
 +    "scroll": false,
 +    "scrolleffects": true,
 +    "scrollgesture": false,
 +    "strokegesture": false
 +  },
 +  "optedout": true,
 +  "others": {
 +    "tuilink": false
 +  },
 +  "scroll": {
 +    "scrollaccele": 1,
 +    "scrollspeed": 3,
 +    "smooth": true
 +  },
 +  "scrollgesture": {
 +    "fastSwitch": false,
 +    "reverseFS": false,
 +    "sgsleft": [
 +      {
 +        "action": "G_top"
 +      },
 +      {
 +        "action": "G_bottom"
 +      }
 +    ],
 +    "sgsleftenable": true,
 +    "sgsright": [
 +      {
 +        "action": "G_top"
 +      },
 +      {
 +        "action": "G_bottom"
 +      }
 +    ],
 +    "sgsrightenable": false,
 +    "tablist": true,
 +    "tablistVisual": true,
 +    "tablistkey": "right"
 +  },
 +  "strokegesture": {
 +    "strleft": [
 +      {
 +        "action": "G_none"
 +      },
 +      {
 +        "action": "G_righttab"
 +      }
 +    ],
 +    "strleftenable": true,
 +    "strmiddle": [
 +      {
 +        "action": "G_lefttab"
 +      },
 +      {
 +        "action": "G_righttab"
 +      }
 +    ],
 +    "strmiddleenable": false,
 +    "strpress": "up",
 +    "strright": [
 +      {
 +        "action": "G_lefttab"
 +      },
 +      {
 +        "action": "G_none"
 +      }
 +    ],
 +    "strrightenable": true
 +  },
 +  "sync": true
 +}
 +</code>
 +
 +====== OLD Google Chrome gestures ======
 +
 +The [[https://chrome.google.com/webstore/detail/jpkfjicglakibpenojifdiepckckakgk|Gestures for Chrome]] extension is designed to add mouse gesture support to Google Chrome.  It's not well documented yet, but I put something on the previously blank [[https://bitbucket.org/os0x/chromegestures/wiki/Home|dev wiki]].  I'll replicate that content here so I have it.  By the way, my config is [[http://pastebin.com/CEfWHCP9|here]].
 ===== Adding a custom gesture ===== ===== Adding a custom gesture =====
  
Line 23: Line 312:
 <code=javascript> <code=javascript>
 var factor = Math.sqrt(2); var factor = Math.sqrt(2);
-var grow = function(img){img.width *= factor; img.height *= factor; };+var grow = function(img){x=img.width; y=img.height; img.width = x*factor; img.height = y*factor; };
 var e = arg.event.srcElement; var e = arg.event.srcElement;
 grow(e); grow(e);
google_chrome_gestures.1337644761.txt.gz · Last modified: 2012/05/21 16:59 by tkbletsc

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki