Thank you very much.
At the very top of the main document there are several .js included like:
"pollenAdatok.xhtml_files/primefaces.js"
I will try to @include them all.
SEcondly i think i have found out what opens the popup. Sadly there is not
any url or js included.
THis is the button that opens the popup:
<button id="pollen_table:j_idt242" name="pollen_table:j_idt242"
class="ui-button ui-widget ui-state-default ui-corner-all
ui-button-text-only btn"
onclick="PrimeFaces.ab({formId:'pollen_table',source:'pollen_table:j_idt242',process:'pollen_table:j_idt242',update:'pollen_form',oncomplete:function(xhr,
status, args){pollenUrlap.show();}});return false;" type="submit"><span
class="ui-button-text">Új
However there is a primeface.js script amongst the downloaded website files.
And its included at the very top of the document:
"pollenAdatok.xhtml_files/primefaces.js"
I'm going to try to @include this in the GreaseMonkey script for sure.
Maybe it's a dumb attempt, but can not figure out better way for now.
Tei-2 wrote:
>
> If is literally a popup, a new document with his own url, you need to to
> make your script run on that url too. I am not going to swim in the
> infodump you provided to check that.
>
> I can't see your code, but if you are using JQuery, is possible that that
> ":" is making JQuery search something else. I don't even know if ":" is
> valid in a id. If the document is malformed, you will probably need to
> walk the document with childNode ...
>
> On 27 April 2012 11:32, apophissaw <
apoph...@gmail.com> wrote:
>
>>
>> Hello Everybody. So i would like to explain my problem, sorry for
>> english.
>>
>> You can see the main site:
>>
192.168.1.28/oszir-jarvany/faces/halalozas/pollen/PollenAdatok.xhtml.
>> I can edit everything on it. I made a script that can automatically click
>> on
>> button: "Új" ( displayed on picture)
>>
>> So GreaseMonkey works on Main Page.
>> Addational information: button "Új" script:
>> <spanid="pollen_table:buttons"><button id="pollen_table:j_idt242"
>> name="pollen_table:j_idt242" class="ui-button ui-widget ui-state-default
>> ui-corner-all ui-button-text-only btn"
>>
>> onclick="PrimeFaces.ab({formId:'pollen_table',source:'pollen_table:j_idt242',process:'pollen_table:j_idt242',update:'pollen_form',oncomplete:function(xhr,
>> status, args){pollenUrlap.show();}}); return false;" type="submit">
>> class="ui-button-text">Új
View this message in context:
http://old.nabble.com/GreasaMonkey%2C-Specific-problem%2C-Main-site%2C-input-field%2C-auto-fill-tp33758003p33763275.html