Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Scripting Firefox
#1
i already ask this in the mozilla extension development forum,
but maybe you have also an idea.

i want to check on mouse X2 if there is something to navigate forward
if not then my script has to check if there a next button on the page exists
(or in a forum 1 2 3 etc)

do you know if it is possible to send javascript from qm to ff and retreive results ?
i know about how to write the javascript functions for firefox ...

thanks
pi
#2
Don't know.
#3
I have a similar plan. I use the #<1,2,3 (mouse left then right) and #>1,2,3 (vice versa) to navigate firefox. I find myself sometimes sweeping my mouse but not backing up, only to find out the link had opened a new tab. It'd be nice if there was nothing to back up to, then go back to the previous tab. Did you figure out how to determine if back/forward navi is possible? Thanks.
Matt B
#4
Maybe this can be used.

Code:
Copy      Help
Acc a=acc("Back" "PUSHBUTTON" win("" "MozillaUIWindowClass") "MozillaUIWindowClass" "" 0x1001)
if(a.State&STATE_SYSTEM_UNAVAILABLE)
,out "disabled"
#5
Code:
Copy      Help
STATE_SYSTEM_UNAVAILABLE
this was new to me.
thanks !
pi
#6
Oh, good grief! That's it!
Matt B


Forum Jump:


Users browsing this thread: 1 Guest(s)