main index Narrative
|
Since this is my page, I suppose I'll experiment with stuff here.
open/close all folders
I've made some custom CSS to help adjust things on the TV Tropes website, although so far it's mostly just for the forums:
Custom CSS Smily text(Puts smily type in text after smily):
Instructions on how to use these in Opera Web Browserimg:after{font-size:xx-small; vertical-align:bottom;}
img[title="evil grin"]:after{content: "[evilgrin]";}
img[title="grin"]:after{content: "[grin]";}
img[title="smile"]:after{content: "[smile]";}
img[title="surprised"]:after{content: "[surprised]";}
img[title="tongue"]:after{content: "[tongue]";}
img[title="sad"]:after{content: "[sad]";}
img[title="waii"]:after{content: "[waii]";}
img[title="wink"]:after{content: "[wink]";}
img[title="idea"]:after{content: "[idea]";}
img[title="cool"]:after{content: "[cool]";}
img[title="[lol]"]:after{content: "[lol]";}
Round borders(Only needed for Opera web browser. Mozilla and Webkit browsers are already coded in. It may work in Internet Explorer 9.0, but untested.): .announcementbanner{border-radius:4px;}
.evil{border-radius:4px;}
.forumbutton{border-radius:4px;}
.notifier{border-radius:4px;}
a.fauxbutton{border-radius:4px;}
div.container{border-radius:8px;}
div.trail_left{border-radius:8px;}
div.trail_center{border-radius:8px;}
div.trail_right{border-radius:8px;}
h1{border-radius:8px;}
h3{border-radius:8px}
#wikileft li{border-radius:3px;}
#wikiright h1{border-radius:1em;}
#wikiright li{border-radius:3px;}
.buttonframe{border-radius:8px;}
div.buttoninterior2{border-radius:8px;}
.headtitle{border-radius:8px;}
div.wmglead{border-radius:8px;}
div.forumreplyheader{border-top-right-radius:4px;border-top-left-radius:4px;border-radius-topleft:4px;border-radius-topright:4px;}
div.forumreplybody{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-radius-bottomleft:4px;border-radius-
topleft:4px;border-radius-bottomright:4px;}
div.templatebuttonframe{border-radius:8px;}
#wikileftpage h1{border-radius:1em;}
Opera
Firefox
@-moz-document domain("tvtropes.org") {
}
Ignore Extension Instructions:
Current version: 1.13// ==UserScript==
// @name = TVTropes Ignore Script
// @namespace = http://tvtropes.org/pmwiki/pmwiki.php/Tropers/Meophist
// @include http://tvtropes.org/pmwiki/posts.php?*
// ==/UserScript==
addEventListener('load', function (e)
{
// List of Handles to ignore. They are case-sensitive and only look for exact matches, so be careful.
// Additional handles can be added, keep them within quotation marks and make sure to have a comma between each one.
var ignoreList = ["Troper Handle Here", "Another Handle Here", "As Many As You Want"];
// Initializing additional variables. divs is a collection of div tags.
// header is for the post headers, body for the post body, and tName for the post handle.
// curNum is for the current header/body combination, curClass is for the current div class.
var divs = document.getElementsByTagName("div");
var header = new Array(); var body = new Array(); var tName = new Array();
var curNum = 0; var curClass;
// Goes through the div tags of the page, getting its headers and bodys into the
// header and body tags. Makes sure they are connected by their array index.
for(i=0; i<divs.length; i++)
{
curClass = divs[i].getAttribute("class");
if(curClass == "forumreplyheader")
{
header[curNum] = divs[i].childNodes[0];
tName[curNum] = divs[i].childNodes[0].childNodes[3].innerHTML;
}
if(curClass == "forumreplybody")
{
body[curNum] = divs[i];
curNum++;
}
}
// Stores the the post toggle buttons.
var buttonNum = 0;
var button = new Array();
for(i=0; i<curNum; i++)
{
// Creates post toggle buttons to each post and adds the toggle functionality to them.
button[buttonNum] = document.createElement("img");
button[buttonNum].setAttribute("src", "http://static.tvtropes.org/pmwiki/pub/smiles/eject.png");
button[buttonNum].setAttribute("style", "cursor: pointer; height: 16px; width:16px; float:right;");
header[i].appendChild(button[buttonNum]);
addToggle(i, button[buttonNum]);
buttonNum++;
// If the poster name matches one in the ignore list, the post's body is hidden.
for(j=0; j<ignoreList.length; j++)
{
if(tName[i] == ignoreList[j])
body[i].style.display = "none";
}
}
// Toggles the body of a given post.
function addToggle(bodyNum, clicker)
{
var bs = body[bodyNum].style;
clicker.addEventListener('click', function() {
bs.display = (bs.display !== 'none') ? 'none' : 'block';
}, false);
}
}, false);
Hide Names Version 1.13// ==UserScript==
// @name = TVTropes Ignore Script
// @namespace = http://tvtropes.org/pmwiki/pmwiki.php/Tropers/Meophist
// @include http://tvtropes.org/pmwiki/posts.php?*
// ==/UserScript==
addEventListener('load', function (e)
{
// List of Handles to ignore. They are case-sensitive and only look for exact matches, so be careful.
// Additional handles can be added, keep them within quotation marks and make sure to have a comma between each one.
var ignoreList = ["Troper Handle Here", "Another Handle Here", "As Many As You Want"]
// Initializing additional variables. divs is a collection of div tags.
// header is for the post headers, body for the post body, and tName for the post handle.
// curNum is for the current header/body combination, curClass is for the current div class.
var divs = document.getElementsByTagName("div");
var header = new Array(); var body = new Array(); var tName = new Array();
var curNum = 0; var curClass;
// tempHeader stores the header for later retrieval, while the ignoredUserString replaces teh handle
// for the ignored users.
var tempHeader = new Array(); var ignoredUserString = "[IGNORED USER]";
// Goes through the div tags of the page, getting its headers and bodys into the
// header and body tags. Makes sure they are connected by their array index.
for(i=0; i<divs.length; i++)
{
curClass = divs[i].getAttribute("class");
if(curClass == "forumreplyheader")
{
header[curNum] = divs[i].childNodes[0];
tempHeader[curNum] = header[curNum].cloneNode(true);
tName[curNum] = divs[i].childNodes[0].childNodes[3].innerHTML;
}
if(curClass == "forumreplybody")
{
body[curNum] = divs[i];
curNum++;
}
}
// Stores the the post toggle buttons.
var buttonNum = 0;
var button = new Array();
for(i=0; i<curNum; i++)
{
// Creates post toggle buttons to each post and adds the toggle functionality to them.
button[buttonNum] = document.createElement("img");
button[buttonNum].setAttribute("src", "http://static.tvtropes.org/pmwiki/pub/smiles/eject.png");
button[buttonNum].setAttribute("style", "cursor: pointer; height: 16px; width:16px; float:right;");
header[i].appendChild(button[buttonNum]);
addToggle(i, button[buttonNum]);
buttonNum++;
// If the poster name matches one in the ignore list, the post's body is hidden.
for(j=0; j<ignoreList.length; j++)
{
if(tName[i] == ignoreList[j])
{
// Hides the Ignored user's name.
header[i].childNodes[3].innerHTML = ignoredUserString;
// Hides post time and location.
header[i].childNodes[5].innerHTML = "";
body[i].style.display = "none";
}
}
}
// Toggles the body of a given post.
function addToggle(bodyNum, clicker)
{
var bs = body[bodyNum].style;
clicker.addEventListener('click', function() {
if (bs.display !== 'none')
{
// Hides post body.
bs.display = 'none';
// Hides the Ignored user's name.
header[bodyNum].childNodes[3].innerHTML = ignoredUserString;
// Hides post time and location.
header[bodyNum].childNodes[5].innerHTML = "";
}
else
{
// Shows post body.
bs.display = 'block';
// Shows the Ignored user's name.
header[bodyNum].childNodes[3].innerHTML = tempHeader[bodyNum].childNodes[3].innerHTML;
// Shows post time and location.
header[bodyNum].childNodes[5].innerHTML = tempHeader[bodyNum].childNodes[5].innerHTML;
}
}, false);
}
}, false); Legacy Scripts I have these here because I don't like getting rid of stuff entirely.
IP Address viewer(no longer functional):
span[style="display:none;"]{display:inline !important; font-size:80%; margin-left: 5px;}
Ignore extension(obsolete, newest first): // ==UserScript==
// @name = TVTropes Ignore Script
// @namespace = http://tvtropes.org/pmwiki/pmwiki.php/Tropers/Meophist
// @include http://tvtropes.org/pmwiki/posts.php?*
// ==/UserScript==
addEventListener('load', function (e)
{
// List of Handles to ignore. They are case-sensitive and only look for exact matches, so be careful.
// Additional handles can be added, keep them within quotation marks and make sure to have a comma between each one.
var ignoreList = ["Troper Handle Here", "Another Handle Here", "As Many As You Want"];
// Initializing additional variables. divs is a collection of div tags.
// header is for the post headers, body for the post body, and tName for the post handle.
// curNum is for the current header/body combination, curClass is for the current div class.
var divs = document.getElementsByTagName("div");
var header = new Array(); var body = new Array(); var tName = new Array();
var curNum = 0; var curClass;
// Goes through the div tags of the page, getting its headers and bodys into the
// header and body tags. Makes sure they are connected by their array index.
for(i=0; i<divs.length; i++)
{
curClass = divs[i].getAttribute("class");
if(curClass == "forumreplyheader")
{
header[curNum] = divs[i];
tName[curNum] = divs[i].childNodes[3].innerHTML;
}
if(curClass == "forumreplybody")
{
body[curNum] = divs[i];
curNum++;
}
}
// Stores the the post toggle buttons.
var buttonNum = 0;
var button = new Array();
for(i=0; i<curNum; i++)
{
// Creates post toggle buttons to each post and adds the toggle functionality to them.
button[buttonNum] = document.createElement("img");
button[buttonNum].setAttribute("src", "http://static.tvtropes.org/pmwiki/pub/smiles/eject.png");
button[buttonNum].setAttribute("style", "cursor: pointer; height: 16px; width:16px; float:right;");
header[i].appendChild(button[buttonNum]);
addToggle(i, button[buttonNum]);
buttonNum++;
// If the poster name matches one in the ignore list, the post's body is hidden.
for(j=0; j<ignoreList.length; j++)
{
if(tName[i] == ignoreList[j])
body[i].style.display = "none";
}
}
// Toggles the body of a given post.
function addToggle(bodyNum, clicker)
{
var bs = body[bodyNum].style;
clicker.addEventListener('click', function() {
bs.display = (bs.display !== 'none') ? 'none' : 'block';
}, false);
}
}, false);
Hide Names Version 1.12// ==UserScript==
// @name = TVTropes Ignore Script
// @namespace = http://tvtropes.org/pmwiki/pmwiki.php/Tropers/Meophist
// @include http://tvtropes.org/pmwiki/posts.php?*
// ==/UserScript==
addEventListener('load', function (e)
{
// List of Handles to ignore. They are case-sensitive and only look for exact matches, so be careful.
// Additional handles can be added, keep them within quotation marks and make sure to have a comma between each one.
var ignoreList = ["Troper Handle Here", "Another Handle Here", "As Many As You Want"]
// Initializing additional variables. divs is a collection of div tags.
// header is for the post headers, body for the post body, and tName for the post handle.
// curNum is for the current header/body combination, curClass is for the current div class.
var divs = document.getElementsByTagName("div");
var header = new Array(); var body = new Array(); var tName = new Array();
var curNum = 0; var curClass;
// tempHeader stores the header for later retrieval, while the ignoredUserString replaces teh handle
// for the ignored users.
var tempHeader = new Array(); var ignoredUserString = "[IGNORED USER]";
// Goes through the div tags of the page, getting its headers and bodys into the
// header and body tags. Makes sure they are connected by their array index.
for(i=0; i<divs.length; i++)
{
curClass = divs[i].getAttribute("class");
if(curClass == "forumreplyheader")
{
header[curNum] = divs[i];
tempHeader[curNum] = header[curNum].cloneNode(true);
tName[curNum] = divs[i].childNodes[3].innerHTML;
}
if(curClass == "forumreplybody")
{
body[curNum] = divs[i];
curNum++;
}
}
// Stores the the post toggle buttons.
var buttonNum = 0;
var button = new Array();
for(i=0; i<curNum; i++)
{
// Creates post toggle buttons to each post and adds the toggle functionality to them.
button[buttonNum] = document.createElement("img");
button[buttonNum].setAttribute("src", "http://static.tvtropes.org/pmwiki/pub/smiles/eject.png");
button[buttonNum].setAttribute("style", "cursor: pointer; height: 16px; width:16px; float:right;");
header[i].appendChild(button[buttonNum]);
addToggle(i, button[buttonNum]);
buttonNum++;
// If the poster name matches one in the ignore list, the post's body is hidden.
for(j=0; j<ignoreList.length; j++)
{
if(tName[i] == ignoreList[j])
{
// Hides the Ignored user's name.
header[i].childNodes[3].innerHTML = ignoredUserString;
// Hides post time and location.
header[i].childNodes[5].innerHTML = "";
body[i].style.display = "none";
}
}
}
// Toggles the body of a given post.
function addToggle(bodyNum, clicker)
{
var bs = body[bodyNum].style;
clicker.addEventListener('click', function() {
if (bs.display !== 'none')
{
// Hides post body.
bs.display = 'none';
// Hides the Ignored user's name.
header[bodyNum].childNodes[3].innerHTML = ignoredUserString;
// Hides post time and location.
header[bodyNum].childNodes[5].innerHTML = "";
}
else
{
// Shows post body.
bs.display = 'block';
// Shows the Ignored user's name.
header[bodyNum].childNodes[3].innerHTML = tempHeader[bodyNum].childNodes[3].innerHTML;
// Shows post time and location.
header[bodyNum].childNodes[5].innerHTML = tempHeader[bodyNum].childNodes[5].innerHTML;
}
}, false);
}
}, false);
Version: 1.06
addEventListener('load', function (e)
{
var ignoreList = new Array();
ignoreList[0] = "Troper Name Here";
ignoreList[1] = "Another Troper Here";
ignoreList[2] = "As Many As You Want";
var divs = document.getElementsByTagName("div"); var as = document.getElementsByTagName("a");
var header = new Array(); var body = new Array(); var tName = new Array();
var curNum = 0; var curClass;
for(i=0; i<divs.length; i++)
{
curClass = divs[i].getAttribute("class");
if(curClass == "forumreplyheader")
{
header[curNum] = divs[i];
}
if(curClass == "forumreplybody")
{
body[curNum] = divs[i];
curNum++;
}
}
var j = 0;
for(i=0; i<as.length; i++)
{
if(as[i].getAttribute("class") == "tropername")
{
tName[j] = as[i].innerHTML;
j++;
}
}
var buttonNum = 0;
var button = new Array();
for(i=0; i<curNum; i++)
{
button[buttonNum] = document.createElement("img");
button[buttonNum].setAttribute("src", "http://static.tvtropes.org/pmwiki/pub/smiles/eject.png");
button[buttonNum].setAttribute("style", "cursor: pointer; height: 16px; width:16px; position:absolute; right:15px;");
header[i].appendChild(button[buttonNum]);
addToggle(i, button[buttonNum]);
buttonNum++;
for(j=0; j<ignoreList.length; j++)
{
if(tName[i] == ignoreList[j])
body[i].style.display = "none";
}
}
function addToggle(bodyNum, clicker)
{
var bs = body[bodyNum].style;
clicker.addEventListener('click', function() {
bs.display = (bs.display !== 'none') ? 'none' : 'block';
}, false);
}
}, false);
Older:
addEventListener('load', function (e)
{
var ignoreList = new Array();
ignoreList[0] = "Troper Name Here";
ignoreList[1] = "Another Troper Here";
ignoreList[2] = "As Many As You Want";
var divs = document.getElementsByTagName("div");
var header = new Array(); var body = new Array();
var curNum = 0; var curClass;
for(i=0; i<divs.length; i++)
{
curClass = divs[i].getAttribute("class");
if(curClass == "forumreplyheader")
{
header[curNum] = divs[i];
}
if(curClass == "forumreplybody")
{
body[curNum] = divs[i];
curNum++;
}
}
var buttonNum = 0;
var button = new Array();
var username; var iDisplay;
for(i=0; i<curNum; i++)
{
button[buttonNum] = document.createElement("img");
button[buttonNum].setAttribute("src", "http://static.tvtropes.org/pmwiki/pub/smiles/eject.png");
button[buttonNum].setAttribute("style", "cursor: pointer; height: 16px; width:16px; position:absolute; right:15px;");
header[i].appendChild(button[buttonNum]);
addToggle(i, button[buttonNum]);
buttonNum++;
username = header[i].childNodes[3].innerHTML;
iDisplay = body[i].style.display;
for(j=0; j<ignoreList.length; j++)
{
iDisplay = (username == ignoreList[j]) ? "none" : "block";
}
}
function addToggle(bodyNum, clicker)
{
var bs = body[bodyNum].style;
clicker.addEventListener('click', function() {
bs.display = (bs.display !== 'none') ? 'none' : 'block';
}, false);
}
}, false);
var ignoreList = new Array();
ignoreList[0] = "Ponicalica";
ignoreList[1] = "Fast Eddie";
ignoreList[2] = "Meophist";
var divs = document.getElementsByTagName("div");
var h = new Array(); var hNum = 0;
var b = new Array(); var bNum = 0;
for(i=0; i<divs.length; i++)
{
if(divs[i].getAttribute("class") == "forumreplyheader")
{
h[hNum] = divs[i];
hNum++;
}
if(divs[i].getAttribute("class") == "forumreplybody")
{
b[bNum] = divs[i];
bNum++;
}
}
for(i=0; i<hNum; i++)
{
var username = h[i].childNodes[3].innerHTML;
for(j=0; j<ignoreList.length; j++)
{
if(username == ignoreList[j])
{
b[i].setAttribute("style","display:none;");
}
}
}
var ignoreList = new Array();
ignoreList[0] = "Ponicalica";
ignoreList[1] = "Fast Eddie";
ignoreList[2] = "Meophist";
var divs = document.getElementsByTagName("div");
var h = new Array(); var hNum = 0;
var b = new Array(); var bNum = 0;
for(i=0; i<divs.length; i++)
{
if(divs[i].getAttribute("class") == "forumreplyheader")
{
h[hNum] = divs[i];
hNum++;
}
if(divs[i].getAttribute("class") == "forumreplybody")
{
b[bNum] = divs[i];
bNum++;
}
}
var buttonNum = 0;
var button = new Array();
for(i=0; i<hNum; i++)
{
var username = h[i].childNodes[3].innerHTML;
for(j=0; j<ignoreList.length; j++)
{
if(username == ignoreList[j])
{
button[buttonNum] = document.createElement("img");
button[buttonNum].setAttribute("src", "http://static.tvtropes.org/pmwiki/pub/smiles/eject.png");
button[buttonNum].setAttribute("style", "cursor: pointer;");
button[buttonNum].setAttribute("height", "16");
button[buttonNum].setAttribute("width", "16");
button[buttonNum].setAttribute("onclick", "toggleDisplay("+i+");");
h[i].appendChild(button[buttonNum]);
buttonNum++;
toggleDisplay(i);
}
}
}
function toggleDisplay(num)
{
if(b[num].getAttribute("style") == "display:none;")
{
b[num].setAttribute("style","display:block;")
}
else
{
b[num].setAttribute("style","display:none;")
}
}I'm interested in Video Games and organization. From that, it goes to follow that I'm interested in organizing Video Game Tropes. Here's what I have so far(I'll expand it over time): Video Game Tropes Game MechanicsPoints Of Games - The various types of numerical points in video games.
Game Character Systems
Game Items And InventoryInventory Systems
Video Game Healing - A Super Trope about the Acceptable Break from Reality of healing in video games typically being dramatically faster than in Real Life
If anybody wants to add their own whatever to this page, please put it in here: User Comments
|
|||||||||||||||||||||||||||||||||