Ledger Nano X - The secure hardware wallet
SHARE
TWEET

Untitled

a guest Apr 3rd, 2020 152 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <div class="ads_mobile" style="position: fixed; bottom: 0; left: 0; width: 100%; z-index: 9999999; padding-top: 5px; text-align: center;background: #f1f1f1;">
  2.   <span id="close_ads" onclick="document.getElementById('close_ads').parentNode.style.display='none';" style="position: absolute; top: -18px;    right: 0;    background: #000;    border-radius: 100%;    width: 22px;    font-weight: 900; line-height:22px;  color: #fff;">X</span>
  3.     <div id="div-gpt-ad-1529098713573-1" style="margin: 0 auto;">
  4.         <script type="text/javascript">gpt_slots.push({id:"/21717805079/Hardware.com.br-ROS-Top-Leaderboard",size:[320,100],sizeMapping:[[[0,0],[]],[[320,0],[320,100]],[[801,0],[]]],div:"div-gpt-ad-1529098713573-1"})</script>
  5.     </div>
  6.   </div>
  7.  
  8.  
  9.  
  10. <-- Essa TAG só funcionou em conjunto com esse javascript -->
  11.  
  12. <script async="async" type="text/javascript" src="//www.googletagservices.com/tag/js/gpt.js"></script>
  13.  
  14. <script type="text/javascript">
  15.   var gpt_slots = gpt_slots || [];
  16. </script>
  17.  
  18. <script>
  19. let nextSlotId=1;
  20. const adTarget = (slotdef,slotsizes,container,bid) => {
  21.     let slotName = `adslot${nextSlotId++}`;
  22.     let slotDiv = document.createElement('div');
  23.     slotDiv.id = slotName;
  24.     container.appendChild(slotDiv);
  25.     googletag.cmd.push(function() {
  26.      let slot = googletag.defineSlot(slotdef, slotsizes, slotName).addService(googletag.pubads());
  27.      googletag.display(slotName);
  28.      if (typeof(refreshSlot) == 'function' && bid.length) {
  29.     let adUnits = [{code: slotName,mediaTypes: { banner: { sizes: slotsizes } },bids: bid}];
  30.      pbjs.addAdUnits(adUnits);
  31.      refreshSlot(slot);
  32.     } else {
  33.       googletag.pubads().refresh([slot]); }
  34.    });
  35.  }
  36.  const getPBJSBids = (sizes) => {
  37.    let bids = [];
  38.    if (typeof(sizes)=="object") Object.keys(bidders).forEach((key) => bids.push(... getBids(key,sizes)));
  39.    return bids;
  40.  }
  41.  const bidders = {
  42.    criteo: {"global":0,"320x100" : 1361627,"970x250":1361625,"300x250":1361629,"300x600":1395235,"160x600":1395234},
  43.  }
  44.  
  45.  const injectParam = (bidder,placement=1) => {
  46.    if (bidder === "criteo") return {zoneId: placement};
  47.    else return {};
  48.  }
  49.  
  50.  const getBids = (bidderName,sizes) => {
  51.    return (bidders[bidderName].global)? [{bidder:bidderName,params: injectParam(bidderName)}] :
  52.  
  53.    sizes.filter(size => bidders[bidderName][`${size[0]}x${size[1]}`] != null).map((size) => {
  54.      return {bidder:bidderName,params: injectParam(bidderName,bidders[bidderName][`${size[0]}x${size[1]}`])}
  55.    });
  56. }
  57. const loadAd = (slot)  => {
  58.   adTarget(slot.id,slot.size,document.getElementById(slot.div),getPBJSBids(slot.size));
  59. }
  60. </script>
  61. <script type="text/javascript">
  62.     const isnumber = (n) => !isNaN(parseFloat(n)) && isFinite(n);
  63.     var gpt_slots = gpt_slots || [];
  64.     if(gpt_slots.length){
  65.         var googletag = googletag || {};
  66.         googletag.cmd = googletag.cmd || [];
  67.         (function() {
  68.          
  69.  
  70.             if((!googletag.getVersion || !googletag.getVersion()) && document.getElementById){
  71.                for(var i = 0; i < gpt_slots.length; ++i){
  72.                    var div = document.getElementById(gpt_slots[i].div);
  73.                    if(div) div.setAttribute("style", "");
  74.                }
  75.            }            
  76.  
  77.            googletag.cmd.push(function() {
  78.              
  79.  
  80.              googletag.pubads().disableInitialLoad();
  81.              googletag.pubads().collapseEmptyDivs();
  82.              googletag.pubads().enableSingleRequest();
  83.              googletag.pubads().enableAsyncRendering();
  84.              googletag.enableServices();
  85.                googletag.pubads().addEventListener('slotRenderEnded', function(event) {
  86.                  if (event.size!=null){
  87.                  var height = event.size[1];
  88.                  var width = event.size[0];
  89.                  if (isnumber(height) && isnumber(width)){
  90.                   if (width==970 && height==250) {
  91.                    document.getElementById("floatnav").style.top = "250px";
  92.                    document.getElementById("searchBar").style.top = "269px";
  93.                    document.getElementById("headerProxy").style.height = "285px";
  94.                    }
  95.                    else if (width==320 && height==100) {
  96.              let el = document.getElementsByClassName("a_top_container");
  97.                    if (el.length && el[0].clientHeight == 100){
  98.                      document.getElementById("floatnav").style.top = "100px";
  99.                      document.getElementById("searchBar").style.top = "119px";
  100.                      document.getElementById("headerProxy").style.height = "135px";
  101.                    }
  102.                    }
  103.                   }
  104.                  }
  105.                });
  106.                for(var i = 0; i < gpt_slots.length; ++i) loadAd(gpt_slots[i]);
  107.            });
  108.        })();
  109.    }
  110.    
  111. </script>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top