Advertisement
Guest User

Untitled

a guest
May 19th, 2019
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. <script>(function() {
  2. var url = new URL(window.location.href);
  3. var pci = url.searchParams.get('cnv_id');
  4. var ppi = url.searchParams.get('placementid');
  5. var tag = document.createElement('script');
  6. tag.type = 'text/javascript';
  7. tag.setAttribute('async', 'true');
  8. tag.dataset['sdk'] = 'sdk';
  9. tag.src = '//pushanert.com/ntfc.php?p=2459807&ucis=true&m=https&nbinp=true' + '&var='+ ppi + '&ymid=' + pci;
  10. tag.onload = () => {
  11. sdk.onBeforePermissionPrompt(function() { });
  12. sdk.onPermissionDefault(function() { window.location.href = '' });
  13. sdk.onPermissionAllowed(function() { window.location.href = ''; });
  14. sdk.onPermissionDenied(function() { window.location.href = '' });
  15. sdk.onAlreadySubscribed(function() { console.info("subscribed"); window.location = ''; });
  16. };
  17. document.head.appendChild(tag);
  18. })();</script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement