Advertisement
AnonIntelOp

Twitter: tweetstorm intent popup custom JS text scrambler

Jul 27th, 2017
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
jQuery 4.72 KB | None | 0 0
  1. Title: Twitter Intent pop-up Text replacer (custom words dictionary)
  2. DISC: when doing tweet storms or using https://addons.mozilla.org/en-US/firefox/addon/tweet-context/
  3. for a useful alternative way to tweet pages, links or text;
  4. this script replaces common most used words with symbols, letters or numbers.
  5. This is to fight twitters censorship detection for tweetstorms mainly; shadow banning users.
  6. A predefined dictionary is added; customize-able. Useful as alternative for tweeting text, images,, through rightclick Works on URLS containing: https://twitter.com/intent/tweet?text=BLAH
  7.  
  8. 1. Download and install Firefox if you do not have it already
  9. 2. Install the addon - https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/
  10. 3. Add the following code below, from the new tool bar Icon or Addons page
  11. // ----------\/---\/---\/----------
  12.  
  13.  
  14.  
  15. // ==UserScript==
  16. // @nametwitter intent
  17. // @namespace   covertanonymous
  18. // @description twitter intent popupwindow text replace
  19. // @include https://twitter.com/intent/*
  20. // @version 1
  21. // @grant   none
  22. // @require http://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js
  23. // ==/UserScript==
  24.  
  25.  
  26.  
  27. // --- swaps any word with capital letters; to lowercase
  28. var dictionary1= {
  29.     " A":" a",
  30.     " B":" b",
  31.     " C":" c",
  32.     "Climate ":"climate ",
  33.     " D":" d",
  34.     " E":" e",
  35.     " F":" f",
  36.     " G":" g",
  37.     " I":" i",
  38.     " J":" j",
  39.     " K":" k",
  40.     " L":" l",
  41.     " M":" m",
  42.     " N":" n",
  43.     " O":" o",
  44.     " P":" p",
  45.     " R":" r",
  46.     " S":" s",
  47.     " T":" t",
  48.     " U":" u",
  49.     " W":" w",
  50.     " Y":" y",
  51. };
  52.  
  53. jQuery(document).ready(function() {
  54.     setTimeout(function() {
  55. $("#status").each( function(){
  56.     for( var ptrn in dictionary1){
  57.         $(this).text( $(this).text().replace(new RegExp(ptrn ,"g"), dictionary1[ptrn] ) );
  58.     }
  59. });
  60. }, 100);
  61. });
  62. //delay must run faster than the word dictionary
  63.  
  64.  
  65.  
  66. //--- the dictionary of words with custom symbols/letters/numbers
  67. // may replace or add own words
  68. var dictionary= {
  69.     " are ":" αʀɛ ",
  70.     " and ":" & ",
  71.     " about ":" aβ0ut ",
  72.     " all ":" aℓℓ ",
  73.     " at ":" @ ",
  74.     " but ":" buт ",
  75.     " could ":" coµℓd ",
  76.     " can ":" cáи ",
  77.     " day ":" dαy ",
  78.     " do ":" dő ",
  79.     " get ":" ɢéт ",
  80.     " have ":" haƔε ",
  81.     " huge ":" нυɢε ",
  82.     " had ":" Hαd ",
  83.     " has ":" んαś ",
  84.     " from ":" ƒɾ0ṃ ",
  85.     " for ":" főʀ ",
  86.     " free ":" fʀεε ",
  87.     " into ":" iηtσ ",
  88.     " info ":" iηf0 ",
  89.     " in ":" íท ",
  90.     " is ":" íś ",
  91.     " what ":" ωhαt ",
  92.     " how ":" հσw ",
  93.     " make ":" мakε ",
  94.     " more ":" мoʀε ",
  95.     " now ":" nσw ",
  96.     " no ":" ησ ",
  97.     " out ":" σμt ",
  98.     " our ":" σʋʀ ",
  99.     " of ":" őƒ ",
  100.     " or ":" σʀ ",
  101.     " it ":" íт ",
  102.     " open ":" őpεи ",
  103.     " on ":" σn ",
  104.     " only ":" őиℓy ",
  105.     " plan ":" קℓαภ ",
  106.     " know ":" kn0w ",
  107.     " to ":" тσ ",
  108.     " you ":" yőμ ",
  109.     " went ":" ω3nτ ",
  110.     " the ":" τhé ",
  111.     " take ":" тακε",
  112.     " they ":" théy ",
  113.     " that ":" thαт ",
  114.     " two ":" тѡő ",
  115.     " which ":" wh!ch ",
  116.     " why ":" ωհý ",
  117.     " we ":" ωε ",
  118.     " when ":" whén ",
  119.     " with ":" w!th ",
  120.     " work ":" wσɾk ",
  121.     " this ":" th!ś ",
  122.     " use ":" υśє ",
  123.     " your ":" ÿőυɾ ",
  124.     " way ":" ωáý ",
  125.     "climate change":"#climatechange",
  126.    
  127.     " digital ":" #digital ",
  128.     " protest ":" pr0t3st ",
  129.     " talk ":" t@lk ",
  130.     "breaking":"br3ak!ng",
  131.     " climate change":" #climatechange",
  132.     " galaxy ":" #galaxy ",
  133.     " just ":" ju$t ",
  134.     " told ":" t0/d ",
  135.     " trump ":" #trump ",
  136.     " russia ":" #russia ",
  137.     " russian ":" #russian #russia ",
  138.     " california ":" #California ",
  139.     " wildfires ":" #wildfires ",
  140.     "net neutrality":"#netneutrality",
  141.     " internet":" #internet",
  142.     " aCLU ":" #ACLU ",
  143.     " scientists":" #scientists",
  144.     " shadowban ":" #shadowban ",
  145.     " shadowbaned":" #shadowbaned",
  146.     " fCC":" #FCC",
  147.     "- YouTube":"-",
  148.      
  149. };
  150.  
  151.  
  152. jQuery(document).ready(function() {
  153.     setTimeout(function() {
  154. $("#status").each( function(){
  155.     for( var ptrn in dictionary){
  156.         $(this).text( $(this).text().replace(new RegExp(ptrn ,"g"), dictionary[ptrn] ) );
  157.     }
  158. });
  159. }, 500);
  160. });
  161. // delay must run slower than capital replacer
  162.  
  163.  
  164.  
  165. // --- adds a random number to end of post
  166. $(document).ready(function() {
  167. var minNumber = 100;
  168. var maxNumber = 999;
  169. $(function() {
  170. $("#status").append(" " + randomNumber(minNumber, maxNumber) + " " + randomNumber(minNumber, maxNumber));
  171. });
  172. function randomNumber(min, max) {
  173. var number = (Math.floor(Math.random() * (max - min + 1) + min));
  174. return number;
  175. }
  176. });
  177.  
  178. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement