Advertisement
Guest User

Untitled

a guest
Oct 17th, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     // add jquery
  2.     var dependency = document.createElement('script');
  3.     dependency.setAttribute("src", "https://pastebin.com/raw/9KQBjKUG");
  4.     document.head.appendChild(dependency);
  5.     // add replace
  6.     var replace = document.createElement('script');
  7.     replace.text = "function replace() { $(\".attachments li a\").text(function(index, value){ if (value.includes(\"sn74hc151\")) return \"8-1 selectors / multiplexers\"; if (value.includes(\"sn74hc109\")) return \"Flip flops\"; if (value.includes(\"sn74hc04\")) return \"Hex inverters\"; if (value.includes(\"sn74hc32\")) return \"+OR gates\"; if (value.includes(\"sn74hc08\")) return \"+AND gates\"; if (value.includes(\"sn74hc00\")) return \"+NAND gates\"; if (value.includes(\"sn74hc02\")) return \"+NOR gates\"; if (value.includes(\"man71a\")) return \"LED 7-Segment Display\"; if (value.includes(\"LTA-1000HR\")) return \"10 LED Display Set\"; if (value.includes(\"cd74hc4511\")) return \"BCD display\"; if (value.includes(\"cd74hc283\")) return \"4-bit full adder w/ carry\"; if (value.includes(\"sn74hc161\")) return \"4-bit synchronous counters\"; if (value.includes(\"lmc555\")) return \"CMOS Timer\"; return value; }); }";
  8.     document.head.appendChild(replace);
  9.     window.setTimeout(function() {
  10.         // run replace
  11.         replace();
  12.     }, 200);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement