Author |
Topic |
|
firefox
3 Posts |
Posted - 07/07/2014 : 10:27:58
|
Hello, I used to have firegestures installed on my browser and with two scripts of it,go to next page or previous page.
next page: content.window.wrappedJSObject.superPrefetcher.go(); previous page: content.window.wrappedJSObject.superPrefetcher.back();
http://userscripts.org:8080/scripts/show/85345 This is the javascript.
And I don't know how to adapt them for lua.
Thanks a lot! |
Edited by - firefox on 07/08/2014 01:53:15 |
|
iyhk
8 Posts |
|
firefox
3 Posts |
Posted - 07/08/2014 : 02:09:00
|
quote: Originally posted by iyhk
try to use this firefox addon, key-config https://addons.mozilla.org/en-US/firefox/addon/key-config/?src=search use strokesPlus to input shortcut key and use this addon to active the script.
Perhaps this addon cannot solve my problem. This addon helps to go to next or previous page according to browsering history,not page 1.2.3.4 and so on.And the javascript can do it. thanks anyway for your reply! |
|
|
Udon
Japan
4 Posts |
Posted - 07/08/2014 : 04:18:37
|
Key config. That reminded me of another old add-on "keyconfig". keyconfig 20110522: http://forums.mozillazine.org/viewtopic.php?t=72994
This is really very old. And the name is very similar to the one iyhk mentioned, but the functionality is better. You can assign a shortcut key to JavaScript code. |
|
|
firefox
3 Posts |
Posted - 07/08/2014 : 06:36:08
|
quote: Originally posted by Udon
Key config. That reminded me of another old add-on "keyconfig". keyconfig 20110522: http://forums.mozillazine.org/viewtopic.php?t=72994
This is really very old. And the name is very similar to the one iyhk mentioned, but the functionality is better. You can assign a shortcut key to JavaScript code.
sorry,but I stil don't know howto.XD I give up that javascript finally. Thank you so much for your reply! |
|
|
iyhk
8 Posts |
Posted - 07/12/2014 : 21:59:24
|
you can try to use a function of strokesplus, acRelayGesture(). This function would: Replays the last gesture sequence so another app can handle the gesture. This only applies for configurations where a mouse button is the stroke button; no modifiers are relayed. so, you could use this function use some gesture with strokesplus, some gesture with firegesture in firefox.
|
|
|
Alex22
Ukraine
19 Posts |
|
|
Topic |
|