kill3rbko 12 Posted June 3, 2017 Report Share Posted June 3, 2017 Hello, Im struggling on clicking or naigate link (ad) on a web page.Even after the manual click i get a popop open to view the ad but it suddenly close.Ive tried the function allow(popop) and allow(javascript) without success. I have scraped the links to click with scrapeattribute and get links like this : <a href="#" onclick="crea_openptc('http://mysite.fr/ptc_clic.php?adid=648855415&action=start','PaidtoClickPage','640','480');window.location.href=window.location.href;"><img src="http://www.regie-business.com/images/banniere.png" border="0"></a> Is there any way to click it? Thanks in idvance and sorry for the bad english... Quote Link to post Share on other sites
pash 504 Posted June 4, 2017 Report Share Posted June 4, 2017 try load html("<a href=\"#\" onclick=\"crea_openptc(\'http://mysite.fr/ptc_clic.php?adid=648855415&action=start\',\'PaidtoClickPage\',\'640\',\'480\');window.location.href=window.location.href;\"><img src=\"http://www.regie-business.com/images/banniere.png\" border=\"0\"></a>") set(#Url,$replace regular expression($find regular expression($scrape attribute(<(tagname="a" AND onclick=w"crea_openptc*")>,"onclick"),"(?<=\').*?(?=\')"),"\\n.*",""),"Global") navigate(#Url,"Wait") Quote Link to post Share on other sites
kill3rbko 12 Posted June 5, 2017 Author Report Share Posted June 5, 2017 Thank you for the help Pash.When ive tried the load html, ive got in url adress : asset://assets/ and a page with some text like : http://i.imgur.com/CSAMk4R.pngThen navigate function run (i can see the url in bar adress) and close imediately to the home page.and the ad can not be viewed! Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.