Sign in to follow this  
Followers 0
ZwinnyRolnik

FF browser-dialog

5 posts in this topic

How i can click "ok" or "cancel" in my browser-dialog in FireFox? Please help.

<div onclick="if (confirm('Czy na pewno chcesz założyć ten zestaw przedmiotów? (atak)')) document.location.href='?a=equip&amp;eqset=1';" onmouseout="nd();" onmouseover="return overlib('                   &lt;div style=\'margin: 3px 10px;\'&gt;Legendarna Doskonała Tygrysia Maska&lt;/div&gt;&lt;div style=\'margin: 3px 10px;\'&gt;Legendarna Doskonała Tygrysia Koszulka Odporności&lt;/div&gt;&lt;div style=\'margin: 3px 10px;\'&gt;Dobry Czarny Amulet Celności&lt;/div&gt;&lt;div style=\'margin: 3px 10px;\'&gt;Dobry Czarny Pierścień Siły&lt;/div&gt;&lt;div style=\'margin: 3px 10px;\'&gt;Doskonały Czarny Sygnet&lt;/div&gt;&lt;div style=\'margin: 3px 10px;\'&gt;Legendarne Doskonałe Tygrysie Szorty&lt;/div&gt;&lt;div style=\'margin: 3px 10px;\'&gt;Legendarny Dobry Zwinny Łom Krwiopijcy&lt;/div&gt;         ',WIDTH,300,CAPTION,'atak',CAPTIONFONTCLASS,'action-caption');" style="text-align: center; margin-top: 8px; font-size: 16px; font-weight: bold; color: white;">1</div>

controls doesn't work. i mean "controlsend"

Share this post


Link to post
Share on other sites



Seems like whenever I ask a question about Firefox everyone ignores me. BUT I do have a solution for you. You will need to get ff.au3 and include it in your file and then you can use _FFDialogWait to fix your problem.

If you have anymore questions I'll try and help to the best of my ability.

Share this post


Link to post
Share on other sites

Yes i know about _FFDialogWait but here http://english.documentation.ff-au3.thorsten-willert.de/ff_functions/_FFDialogWait.php

i read:

Remarks

Does not work with dialogs which are directly via onclick opened.

and what's now? :blink:

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Hmm now I'm not sure.

maybe _FFClick(). As I suggested earlier I am still asking questions about ff.au3 too.

Edited by Kaeft

Share this post


Link to post
Share on other sites

hmm it's working, thx for reply

$nrtego2 = _FFXpath("/html/body/div/div/div[6]/div[2]/fieldset/div[2]/div","",9)
_FFClick($nrtego2)
Sleep(1000)
                            
ControlSend("Komunikat ze strony","", "[CLASS:MozillaWindowClass; INSTANCE:1]", "{Enter}")

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0