Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // add jquery
- var dependency = document.createElement('script');
- dependency.setAttribute("src", "https://pastebin.com/raw/9KQBjKUG");
- document.head.appendChild(dependency);
- // add replace
- var replace = document.createElement('script');
- 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; }); }";
- document.head.appendChild(replace);
- window.setTimeout(function() {
- // run replace
- replace();
- }, 200);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement