Advertisement
clickio

Don't show banner when screen width some pixels

Mar 15th, 2021 (edited)
656
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (function(w){
  2.     let adUnits = [
  3.         '_651241'
  4.     ];
  5.     if(w.screen.width < 1500)
  6.     {
  7.         try {
  8.             Array.from(adUnits).forEach(function(adUnit) {
  9.                 delete w.__lxGr__[adUnit];
  10.             });
  11.         } catch (e) {}
  12.     }
  13. })(window);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement