Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Code tags for everyone

Name: FrozenVoid 2011-10-24 10:53

// ==UserScript==
// @id             MonoSpacedProg
// @name           MonoSpacedProg
// @version        1.0
// @namespace     
// @author         FrozenVoid
// @description    Stop complaining about "code" tags and install this
// @include        http://dis.4chan.org/prog/**
// @include        http://dis.4chan.org/read/prog/**
// @run-at         document-end
// ==/UserScript==
a=document.getElementsByTagName("blockquote")
for(i in a) a[i].innerHTML="<code>"+a[i].innerHTML+"</code>";

Name: Anonymous 2011-10-24 10:54

Reported for virus.

Name: Anonymous 2011-10-24 12:19

// ==UserScript==
// @id             MonoSpacedProg
// @name           MonoSpacedProg
// @version        1.1
// @namespace    
// @author         FrozenVoid
// @description    Stop complaining about "code" tags and install this
// @include        http://dis.4chan.org/prog/**
// @include        http://dis.4chan.org/read/prog/**
// @run-at         document-end
// ==/UserScript==
//Static version for >>2
GM_addStyle("blockquote{font-family:monospace;}");

Name: Anonymous 2011-10-24 12:50

>>1
>>3
Use [code][/code] tags, please.

Name: Anonymous 2011-10-24 12:55

>>4
Optimize you are quotes, and learn to [code]escape tags[/code].

Name: Anonymous 2011-10-24 13:00

>>4
// ==UserScript==
// @id             MonoSpacedProg
// @name           MonoSpacedProg
// @version        1.1
// @namespace   
// @author         FrozenVoid
// @description    Stop complaining about "code" tags and install this
// @include        http://dis.4chan.org/prog/**
// @include        http://dis.4chan.org/read/prog/**
// @run-at         document-end
// ==/UserScript==
//Static version for >>2
GM_addStyle("blockquote{font-family:monospace;}");

Name: Anonymous 2011-10-24 15:09

>>1,3,6
All that // ==UserScript== stuff is autistic

Name: Anonymous 2011-10-24 15:17

>>5
Impressive...  I wonder how he did that.
learn to escape tags
learn to [m][code][/m]escape tags[m][/code][/m]
learn to [co[o][/o]de]escape tags[/co[o][/o]de]

Name: Anonymous 2011-10-24 15:18

>>8
learn to [code]escape tags[/code]

Name: Anonymous 2011-10-24 16:18

>>9
That's not how ey did it. There are no marks in the resulting HTML code.

[code]Testing[/code]...

Name: >>10 2011-10-24 16:20

I think I found how to do it.
Test 0

Name: >>11 2011-10-24 16:22

Crap, I seem to have forgot how to do it.
[code]oniichan[/code]

Name: Anonymous 2011-10-24 19:01

[spoiler]crap, I forgot too[/spoiler]

Name: Anonymous 2011-10-24 20:49

I hope I won't humiliate myself

test[spoiler][/spoiler]

Name: Anonymous 2011-10-24 20:50

>>14
well, see you all in gensokyo

Don't change these.
Name: Email:
Entire Thread Thread List