Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Title: Twitter Intent pop-up Text replacer (custom words dictionary)
- DISC: when doing tweet storms or using https://addons.mozilla.org/en-US/firefox/addon/tweet-context/
- for a useful alternative way to tweet pages, links or text;
- this script replaces common most used words with symbols, letters or numbers.
- This is to fight twitters censorship detection for tweetstorms mainly; shadow banning users.
- 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
- 1. Download and install Firefox if you do not have it already
- 2. Install the addon - https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/
- 3. Add the following code below, from the new tool bar Icon or Addons page
- // ----------\/---\/---\/----------
- // ==UserScript==
- // @nametwitter intent
- // @namespace covertanonymous
- // @description twitter intent popupwindow text replace
- // @include https://twitter.com/intent/*
- // @version 1
- // @grant none
- // @require http://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js
- // ==/UserScript==
- // --- swaps any word with capital letters; to lowercase
- var dictionary1= {
- " A":" a",
- " B":" b",
- " C":" c",
- "Climate ":"climate ",
- " D":" d",
- " E":" e",
- " F":" f",
- " G":" g",
- " I":" i",
- " J":" j",
- " K":" k",
- " L":" l",
- " M":" m",
- " N":" n",
- " O":" o",
- " P":" p",
- " R":" r",
- " S":" s",
- " T":" t",
- " U":" u",
- " W":" w",
- " Y":" y",
- };
- jQuery(document).ready(function() {
- setTimeout(function() {
- $("#status").each( function(){
- for( var ptrn in dictionary1){
- $(this).text( $(this).text().replace(new RegExp(ptrn ,"g"), dictionary1[ptrn] ) );
- }
- });
- }, 100);
- });
- //delay must run faster than the word dictionary
- //--- the dictionary of words with custom symbols/letters/numbers
- // may replace or add own words
- var dictionary= {
- " are ":" αʀɛ ",
- " and ":" & ",
- " about ":" aβ0ut ",
- " all ":" aℓℓ ",
- " at ":" @ ",
- " but ":" buт ",
- " could ":" coµℓd ",
- " can ":" cáи ",
- " day ":" dαy ",
- " do ":" dő ",
- " get ":" ɢéт ",
- " have ":" haƔε ",
- " huge ":" нυɢε ",
- " had ":" Hαd ",
- " has ":" んαś ",
- " from ":" ƒɾ0ṃ ",
- " for ":" főʀ ",
- " free ":" fʀεε ",
- " into ":" iηtσ ",
- " info ":" iηf0 ",
- " in ":" íท ",
- " is ":" íś ",
- " what ":" ωhαt ",
- " how ":" հσw ",
- " make ":" мakε ",
- " more ":" мoʀε ",
- " now ":" nσw ",
- " no ":" ησ ",
- " out ":" σμt ",
- " our ":" σʋʀ ",
- " of ":" őƒ ",
- " or ":" σʀ ",
- " it ":" íт ",
- " open ":" őpεи ",
- " on ":" σn ",
- " only ":" őиℓy ",
- " plan ":" קℓαภ ",
- " know ":" kn0w ",
- " to ":" тσ ",
- " you ":" yőμ ",
- " went ":" ω3nτ ",
- " the ":" τhé ",
- " take ":" тακε",
- " they ":" théy ",
- " that ":" thαт ",
- " two ":" тѡő ",
- " which ":" wh!ch ",
- " why ":" ωհý ",
- " we ":" ωε ",
- " when ":" whén ",
- " with ":" w!th ",
- " work ":" wσɾk ",
- " this ":" th!ś ",
- " use ":" υśє ",
- " your ":" ÿőυɾ ",
- " way ":" ωáý ",
- "climate change":"#climatechange",
- " digital ":" #digital ",
- " protest ":" pr0t3st ",
- " talk ":" t@lk ",
- "breaking":"br3ak!ng",
- " climate change":" #climatechange",
- " galaxy ":" #galaxy ",
- " just ":" ju$t ",
- " told ":" t0/d ",
- " trump ":" #trump ",
- " russia ":" #russia ",
- " russian ":" #russian #russia ",
- " california ":" #California ",
- " wildfires ":" #wildfires ",
- "net neutrality":"#netneutrality",
- " internet":" #internet",
- " aCLU ":" #ACLU ",
- " scientists":" #scientists",
- " shadowban ":" #shadowban ",
- " shadowbaned":" #shadowbaned",
- " fCC":" #FCC",
- "- YouTube":"-",
- };
- jQuery(document).ready(function() {
- setTimeout(function() {
- $("#status").each( function(){
- for( var ptrn in dictionary){
- $(this).text( $(this).text().replace(new RegExp(ptrn ,"g"), dictionary[ptrn] ) );
- }
- });
- }, 500);
- });
- // delay must run slower than capital replacer
- // --- adds a random number to end of post
- $(document).ready(function() {
- var minNumber = 100;
- var maxNumber = 999;
- $(function() {
- $("#status").append(" " + randomNumber(minNumber, maxNumber) + " " + randomNumber(minNumber, maxNumber));
- });
- function randomNumber(min, max) {
- var number = (Math.floor(Math.random() * (max - min + 1) + min));
- return number;
- }
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement