Created
November 23, 2012 11:27
-
-
Save tomash/4135211 to your computer and use it in GitHub Desktop.
DlaBeki: userscript dodający pasek "czytam dla beki" na prawicowych sajtach
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Czytam Prawicowe Strony Dla Beki | |
// @description Pokazuje pasek "czytam dla beki" na mocno prawicowych serwisach | |
// @icon http://tomash.wfb-pol.org/userscripts/dlabeki/icon32.png | |
// @icon64 http://tomash.wfb-pol.org/userscripts/dlabeki/icon128.png | |
// @version 1.0.0 | |
// @license MIT | |
// @include http://niezalezna.pl/* | |
// @include http://*.niezalezna.pl/* | |
// @include http://naszeblogi.pl/* | |
// @include http://rebelya.pl/* | |
// @include http://*.rebelya.pl/* | |
// @include http://salon24.pl/* | |
// @include http://*.salon24.pl/* | |
// @include http://wpolityce.pl/* | |
// @include http://*.wpolityce.pl/* | |
// @include http://nowyekran.pl/* | |
// @include http://*.nowyekran.pl/* | |
// @include http://www.pch24.pl/* | |
// @include http://*.pch24.pl/* | |
// @include http://prawy.pl/* | |
// @include http://prawica.net/* | |
// @include http://fronda.pl/* | |
// @include http://*.fronda.pl/* | |
// @include http://oksiuta.blog.onet.pl/* | |
// @include http://korwin-mikke.blog.onet.pl/* | |
// @include http://korwin-mikke.pl/* | |
// @include http://nczas.pl/* | |
// @include http://nowaprawica.org.pl/* | |
// ==/UserScript== | |
var image_element = document.createElement('img'); | |
image_element.id = "dla-beki-ribbon"; | |
image_element.src = "http://tomash.wfb-pol.org/userscripts/dlabeki/ribbon1_red_top_right.png"; | |
image_element.style.position = "fixed"; | |
image_element.style.top = "0px"; | |
image_element.style.right = "0px"; | |
image_element.style.border = "0px"; | |
// delete itself upon clicking | |
image_element.onclick = function() {document.body.removeChild(document.getElementById("dla-beki-ribbon"))}; | |
document.body.appendChild(image_element); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment