ميدياويكي:Gadget-censorship.js

من أرابيكا، الموسوعة الحرة
اذهب إلى التنقل اذهب إلى البحث

ملاحظة: بعد الحفظ، قد يلزمك إفراغ الكاش لرؤية التغييرات.

//developer: user:Yahama5

( function ( mw, $ ){
var BlackList=["69ing",
                "A_handjob",
                "Angelo_Bronzino_001",
                "Autofellatio_pic",
                "Utamaro_B",
                "Carracci05",
                "Caucasian_man_masturbating",
                "Courbet_Sleep",
                "Crátera_ática_de_columnas_\\(M",
                "Cunni",
                "Deepthroat",
                "Édouard\\-Henri_Avril",
                "Erect_penis_with_Fordyce's_spots",
                "Erect_phimosis",
                "Erected_penis",
                "Erectile_tissue_of_penis",
                "Erection_Development",
                "Erection_Development_V2",
                "Erection_Homme",
                "Erection_Homme2",
                "Erection_partial",
                "Erepeg1",
                "ErosPyramide20090221_379",
                "ErosPyramide20110218_0264_Timmy_Sweet",
                "Estim_penis",
                "Eveready_Harton_in_Buried_Treasure",
                "Excited_woman_\\-_view_from_back",
                "External_Genital_Organs_\\(Female\\)",
                "Facesitting\\-facesitting\\-\\-Couple\\-\\-domination\\-\\-2_large",
                "Facesitting124",
                "Facial",
                "Fellatio",
                "Fellatio\\-auto",
                "Fellatio_\\-_wikipedia",
                "Fellatio_gay",
                "Fellatio_with_semen_line_drawing",
                "Fellatio2",
                "Female_and_male_anus",
                "Female_buttock",
                "Female_genital_and_nipple_clamps",
                "Female_Genital_Organs_\\(frontal_view\\)_detailed_macro",
                "Female_genitalia_inner",
                "Female_sexual_arousal",
                "Femdom_at_Eros_Pyramide",
                "Fendi03",
                "Fingering_2",
                "Fisting_close\\-up",
                "Flaccid\\-erect",
                "Flaccid_and_erect_human_penis",
                "Flaccid_and_erect_penis",
                "Flaccid_human_penis_\\(Latino\\),_with_pubic_hair",
                "Flacid_and_erects",
                "Flacid_micropenis2",
                "Flushvul_numbered",
                "Flushvul_zh\\-tw_label",
                "Foley1",
                "Foot_Amputation",
                "Fordyce",
                "Foreskin_CloseupV2",
                "Foreskin2",
                "Foreskinintact",
                "Foto076",
                "Four_fingers",
                "Foxie_color",
                "Frau_beim_pinkeln",
                "Frenulotomie",
                "Frenulum_of_prepuce_of_penis",
                "Frenulumpiercing",
                "From_behind",
                "Fuck_off_Wikipedia",
                "Fuck_you",
                "Full_erection",
                "Futanari",
                "Gay_sex_acting_3",
                "Genital_Diversity",
                "Genital_herpes",
                "Givingthefinger",
                "Glans_Penis",
                "Glans_Penis_by_David_Shankbone",
                "Glans_Penis_Close\\-Up2",
                "Gloeden,_Wilhelm_von_\\(1856\\-1931\\)_\\-_n",
                "GloryHole",
                "Golden_Glory_\\(logo\\)",
                "Golden_Shower",
                "Gynecomastia_001",
                "Hafada_piercing",
                "HairedHumanScrotum",
                "Hairy_vulva",
                "Handjob",
                "Hanging_testicles",
                "Having_Sex_missionary",
                "Hayez02",
                "Hentai_\\-_yuuree\\-redraw",
                "Hermann_Vogel_Gefällt_Sie_ihnen",
                "Hezbollah_Flag",
                "Hirsuties_papillaris_coronae_glandis",
                "Hoden_eines_Menschen",
                "Hodensack",
                "Hood\\-piercing",
                "HQ_SAM_CFE",
                "HQ_SAM_CFE2",
                "HQ_SAM_E",
                "HQ_SAM_F2_ml",
                "HQ_SAM_GP",
                "HQ_SAM_SA",
                "HQ_SAM_SAS",
                "HQ_SAM_SAS2",
                "HQ_SAM_SASu",
                "Human_buttocks",
                "Human_Feces",
                "Human_feces_in_toilet",
                "Human_Penis",
                "Human_penis,_white,_circumcised,_8in",
                "Human_penis_erection",
                "Human_penis_flaccid",
                "Human_penis_flaccid_and_erect",
                "Human_penis_with_labels",
                "Human_penis07",
                "Human_Scrotum",
                "Human_semen_in_petri_dish2",
                "Human_Vagina",
                "Human_vulva",
                "HumanVulva\\-NewText\\-PhiloViv",
                "HumanVulva\\-NoText\\-PhiloVivero",
                "HumanVulva\\-PolishText\\-PhiloVivero",
                "Hypospadias_001",
                "Hypospadias_erect",
                "Hypospadias_erect_frontview",
                "Hypospadias_flaccid_frontview",
                "Illu_repdt_male_erect",
                "Illustration_of_anal_sex",
                "Image_of_frenulum",
                "Internet_Troll_\\-_Worded",
                "Interracial_Swinging",
                "Intimpiercing_Frau_aeussere",
                "Intimpiercing_Frau_innere",
                "Intimpiercing_Frau_Klit_vorhaut",
                "Japanese_Crucifixion",
                "Jello_biafra_mooning",
                "Jihadi_John",
                "JJ_AND_TJ",
                "Karma_Sutra,_Kuchaman_Fort",
                "Keeani_Lei_5",
                "Keeani_Lei_6",
                "Klbiboyring",
                "La_coiffeuse",
                "La_fessée_à_l'école",
                "La_voyeuse",
                "Labelled_bw_flaccid_penis",
                "Labelled_flaccid_penis",
                "Labia_\\-_back_view",
                "Labia_separated_exposing_vaginal_opening",
                "Labiaplasty",
                "Labioplasty_and_Clitoral_Hood_Reduction",
                "Labret_phallic_coddling",
                "Landing_Strip",
                "L'atelier_faiminette",
                "LaVergerrayCherie\\-birth",
                "L'heure_du_thé",
                "Lingchi_\\(cropped\\)",
                "Lizas_Labiaplastie",
                "Lobo_marcando_su_territorio\\-2",
                "Looking_up_at_a_standing_naked_woman",
                "Lynching\\-1889",
                "Lynching\\-of\\-woman\\-1911",
                "Lynching2",
                "Machete_of_the_Suicide_Girls,_beneath_a_palm_tree",
                "Male_circumcised_masturbation",
                "Male_erect_penis",
                "Male_genitalia",
                "Male_genitalia_reworked",
                "Male_human_buttocks",
                "Male_masturbation",
                "Male_perineum",
                "Male_Pubic_hair",
                "Male_pubic_hair_caucsn",
                "Male_torso_undressed",
                "MalePenis",
                "Male's_anus",
                "Male's_buttocks_and_anus",
                "Mamintb",
                "Man_anus_retracted,_jjpiercings74",
                "Man_buttocks",
                "Map_of_Ukraine_borders_1654_\\-_2014",
                "Martin_van_Maele_\\-_Francion_15",
                "Massages",
                "Mastectomie_02",
                "Masturbating_Amy",
                "Masturbating_man2",
                "Masturbating_with_a_vibrator",
                "Masturbation",
                "Masturbation,_Vivi_Berens",
                "Masturbation_techniques_\\-_Circumcision_experience_\\(Beschneidungs\\-Erfahrung\\)",
                "Masturbation_Techniques_\\-_Oberschenkel\\-Schlagen_640x480",
                "Masturbation_Techniques_\\-_swinging_cock_\\(animated\\)",
                "Masturbation_Techniques_\\-_the_backhand_method_\\(animated\\)",
                "Masturbation_Techniques_\\-_the_basic_Thumb\\-Forefinger_\\(animated\\)",
                "Masturbation_Techniques_\\-_the_campfire_method_\\(animated\\)",
                "Masturbation_Techniques_\\-_the_cock_swinging_method_\\(animated\\)",
                "Masturbation_Techniques_\\-_the_Forefinger\\-Banging_\\(animated\\)",
                "Masturbation_Techniques_\\-_Zwischen_Oberschenkel_Massage_640x480",
                "Meatotomy",
                "Meatotomy_1",
                "Meatotomy_2",
                "Meatotomy_3",
                "Meatotomy_4",
                "Meatotomy_5",
                "Meine_Hodensackinfusion_detail",
                "Micropenis",
                "Middle_finger_salute",
                "Miss_Butterfly",
                "Mousquetaire_au_restaurant_part_1",
                "Mousquetaire_au_restaurant_part_2",
                "Mr",
                "Mummification\\-pvc\\-tape\\-lorelei",
                "Nap08_694",
                "Nationalsocialistisk_front",
                "Nazi_Swastika",
                "Nazi_swastika_clean",
                "Necrotizing_fasciitis_left_leg",
                "Nekrose_avk01",
                "No_Love_Deep_Web_artwork",
                "Nude_Gas_Mask_Girl_1_by_Mjranum_Stock",
                "Nude_woman_with_niqab",
                "Numbered_flaccid_penis",
                "Open_vagina",
                "Oral_nipple_stimulation",
                "Oral_nipple_stimulation_small",
                "Oral_nipple_stimulation_small_sharpened",
                "Oral_nipple_stimulation_very_small_blurred",
                "Orgasm",
                "Orgy2",
                "Origin\\-of\\-the\\-World",
                "OstrichDischarge",
                "PA_und_Frenulum",
                "Paddy_Ashdown_3",
                "PAlock",
                "Papio_hamadryas\\-adult_penis\\-Lisbon_07",
                "Parrot_rgb3",
                "PatPong_Dancer",
                "Pearly\\-penile\\-papules\\-glans",
                "Pedobear",
                "Peeing",
                "Pegging_cropped",
                "Penile\\-Clitoral_Structure",
                "Penis",
                "Penis_",
                "Penis_2",
                "Penis_anatomy",
                "Penis_and_anus_from_below",
                "Penis_asiatischer_Elefant",
                "Penis_des_Menschen",
                "Penis_erection_glans_1",
                "Penis_erigé",
                "Penis_Flaccid",
                "Penis_flaccid_penis_erected",
                "Penis_glans_foreskin",
                "Penis_Hole_Insertion",
                "Penis_in_used_Condom",
                "Penis_labeled_eng",
                "Penis_syphilis",
                "Penis_with_Labels",
                "Penisfraktur_01",
                "Penisfrenulum",
                "Penisincockring",
                "PerianalHematoma",
                "Perineal_raphe_in_female",
                "Peter_Fendi_scene_erotique",
                "PeterJohannNepomukGeigerEroticWatercolor04",
                "Petit_anus",
                "Peyronie_disease",
                "Phimosis",
                "Phimosis_Penis",
                "Photoshooting_with_my_wife_Marija_ass_and_pussy",
                "Pierced",
                "Piercing_of_the_Corpora",
                "Pissing_in_a_glass",
                "PlanNine_10",
                "Poilspubiens",
                "Post\\-vasectomy",
                "Precum",
                "Pregnant_vulva_belly",
                "Prince_Albert_piercing",
                "Prostatastimulation_anal",
                "Prostitutes_in_Algérie_\\-_1910_ca",
                "Pubic_hair",
                "Pubic_hair_male_1247",
                "Pullcondom",
                "Pullcondom2",
                "QN_Faggot",
                "Realistic_dildo_01",
                "RecurrentbreastCA1",
                "RelaxedPenis",
                "RenamedPic3",
                "Retracted_testicles",
                "RopeMarks_at_BoundCon_2008",
                "Rusty_trombone_simple",
                "Scheide",
                "Schwangerschaftsstreifen",
                "Scrotal_epidermoid_cysts",
                "Scrotum",
                "Scrotum_piercing",
                "Scrotum_warm\\-cold",
                "Scrotum_warm_and_cold",
                "Scrotum2",
                "Semen2",
                "Semfac01",
                "Sex_intercourse",
                "Sex_pictures",
                "Sexual_intercourse_in_humans",
                "Sexual_intercourse_with_vaginal_lubricative_fluid",
                "Sexual_scene_on_a_red\\-figure_tondo_of_a_kylix_by_the_Wedding_Painter",
                "Sexuality_pearl_necklace_small",
                "Sluch",
                "Smegma_Penis01",
                "Smegma_Penis02",
                "SOA\\-Condylomata\\-acuminata\\-around\\-anus",
                "SOA\\-Condylomata\\-acuminata\\-female",
                "SOA\\-Condylomata\\-acuminata\\-man",
                "SOA\\-gonorroe\\-male",
                "SOA\\-Herpes\\-genitalis\\-female",
                "SOA\\-Herpes\\-genitalis\\-male",
                "SOA\\-non_specific_Urethritis\\-male",
                "Sodomie",
                "Specola_21",
                "Sperm",
                "Sperme",
                "Spielzeug_bunt_DSCF7403",
                "Spoon_position_on_bed",
                "Squamous_cell_carcinoma_of_anal_rim_01",
                "Stormfrontlogo",
                "Strap\\-on_pegging",
                "Suzuki_Harunobu_Shunga",
                "Swastika",
                "Swastika_nazi",
                "Taric_Alani_Cum_shot",
                "Taric_Alani_Self_sucker",
                "Testicles",
                "Testiclesinscrotum",
                "Testicular_and_scrotal_masturbation",
                "Testicular_size",
                "The_Mystery_of_the_Druids_Coverart",
                "The_Taint_by_David_Shankbone",
                "Théodore_Géricault_\\(French_\\-_Three_Lovers_\\-_Google_Art_Project",
                "Theodore_Kaczynski",
                "ThomasShippAbramSmith",
                "Threesome_gay_sex",
                "Tissue_necrosis_following_bite_from_Bothrops_asper_PLoS_Medicine",
                "Tizian_094",
                "Torso_male",
                "Tubal_pregnancy,_gross_pathology_01ee049_lores",
                "TwilaB_0814",
                "Two_people_having_sex_in_a_bed",
                "Two_people_having_sex_in_a_bed_\\(color\\)",
                "Tyler_Faith_2",
                "TypicalHumanPenisScale",
                "UC\\-smile",
                "Uncircpn",
                "Uncut_erected_penis_foreskin_retrected2",
                "UnLabelled_flaccid_penis",
                "Urethra_\\(_Urinary_Meatus\\)_with_Tube_Inserted",
                "Urethral_sounding",
                "Urine",
                "Vag1",
                "Vagina",
                "Vagina_ultra01",
                "Vaginal_opening_\\-_english_description",
                "Vaginal_opening_description",
                "Vaginal_penetration",
                "Vaginal_penetration_with_anal_stimulation",
                "Vaginal_syphilis_\\(disturbing_image\\)",
                "Varikozele1",
                "Ventral_and_Dorsal_View_of_Penis",
                "Vertical_hood",
                "Virgin_Killer",
                "Vulva_01",
                "Vulva_02",
                "Vulva_03",
                "Vulva_04",
                "Vulva_05",
                "Vulva_and_pubic_hair",
                "Vulva_labeled_no_tags",
                "Vulva1",
                "Vulva2beschr",
                "Weibliche_brust_en",
                "Wiki\\-anal_missionary",
                "Wiki\\-analoral",
                "Wiki\\-analsex",
                "Wiki\\-analsex\\-simple",
                "Wiki\\-anilingus",
                "Wiki\\-anilingus\\-simple",
                "Wiki\\-bukkake\\-2",
                "Wiki\\-bukkake\\-2\\-simple",
                "Wiki\\-cowgirl",
                "Wiki\\-cumshot",
                "Wiki\\-cumshot\\-2010\\-30\\-12",
                "Wiki\\-cunnilingus",
                "Wiki\\-cunnilingus\\-simple",
                "Wiki\\-doublepen",
                "Wiki\\-dstyle",
                "Wiki\\-dthroat",
                "Wiki\\-dthroat\\-2010\\-30\\-12",
                "Wiki\\-dthroat02",
                "Wiki\\-facial",
                "Wiki\\-facial\\-simple",
                "Wiki\\-fellatio",
                "Wiki\\-fellatio02",
                "Wiki\\-fingering",
                "Wiki\\-fisting",
                "Wiki\\-FMF\\-threesome",
                "Wiki\\-frot1",
                "Wiki\\-gangbang",
                "Wiki\\-gokkun",
                "Wiki\\-lcp",
                "Wiki\\-mam\\-intcs",
                "Wiki\\-mam\\-intcs\\-simple",
                "Wiki\\-missionary",
                "Wiki\\-oral\\-scrotum",
                "Wiki\\-pee02",
                "Wiki\\-pegging",
                "Wiki\\-POV\\-pornography",
                "Wiki\\-prostitute",
                "Wiki\\-sball",
                "Wiki\\-sball_hetero",
                "Wiki\\-sitting\\-sp",
                "Wiki\\-sixtynine",
                "Wiki\\-spoons\\-sp",
                "Wiki\\-standing",
                "Wiki\\-T\\-square",
                "Wiki\\-tribadism",
                "Wiki\\-tribadism02",
                "Wiki\\-Wiener\\-auster",
                "Wikibukkake",
                "Wikibukkake\\-simple",
                "Wikibukkake_new",
                "Woman_\\-_nude_\\-_03",
                "Woman_get_licked_to_orgasm",
                "Woman_in_small_cage",
                "Woman_naked_Buttocks",
                "Young\\-woman\\-urinating",
                "Zoo_3_Shoot"].join('|')
    var hide_regex = new RegExp ("("+BlackList+")");

    function clickHandler ( e ) {
        e.stopPropagation();
        e.preventDefault();
        $( this.firstChild ).unwrap();
    };

    function makeWrapper () {
        return $( '<span>', {
            'class': 'hide-images-wrapper',
            'click': clickHandler
        } );
    };

    $( 'img' ).each( function () {
        if ( hide_regex.test( this.src ) ) {
            $( this ).wrap( makeWrapper );
        }
        $( this ).addClass( 'hide-images-handled' );
    } );
}( mediaWiki, jQuery ) );