Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
A monkey script for halal-ing chickens in KFC Deutschland. Just for fun! No offense to the muslim brotherhood. :'p
// ==UserScript==
// @name kfc.de-face
// @creator Glenn Dwiyatcita
// @namespace https://gist.github.com/dwiyatci
// @description A monkey script for halal-ing chickens in KFC Deutschland. Just for fun! No offense to the muslim brotherhood. :'p
// @include http://www.kfc.de/faq
// @version 1
// @grant none
// @require http://code.jquery.com/jquery-latest.min.js
// ==/UserScript==
$(function () {
console.info('A bunch of highly-trained Islamic monkeys are ready to eat KFC chickens.');
var wrapper = $('#page-wrapper')
, par = $('#faq17').parent('dt').next('dd').children('p')
, halalString = 'Ja, ja, NATÜRLICH! KFC Deutschland bietet HALAL HÄNCHENKEULE an. Was? Sind Sie aus Indonesien? Und Sie sprechen nur ein bißchen Deutsch? Keine Angst! Kommen Sie einfach zu uns nach dem Freitagsgebet. Laden Sie Ihre Indonesisch Freunde ein, und wir geben Ihnen alles für FREI. NUR NOCH MORGEN! *-*'
, defacedNode
, rplImg
;
par.slideUp('slow');
console.info('The monkeys are defacing the website ...');
par.contents().filter(function () {
return this.nodeType == 3;
}).each(function () {
//console.log(this.textContent);
this.textContent = halalString;
});
par.slideDown(1000);
defacedNode = $('<h1>', {
style: 'display:none;position:absolute;top:2700px;right:20%;z-index:1010;font-family:monospace;',
html: 'D E F A C E D'
});
console.info('*** Tribute to Rpl Oye ***');
rplImg = $('<img>', {
src: 'https://public.bscw.de/pub/bscw.cgi/d116761981/rpl.oye-1.jpg',
style: 'display:none;position:absolute;top:2555px;right:15%;z-index:1000;',
});
wrapper.append(defacedNode);
wrapper.append(rplImg);
rplImg.slideDown(2000);
defacedNode.fadeIn(4000);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.