likesomething_bad

Untitled

Aug 13th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. <div class="js-relap-adfox-anchor"></div>
  2. <script>
  3. (function() {
  4. var w = window;
  5. var d = w.document;
  6. w.relapTasks = w.relapTasks || [];​
  7. w.relapTasks.push(function(api) {
  8. function addWidget() {
  9. var anchorEl = d.qeurySelector('.js-relap-adfox-anchor');
  10. api.addWidget({
  11. cfgId: 'K9QrN_c3DxvhmoqK',
  12. anchorEl: anchorEl,
  13. events: {
  14. onNoContent: function(obj) {
  15. anchorEl.remove();
  16. },
  17. },
  18. });
  19. }
  20. if (api.isReady) return addWidget();
  21. api.init({
  22. token: 'XpjhoIwIIt8iqayp',
  23. })
  24. .then(addWidget);
  25. });
  26. if (!d.querySelector('.relap-runtime-iframe')) {
  27. var s = d.createElement('script');
  28. s.src = 'https://relap.io/v7/relap.js';
  29. d.body.appendChild(s);
  30. }
  31. })();
  32. </script>
Add Comment
Please, Sign In to add comment