StrokesPlus Forum
                       
StrokesPlus Forum
Home | Profile | Register | Active Topics
Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Lua Scripts
 General Action Scripts
 two scripts of firegestures on firefox 30
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

firefox

3 Posts

Posted - 07/07/2014 :  10:27:58  Show Profile  Reply with Quote
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

Posted - 07/08/2014 :  01:22:15  Show Profile  Reply with Quote
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.
Go to Top of Page

firefox

3 Posts

Posted - 07/08/2014 :  02:09:00  Show Profile  Reply with Quote
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!
Go to Top of Page

Udon

Japan
4 Posts

Posted - 07/08/2014 :  04:18:37  Show Profile  Reply with Quote
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.
Go to Top of Page

firefox

3 Posts

Posted - 07/08/2014 :  06:36:08  Show Profile  Reply with Quote
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!
Go to Top of Page

iyhk

8 Posts

Posted - 07/12/2014 :  21:59:24  Show Profile  Reply with Quote
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.

Go to Top of Page

Alex22

Ukraine
19 Posts

Posted - 09/28/2014 :  08:57:35  Show Profile  Reply with Quote
Try NextPlease https://addons.mozilla.org/ru/firefox/addon/nextplease/?src=external-Add-ons_Manager_Context_Menu-extension for next/prev page and so on. Then emulate hotkey stroking wiht S+
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
StrokesPlus Forum © 2011-2018 Rob Yapchanyk Go To Top Of Page
Snitz Forums 2000