exodus122

Bingosync 3x8 and 8x3 boards (bookmarklets)

Jan 6th, 2022 (edited)
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Bingo board 3 horizontal, 8 vertical:
  2.  
  3. javascript:(()=>{var e=document.getElementById("bingo"),t=e.insertRow(6),n=e.insertRow(7),d=e.insertRow(8),l=e.insertRow(9),o=document.createElement("td");o.innerHTML="ROW6";var m=document.createElement("td");m.innerHTML="ROW7";var p=document.createElement("td");p.innerHTML="ROW8";var i=document.createElement("td");i.innerHTML="ROW9",t.appendChild(o),t.appendChild(document.getElementById("slot4")),t.appendChild(document.getElementById("slot5")),t.appendChild(document.getElementById("slot9")),n.appendChild(m),n.appendChild(document.getElementById("slot10")),n.appendChild(document.getElementById("slot14")),n.appendChild(document.getElementById("slot15")),d.appendChild(p),d.appendChild(document.getElementById("slot19")),d.appendChild(document.getElementById("slot20")),d.appendChild(document.getElementById("slot24")),l.appendChild(i),l.appendChild(document.getElementById("slot25")),document.getElementById("col4").style.display="none",document.getElementById("col5").style.display="none"})();
  4.  
  5.  
  6.  
  7. // Bingo board 8 horizontal, 3 vertical:
  8.  
  9. // first option (look at imgur for the difference)
  10. // https://i.imgur.com/SWG74jC.png
  11.  
  12. javascript:(()=>{var e,t=document.getElementsByTagName("table")[0].rows;(e=document.createElement("td")).innerHTML="COL6",t[0].appendChild(e),(e=document.createElement("td")).innerHTML="COL7",t[0].appendChild(e),(e=document.createElement("td")).innerHTML="COL8",t[0].appendChild(e),(e=document.createElement("td")).innerHTML="COL9",t[0].appendChild(e),t[1].appendChild(document.getElementById("slot15")),t[1].appendChild(document.getElementById("slot16")),t[1].appendChild(document.getElementById("slot17")),t[1].appendChild(document.getElementById("slot18")),t[2].appendChild(document.getElementById("slot19")),t[2].appendChild(document.getElementById("slot20")),t[2].appendChild(document.getElementById("slot21")),t[3].appendChild(document.getElementById("slot22")),t[3].appendChild(document.getElementById("slot23")),t[3].appendChild(document.getElementById("slot24")),t[3].appendChild(document.getElementById("slot25")),document.getElementById("bingo").deleteRow(4),document.getElementById("bingo").deleteRow(4),document.getElementsByClassName("col-md-6")[0].style.width="100%",document.getElementsByClassName("col-md-6")[1].style.clear="both"})();
  13.  
  14. // second option
  15. // https://i.imgur.com/wR330Np.png
  16.  
  17. javascript:(()=>{var e,t=document.getElementsByTagName("table")[0].rows;(e=document.createElement("td")).innerHTML="COL6",t[0].appendChild(e),(e=document.createElement("td")).innerHTML="COL7",t[0].appendChild(e),(e=document.createElement("td")).innerHTML="COL8",t[0].appendChild(e),(e=document.createElement("td")).innerHTML="COL9",t[0].appendChild(e),t[1].appendChild(document.getElementById("slot15")),t[1].appendChild(document.getElementById("slot16")),t[1].appendChild(document.getElementById("slot17")),t[2].appendChild(document.getElementById("slot18")),t[2].appendChild(document.getElementById("slot19")),t[2].appendChild(document.getElementById("slot20")),t[3].appendChild(document.getElementById("slot21")),t[3].appendChild(document.getElementById("slot22")),t[3].appendChild(document.getElementById("slot23")),t[3].appendChild(document.getElementById("slot24")),t[3].appendChild(document.getElementById("slot25")),document.getElementById("bingo").deleteRow(4),document.getElementById("bingo").deleteRow(4),document.getElementsByClassName("col-md-6")[0].style.width="100%",document.getElementsByClassName("col-md-6")[1].style.clear="both"})();
  18.  
Add Comment
Please, Sign In to add comment