CPA active button after visitor finish the offers

bugeast

Junior Member
Joined
Aug 21, 2015
Messages
177
Reaction score
29
hii everyone. I need help and advice from yo
I got a problem to send visitor to download the file after finish the offers from CPAgrip

I have to put this script in head
<script src="https://www.cpagrip.com/script_include.php?id=59120" type="text/javascript"></script>
<script type="text/javascript">if(!lck){top.location = 'http://lokhlp.com/disable_AdBlock.php'; }</script><noscript>Please enable JavaScript to access this page.<meta http-equiv="refresh" content="0;url=http://lokhlp.com/enable_javascript.php" /></noscript>

default to lock button and call offers I use this code
<a href="#" onclick="call_locker()" ><img border="0" src="http://i.imgur.com/fmHNg6j.png" /></a>

so after visitor finish the offers, I want to visitor can click the Button, no call offers popup again, and send them to link download.

is this code can work for it without edit CPAgrip script in HEAD?
<a href="#" onclick="call_locker()" ><http://www.mediafire.com/abcdfghxyz><img border="0" src="http://i.imgur.com/fmHNg6j.png" /></a>
I cant try to test this script because I will get ban if finish the offers by self


Thank you for your advice.
 
there is still no answer for this
 
Hi bugeast, i am a bit confused as to what you want. if you want to unlock the button after a certain event and the onclick attribute is what locks the button you can set the attribute to empty string with .setAttribute('onclick', '') after a certain user action. Please DM me with more specifics if this does not help enough.
 
Hi bugeast, I saw your pm unfortunately I can't send one back yet.

set an ID to your anchor tag like so:

Code:
 [COLOR=#FFFFCC][FONT=Tahoma][I]<a href="#" id="popupcaller" onclick="call_locker()" ><img border="0" src=" /></a>[/I][/FONT][/COLOR]

in your last offers form submit function call this function

Code:
document.getElementById('popupcaller').setAttribute('onclick', '');

Hope this is more clear.
 
Back
Top