Trump translator
How do I make an trump translator?
Go to https://twitter.com/realDonaldTrump and paste the JS into console for a human translation of Donald Trump's twitter commentary.. What is a trump translator? How do you make a trump translator? This script and codes were developed by Rich Williams on 07 December 2022, Wednesday.
Trump translator - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Trump translator</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <!-- Trump -->
<p> For a translation of Donald Trump's literary turdlets:<br />Go to <a href="https://twitter.com/realDonaldTrump">https://twitter.com/realDonaldTrump</a>, open your console and paste in the minified JS code.<br /> <br /> Enjoy
</p> <script src="js/index.js"></script>
</body>
</html>
Trump translator - Script Codes CSS Codes
p { font: 24px/1.5 Verdana; padding: 10px;
}
p a { color: #888; text-decoration: none;
}
Trump translator - Script Codes JS Codes
"use strict";
/*
Put the below code in your console on https://twitter.com/realDonaldTrump to translate his tweets.
!function(t){function e(t){var e=u[t.length];return e&&(t=e[Math.floor(Math.random()*e.length)]),t}for(var r=t(".content .tweet-text"),u={2:["de","te","do","to"],3:["ter","tee","der","too"],4:["trum","parp","toot","teat","teet","terr","derr"],5:["trump","frump"],6:["trumpy"],7:["terumpy","trumpty"],8:["trumpter","teerumpy","trumpedy"],9:["trumperee","trumpeter"],10:["trumpeydoo","trumptrump"],11:["trumpington","trumpytrump"]},o=0,m=r.length;m>o;o++){var n=r[o],p=n.textContent;n.textContent=p.split(" ").map(e).join(" ")}}(document.querySelectorAll.bind(document));
*/
(function ($) { var tweets = $(".content .tweet-text"), responses = { 2: ["de", "te", "do", "to"], 3: ["ter", "tee", "der", "too"], 4: ["trum", "parp", "toot", "teat", "teet", "terr", "derr"], 5: ["trump", "frump"], 6: ["trumpy"], 7: ["terumpy", "trumpty"], 8: ["trumpter", "teerumpy", "trumpedy"], 9: ["trumperee", "trumpeter"], 10: ["trumpeydoo", "trumptrump"], 11: ["trumpington", "trumpytrump"] }; for (var i = 0, len = tweets.length; i < len; i++) { // trump var tweet = tweets[i], text = tweet.textContent; tweet.textContent = text.split(" ").map(replaceTrump).join(" "); } function replaceTrump(word) { var possibles = responses[word.length]; if (possibles) { word = possibles[Math.floor(Math.random() * possibles.length)]; } return word; }
})(document.querySelectorAll.bind(document));
Developer | Rich Williams |
Username | toneworm |
Uploaded | December 07, 2022 |
Rating | 3 |
Size | 3,437 Kb |
Views | 10,120 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Reddit JSON Robin Williams AMA feed | 3,481 Kb |
Text word map generator | 2,264 Kb |
D3 touchstart mousedown test | 1,827 Kb |
Catnip | 2,913 Kb |
Impossible typing test | 3,316 Kb |
D3 animation test | 2,072 Kb |
Weird glowy CSS3 game | 3,684 Kb |
Slidey boxes | 2,302 Kb |
Woll Smoth Tronslotor | 3,740 Kb |
Little box shadow man and sun | 3,085 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Pure CSS Animated Photo Stack | Depthdev | 2,486 Kb |
Foundation 5 Menu - Accessibility | Xporter | 1,999 Kb |
Banner Ad | Raquellorenzana | 4,172 Kb |
Expert Help | SinceSidSlid | 4,064 Kb |
Base-Style | Daniel_gooss | 2,614 Kb |
Basic template | Tomcat | 1,675 Kb |
Resizable SASS Icons | Marianarlt | 7,611 Kb |
Test | Dviate | 2,668 Kb |
Testing Portfolio Page | Sideshowli | 3,395 Kb |
Pomodoro Timer | Sdas13 | 2,900 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!