Advertisement
Guest User

pony -> nazi script

a guest
Jun 29th, 2013
1,659
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.99 KB | None | 0 0
  1. // ==UserScript==
  2. // @name No more pony
  3. // @namespace nomorepony.js
  4. // @match http://*/*
  5. // @version 2
  6. // ==/UserScript==
  7. // ==UserScript==
  8. // @name No more Nazi
  9. // @namespace nomoreNazi.js
  10.  
  11.  
  12. (function() {
  13. var replacements, regex, key, textnodes, node, s;
  14.  
  15. replacements = {
  16.  
  17. "my little pony" : "The Third Reich",
  18. "mylittle pony" : "The Third Reich",
  19. "my littlepony" : "The Third Reich",
  20. "mylittlepony" : "The Third Reich",
  21. "mlp" : "The Nazi Party",
  22. "friendship is magic": "Arbeit Macht Frei",
  23. "la magia de la amistad": "Arbeit Macht Frei",
  24. "my little pony: friendship is magic": "The Third Reich: Arbeit Macht Frei",
  25. "love and tolerate" : "Ethic Cleanse",
  26. "ponyville" : "Berlin",
  27. "pony hater": "Jew",
  28. "ponyhater": "Jew",
  29. "pony" : "Nazi",
  30. "ponies" : "Nazis",
  31. "brony" : "SS Officer",
  32. "bronies" : "SS Officers",
  33. "equestrian": "Nazi-era German",
  34. "equestria": "Nazi-Controlled Germany",
  35. "cutie mark": "Swastika",
  36. "fim": "NSDAP",
  37. "brohoof": "Nazi salute",
  38. "cutiemarkcrusader": "Hitler Youth",
  39. "cutiemark crusader": "Hitler Youth",
  40. "cutie markcrusader": "Hitler Youth",
  41. "rainbow dash": "Heinrich Himmler",
  42. "rainbow_dash": "Heinrich_Himmler",
  43. "rainbowdash": "Heinrich Himmler",
  44. "applejack": "Joseph Goebbels",
  45. "apple jack": "Joseph Goebbels",
  46. "pinkie pie": "Otto Günsche",
  47. "pinkie_pie": "Otto_Günsche",
  48. "pinkiepie": "Otto Günsche",
  49. "fluttershy": "Adolf Eichmann",
  50. "flutter shy": "Adolf Eichmann",
  51. "twilight sparkle": "Joseph Mengele",
  52. "twilight_sparkle": "Joseph_Mengele",
  53. "twilightsparkle": "Joseph Mengele",
  54. "applebloom": "Hans Krebs",
  55. "apple bloom": "Hans Krebs",
  56. "apple_bloom": "Hans_Krebs",
  57. "scootaloo": "Werner Haase",
  58. "sweetie belle": "Heinrich Müller",
  59. "sweetie_belle": "Heinrich_Müller",
  60. "sweetiebelle": "Heinrich Müller",
  61. "babsseed": "Wilhelm Burgdorf",
  62. "babs seed": "Wilhelm Burgdorf",
  63. "babs_seed": "Wilhelm_Burgdorf",
  64. "princess celestia": "Hermann Fegelein",
  65. "princess_celestia": "Hermann_Fegelein",
  66. "princesscelestia": "Hermann Fegelein",
  67. "celestia": "Fegelein",
  68. "derpy hooves": "Josef Kramer",
  69. "derpy": "Josef Kramer",
  70. "princess luna": "Albert Göring",
  71. "princess_luna": "Albert Göring",
  72. "derpyhooves": "Josef Kramer",
  73. "derpy_hooves": "Josef_Kramer",
  74. "derpy": "Josef Kramer",
  75. "vinyl scratch": "Werner Haase",
  76. "vinyl_scratch": "Werner_Haase",
  77. "vinylscratch": "Werner Haase",
  78. "DJ PON-3": "Werner Haase",
  79. "DJ_PON-3": "Werner_Haase",
  80. "doctor hooves": "Günther Schenck",
  81. "doctor whooves": "Günther Schenck",
  82. "doctor_hooves": "Günther_Schenck",
  83. "doctor_whooves": "Günther_Schenck",
  84. "doctorhooves": "Günther Schenck",
  85. "doctorwhooves":"Günther Schenck",
  86. "bigmacintosh": "Heinz Hitler",
  87. "bigmac": "Heinz Hitler",
  88. "big macintosh": "Heinz Hitler",
  89. "zecora": "Martin Bormann",
  90. "cheerilee": "Julius Streicher",
  91. "foal free press": "Der Stürmer",
  92. "nightmaremoon": "Anne Frank",
  93. "nightmare moon": "Anne Frank",
  94. "nightmare_moon": "Anne_Frank",
  95. "chrysalis": "Joseph Stalin",
  96. "queen chrysalis": "Joseph Stalin",
  97. "lauren faust": "Adolf Hitler",
  98. "laurenfaust": "Adolf Hitler",
  99. "hasbro": "Braunau am Inn",
  100. "mane6": "Reich Computer Entertainment Berlin",
  101. "mane 6": "Reich Computer Entertainment Berlin",
  102. "fighting is magic": "All Stars Bunker Royale",
  103. //"" : "", //use this to make your own
  104.  
  105. //Shit's too common to keep it around, uncomment if you want to take the risk of thinking Traudl Junge beds exist
  106. //"rarity": "Hermann Göring",
  107. //"luna": "Albert Göring",
  108. //"big mac": "Heinz Hitler",
  109. //"mac": "Heinz Hitler",
  110. //"faust": "Hitler",
  111. //"spike": "Traudl Junge",
  112.  
  113.  
  114. };
  115.  
  116. regex = {};
  117. for (key in replacements) {
  118. regex[key] = new RegExp(key, 'ig');
  119. }
  120.  
  121. textnodes = document.evaluate( "//body//text()", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  122.  
  123. for (var i = 0; i < textnodes.snapshotLength; i++) {
  124. node = textnodes.snapshotItem(i);
  125. s = node.data;
  126. for (key in replacements) {
  127. s = s.replace(regex[key], replacements[key]);
  128. }
  129. node.data = s;
  130. }
  131.  
  132. })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement