Facebook
From Paltry Bird, 3 Years ago, written in JavaScript.
This paste is a reply to pringles_code_scrapper from Mandamin - view diff
Embed
Download Paste or View Raw
Hits: 159
  1. var codes=document.getElementsByTagName("td");
  2. var code=[];
  3. var counter=0;
  4. for (var x=0; x<codes.length; x++){
  5.   if (codes[x].getAttribute("style")=='font-family:Arial,Helvetica,sans-serif;padding-bottom:20px;font-size:20px;line-height:24px;color:#ff0000'){
  6.                 code[counter]=codes[x].innerText;
  7.                 counter+=1;
  8.   }
  9. }
  10. var codesprinter="";
  11. for (var x=0; x<code.length; x++){
  12.   codesprinter+=code[x]+"n";
  13. }
  14. console.log(codesprinter);

Replies to Re: pringles_code_scrapper rss

Title Name Language When
Re: Re: pringles_code_scrapper Wet Wigeon javascript 3 Years ago.