Hack Forums
[.NET] Adf.ly click,failing to make any click <.< - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] Adf.ly click,failing to make any click <.< (/showthread.php?tid=4731501)



Adf.ly click,failing to make any click <.< - Ammar_HF - Mar 15, 2015

I fail to make any adf.ly click this is what it says:
The document contains no data.
then i changed something inside the custom mozilla and it still wont work automized I also tryed with java script like:
Code
FasterBrowser1.Navigate("javascript:void( document.getElementById( 'skip_button' ).click() )")

but fail

Also it is possible to check their adf.ly security scripts :D

P.S. I don't use IE I use Gecko(Skybound.Gecko)


* - Ninja - Mar 15, 2015

FasterBrowser1.document.getelementbyid("skip_button").Invokemember("click")


* - Moen - Mar 15, 2015

Try changing the id to skip_ad_button


* - Ammar_HF - Mar 15, 2015

(Mar 15, 2015 06:12 AM)Tyranitar Wrote:  FasterBrowser1.document.getelementbyid("skip_button").Invokemember("click")
That's the error from it

Error 3 'Invokemember' is not a member of 'Skybound.Gecko.GeckoElement'. D:\folder\Form1.vb 15 13 Projectname


(Mar 15, 2015 06:14 AM)Moen Wrote:  Try changing the id to skip_ad_button

I tried ,but failed :/
Even that doesn't help((and I think that's the id for the picture only))


* - BottomNotch - Mar 15, 2015

(Mar 15, 2015 06:16 AM)Ammar_HF Wrote:  That's the error from it

Error 3 'Invokemember' is not a member of 'Skybound.Gecko.GeckoElement'. D:\folder\Form1.vb 15 13 Projectname



I tried ,but failed :/
Even that doesn't help((and I think that's the id for the picture only))

Is fasterbrowser a 3rd party browser? Or did you rename it from Webbrowser1
I know for certain that Invokemember is a member of Webbrowser1

that code should work

Edit

You should probably switch to IE


* - Corneliuss - Mar 15, 2015

(Mar 15, 2015 06:38 AM)BottomNotch Wrote:  Is fasterbrowser a 3rd party browser? Or did you rename it from Webbrowser1
I know for certain that Invokemember is a member of Webbrowser1

that code should work

It's that Gecko browser as you can see in the error.


* - Ninja - Mar 15, 2015

The ID is "skip_ad_button", so the ID is not the only problem.
I suggest you use the built in IE browser as it is more reliable and works just fine.


* - fillobotto - Mar 15, 2015

When will you give it up? It's the third thread you open about a thing you'll never succeed into.


* - Ammar_HF - Mar 15, 2015

(Mar 15, 2015 10:39 AM)fillobotto Wrote:  When will you give it up? It's the third thread you open about a thing you'll never succeed into.

Bro the more you say so,the more I will work this! ✌
I won't use IE,it gets detected,so I will stay on this and I'll think a way out to make it succeed Inshallah
🤝

The id is skip_button,for the picture is skip_ad_button
I'm almost done with my project all is set,just trying to set up that click,anything is possible :)

I'm not using IE,I'm using Gecko(Mozilla Firefox)


* - BottomNotch - Mar 15, 2015

(Mar 15, 2015 11:06 AM)Ammar_HF Wrote:  Bro the more you say so,the more I will work this! ✌
I won't use IE,it gets detected,so I will stay on this and I'll think a way out to make it succeed Inshallah
🤝

The id is skip_button,for the picture is skip_ad_button
I'm almost done with my project all is set,just trying to set up that click,anything is possible :)

I'm not using IE,I'm using Gecko(Mozilla Firefox)

PHP Code

<?php 
geckowebbrowser
.Navigate("javascript:void( document.getElementById( 'idname' ).click() ) ") 

Found that from Google, looks promising


* - Ammar_HF - Mar 16, 2015

(Mar 15, 2015 12:17 PM)BottomNotch Wrote:  
PHP Code

<?php 
geckowebbrowser
.Navigate("javascript:void( document.getElementById( 'idname' ).click() ) ") 

Found that from Google, looks promising

Java script doesn't work on that browser :/,I tried to activate it but failed,but!

Here is the solution :D

Code
FasterBrowser1.Document.GetElementById("skip_button").Focus()
      SendKeys.Send("{ENTER}")

I feeeeeell soooooo HAPPY :D

P.S. There is no way to put java script on,I want to make java script on to make my adf.ly bot more undetected :D
That's my next problem XD


(Mar 15, 2015 10:39 AM)fillobotto Wrote:  When will you give it up? It's the third thread you open about a thing you'll never succeed into.
😠

In your face! 🤗
🎉