Jump to content

Recommended Posts

Posted (edited)

Hello,

Can I click on this link?  : 

<a onclick="ga('send', 'event', 'Smth1', 'click', 'Smth2', {'nonInteraction': 1});" href="#" title="" data-com-id="3537898" class="like action">666</a>

 

Thx

Edited by Orteedev
Posted

I have a lot of such links on a page which differ only: data-com-id and and i don't have type.

I don't know what to write instead of "button"

 

Local $oButs = _IETagNameGetCollection($oIE, "button")
For $oBut In $oButs
    If StringInStr($oBut.innertext, "Favorite") Then _IEAction($oBut, "click")
Next
Posted

it doesn't work because when i use right mouse button on this it shows smth.html#

<a onclick="ga('send', 'event', 'Smth1', 'click', 'Smth2', {'nonInteraction': 1});" href="#" title="" data-com-id="3537898" class="like action">666</a>

It is next to the button who wants to use, same data-com-id="3537898"

<a onclick="ga('send', 'event', 'smth', 'click', 'Answer', {'nonInteraction': 1});" href="smth.com/xx/x.html#comment-3537898" title="" data-com-id="3537898" class="
                    answer
                    ">
Answer
</a>

when i use _IELinkGetCollection($oIE) found only a link in the lower code "smth.com/xx/x.html#comment-3537898"

 

whats now ?

 

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
×
×
  • Create New...