Notes![what is notes.io? What is notes.io?](/theme/images/whatisnotesio.png)
![]() ![]() Notes - notes.io |
// ==UserScript==
// @name kurwa
// @version 2013.10.27
// @description Watch videos from video sharing websites without Flash Player.
// @author sebaro
// @namespace https://userscripts.org/users/sebaro
// @downloadURL https://userscripts.org/scripts/source/87011.user.js
// @updateURL https://userscripts.org/scripts/source/87011.meta.js
// @icon http://s3.amazonaws.com/uso_ss/icon/87011/large.png
// @include http://*
// @include http://www.*
// @include https://*
// @include https://www.*
// ==/UserScript==
function kurwa()
{
/**
* Made by kurwa Kerai
* chcesz rozpowszechniac? podawaj ĹşrĂłdĹo
* chcesz cos zmieniac? wszystkie komentarze pisz
* w komentarzach wieloliniowych, bo sie moze popsuc pod chrome i opera...
*/
var whitespace = "-/|.,!:;'" tnr{}[]()";
var stack = [];
var curNIndex = 0;
var curNode = null;
var curIndex = -1;
var state = 1;
var lastword = '';
String.prototype.startsWith = function(prefix) {
return this.indexOf(prefix) === 0;
};
String.prototype.endsWith = function(suffix) {
return this.match(suffix+"$") == suffix;
};
/* Nie moge tak robiÄ niestety */
function kurwizeLink(url)
{
if(url.startsWith('javascript:'))
return url; /* chyba niewiele moge zrobic kurwa */
if(url.startsWith('#'))
return url;
if(url.startsWith('http://kurwa.keraj.net/?url='))
return url; /* no, bo kurwa, bez jaj ;p */
var base = '';
if(!url.startsWith('http'))
{
base = location.protocol + "://" + location.host;
if(!url.startsWith('/'))
{
var pathname = location.pathname;
base += pathname.substring(0, pathname.lastIndexOf('/'));
}
}
return 'http://kurwa.keraj.net/?url='+base+url;
};
function nextLetter()
{
if(curNode==null)
return null;
if(curIndex >= curNode.data.length)
{
curNode = stack[++curNIndex];
curIndex = -1;
if(curNode==null)
return null;
}
curIndex++;
if(curIndex >= curNode.data.length)
{
return ' ';
}
return curNode.data[curIndex];
};
function nextAfterWord()
{
/* lastword = ''; */
/* szukamy poczatku kurwa wyrazu */
dupa:while(true)
{
do {
var let = nextLetter();
if(let==null)
return false;
} while(whitespace.indexOf(let)!=-1);
if(state==1)
{
/* byliszmy na poczatku, teraz kurwa bedziemy szukac konca wyrazu */
state = 2;
return true;
};
state = 3;
var starting = curIndex;
do {
var let = nextLetter();
if(let==null)
return false;
if(state==1)
continue dupa;
} while(whitespace.indexOf(let)==-1);
/* ostatni wyraz, moze sie kurwa przydac pozniej zeby nasz algorytm byl bardziej inteligentny */
/* trza to jeszcze kurwa usprawnic */
lastword = curNode.data.substr(starting,curIndex-starting).toLowerCase();
return true;
}
};
function putHere(text)
{
if(curNode==null)
return;
/** oj, trzeba to kurwa fixnÄ Ä kiedyĹ */
curNode.data = curNode.data.substr(0,curIndex) + (state!=2?' ':'') +text+ (state==2?' ':'') + curNode.data.substr(curIndex);
curIndex += text.length + 2;
};
function replaceLast(text) {
var s2 = curNode.data.substr(curIndex);
curIndex -= lastword.length;
var s1 = curNode.data.substr(0,curIndex);
curIndex+= text.length;
curNode.data = s1 + text + s2;
}
/** rekurencyjnie szukamy tylko tekstu kurwa */
function przelec(node)
{
if(typeof node != "object" || typeof node.childNodes != "object")
return;
var children = node.childNodes;
for (var i = 0; i < children.length; i++)
{
var child = children[i];
/* nie IFRAME, bo sie moze kurwa crashnÄ Ä, nie SCRIPT... wiadomo, nie PRE - bo to moze byc kurwa kod ĹşrĂłdĹowy... chociaĹź moĹźe fajnie by byĹo widzieÄ coĹ w stylu std:kurwa:cout */
if(child.nodeType==1 && child.tagName!="SCRIPT" && child.tagName!="IFRAME" /*&& child.tagName!="PRE"*/)
{
przelec(child);
};
if(child.nodeType==3)
{
stack.push(child);
};
if(child.tagName=="A")
{
/* child.href=kurwizeLink(child.href+''); */
};
};
};
if((typeof DONT_KURWA) === "undefined" || !DONT_KURWA) {
przelec(document.body);
curNode = stack[0];
var i = Math.floor(Math.random()*9);
var forpe = window.location.href.indexOf("4programmers") > -1;
/* a tak se sprawdzimy :D
if(forpe)
{
while(nextAfterWord()) {
var word = 'Adam Boduch';
var rnd = Math.random() * 5;
if(rnd<1)
word = "Adam";
else if(rnd<2)
word = "Boduch";
else if(rnd<3)
word = "klacze";
replaceLast(word);
}
return;
} */
while(nextAfterWord())
{
if(i--<=0)
{
if(lastword=='na')
continue;
if(lastword=='do')
continue;
if(lastword=='jak')
continue;
if(forpe) {
if(lastword=='i')
continue;
if(lastword=='o')
continue;
if(lastword=='w')
continue;
if(lastword=='z')
continue;
if(lastword=='a')
continue;
if(lastword=='u')
continue;
if(lastword=='siÄ')
continue;
if(lastword.startsWith('niekt'))
continue;
if(lastword.startsWith('róşn'))
continue;
if(lastword == 'boduch') {
replaceLast('( ͥ° ÍĘ ÍĄÂ°)');
} else {
replaceLast('Adam Boduch');
}
} else {
if(lastword=='nie')
continue;
if(lastword=='kurwa')
continue;
putHere('kurwa');
}
var i = 2 + Math.floor(Math.random()*8);
};
};
} else {
alert("Ta strona nie lubi byÄ wulgaryzowana :(");
}
/**
* Finalnie zamiast pobierac skrypt ze strony, sprawdzamy jedynie wersje
*/
function reqListener() {
var ver = this.responseText;
if(ver > 2.7)
{
var cnf = confirm("Nowa wersja skryptu KURWA jest dostÄpna!nUsuĹ starÄ i ustaw nowÄ nn");
if(cnf)
window.location = 'http://kurwa.keraj.net/?new';
}
};
var oReq = new XMLHttpRequest();
oReq.onload = reqListener;
try {
oReq.open("get", "http://kurwa.keraj.net/kurwa.ver", true);
oReq.send();
} catch (e) {
}
}
if((typeof DONT_KURWA) === "undefined" || !DONT_KURWA) {
kurwa();
}
![]() |
Notes is a web-based application for online taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000+ notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 14 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: [email protected]
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team