likesomething_bad

Untitled

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