Is there an issue? Send a MessageReason:
Removed ignore script since it\'s apparently a bad thing?
Changed line(s) 75,244 (click to see context) from:
[[folder:Ignore Extension]]Instructions:
||'''Opera'''||'''Firefox'''||
||Copy and paste the below code and put into a text file and change its extension to be ".js". Put it into your [=UserJS=] folder. Make one if you don't have one.||Get the extension [[https://addons.mozilla.org/en-US/firefox/addon/748/ Greasemonkey]].||
||Go into the browser preferences(Ctrl+F12 by default) and select the content tab of the advanced tab. Click on Javascript Options and choose your [=UserJS=] folder on the bottom.||Right click on your Greasemonkey and select New User Script... Enter a name and a namespace, and put "http://tvtropes.org/pmwiki/posts.php?*" into the include space. Click okay, then copy-paste the below code into the script.||
!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);=]@@[[/folder]]
||'''Opera'''||'''Firefox'''||
||Copy and paste the below code and put into a text file and change its extension to be ".js". Put it into your [=UserJS=] folder. Make one if you don't have one.||Get the extension [[https://addons.mozilla.org/en-US/firefox/addon/748/ Greasemonkey]].||
||Go into the browser preferences(Ctrl+F12 by default) and select the content tab of the advanced tab. Click on Javascript Options and choose your [=UserJS=] folder on the bottom.||Right click on your Greasemonkey and select New User Script... Enter a name and a namespace, and put "http://tvtropes.org/pmwiki/posts.php?*" into the include space. Click okay, then copy-paste the below code into the script.||
!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);=]@@[[/folder]]
to:
||'''Opera'''||'''Firefox'''||
||Copy
Here's what I have
||Go into the browser preferences(Ctrl+F12 by default) and select the content tab
[[folder:Video Game Tropes]]
!GameMechanics
!! PointsOfGames - The various types of numerical points in video games.
* ScoringPoints - Points to keep track of the score.
* HitPoints - Numerical evaluation of a character's health.
** LifeMeter - Visual non-numerical representation of the numerical HitPoints.
** BodyArmorAsHitPoints - Armor acts like extra HitPoints.
** OneHitPointWonder - The Player-character only has one [[HitPoints Hit Point]].
** CastFromHitPoints - Use of HitPoints for things other than taking damage.
* MagicPoints({{Mana}}) - Numerical evaluation of characer's magic and skill usage-ability.
** ManaMeter - Visual non-numerical representation of the numerical MagicPoints.
* ExperiencePoints - Used in LevelSystem. Gain to level up characters.
** NoExperiencePointsForMedic - Healing characters have a more difficult time getting experience compared to other characters.
* AlternateExperiencePoints - Used to level up other things, or get new skills/magic.
** TechPoints - Used to passively get new spells or skills at certain intervals.
** AbilityPoints - Use to get new spells or skills from equipment.
** JobPoints - Gained gradually and spent on new spells or skills.
** SkillPoints - Gained at level to spend on new spells or skills.
* AttributePoints - Used to raise a character's base attributes.
!! GameCharacterSystems
* CharacterLevel - Gain exeperience and level up.
* CharacterRace - Different fantasy races can be used, usually with differing abilities.
* CharacterClass - A mechanical character archtype defining player[=/=]character role...
** RPGClassSystem - ...as used in [=RPGs=].
*** PrestigeClass - A more advanced
** FPSClassSystem - ...as used in FPS[=/=]Action games.
** CommonCharacterClasses - A list of common character classes.
** FighterMageThief - Three classes that are the common three-choice archtypes.
* PointBuildSystem - The gain of [[AlternateExperiencePoints Alternate Experience]] or AttributePoints to define the character.
* CharacterCustomization - A part of a game where the player can customize many different aspects of a character.
!! GameItemsAndInventory
* StandardRPGItems
** FixedHealingItems
** StatusHealItem
*** AllStatusHealItem
** MagicPointRecoveryItem
** RevivalItems
** MonsterRepelItem
!!! InventorySystems
* SlotInventoryStyles - How items go into slots.
** OneItemOneSlot - You have a certain number of "slots" and can put, at most, a single item into each slot. To put in another way, each item goes into its own slot, multiple items goes into multiples slots. No stacking.
** OneSlotManyItems - Each slot in the inventory space can hold X number of any item, where X is usually 99, sometimes 30, and less often 1, and rarely some other number.
** OneSlotVariableItems - Each slot in the inventory space can carry a variable number of items, depending on the
** VariableSlotItems - Items can take up multiple slots, and
* InventoryBagTypes - Who gets the items.
** IndividualCharacterInventory - Each character has their own inventory.
** PartyInventory - The party has a
** MixedInventorySystem - Individual character have their own inventory and there is also a
* InventoryInterfaces - Display of inventory.
** GridInventory - Listed in a grid.
** ListInventory - Listed in a... list.
** TableInventory - Listed like a table.
** RingInventory - Shown in a circle.
* BagOfSharing - Shared inventory between characters.
* BagOfSpilling - Inventory lost between instalments.
!! VideoGameHealing - A SuperTrope about the AcceptableBreakFromReality of healing in video games typically being dramatically faster than in RealLife
* VideoGameRegenerationMechanics - SuperTrope for gradual health[=/=]MagicPoints regeneration mechanics in video games. Not to be confused with health recovery, which works instantly. Alternate name: RegeneratingHealth?
** RegeneratingBreather - The mechanic where the character quickly regenerates their health or armour or shields if they haven't been hit in a while, been detected in a while, or by putting the character in a certain position(like leaning or crouching). (Under [[http://tvtropes.org/pmwiki/posts.
*** RedBarHealing - This mechanic is common in Fighting games although it appears in other genres as well. Basically where when a character gets hit, they can heal a portion of that damage over time as long as they don't get hit again. The amount of damage that can be healed is typically represented by a red portion of their health bar. Different from RegeneratingBreather in that once the cahracter gets hit, the character cannot regenerate health above the point where the character was before the character got hit.
** HealingOverTime - A spell or an ability in a video game that heals its target over a period of time. Named after what people seem to call HoTs in WorldOfWarcraft.
** RegeneratingWalk - A mechanic in video games where the act of walking or movement actively regenerates the character's life, MagicPoints, or something else.
* HealThyself - Where the act of picking up an item automatically heals the user.
* HealingPotion - A usable item that heals the user.
* HealingMagic - Spells that can be used to heal video game characters. Not to be confused with WhiteMagic, which can also protect or even harm.
** CombatExclusiveHealing - Where such spells can't be used out of combat.
* TraumaInn - Inns and other resting places can restore all the characters' health. Should proabbly be expanded to include
!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
// Additional handles can be added, keep them within quotation marks and make sure
* AfterBossRecovery - Everybody goes back to
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
* AfterCombatRecovery - Everybody goes back to
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);=]@@[[/folder]]
Deleted line(s) 246,705 (click to see context) :
[[folder: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;")
}
}=]@@[[/folder]]
----
I'm interested in {{Video Game}}s and organization. From that, it goes to follow that I'm interested in organizing {{Video Game}} {{Trope}}s.
Here's what I have so far(I'll expand it over time):
[[folder:Video Game Tropes]]
!GameMechanics
!! PointsOfGames - The various types of numerical points in video games.
* ScoringPoints - Points to keep track of the score.
* HitPoints - Numerical evaluation of a character's health.
** LifeMeter - Visual non-numerical representation of the numerical HitPoints.
** BodyArmorAsHitPoints - Armor acts like extra HitPoints.
** OneHitPointWonder - The Player-character only has one [[HitPoints Hit Point]].
** CastFromHitPoints - Use of HitPoints for things other than taking damage.
* MagicPoints({{Mana}}) - Numerical evaluation of characer's magic and skill usage-ability.
** ManaMeter - Visual non-numerical representation of the numerical MagicPoints.
* ExperiencePoints - Used in LevelSystem. Gain to level up characters.
** NoExperiencePointsForMedic - Healing characters have a more difficult time getting experience compared to other characters.
* AlternateExperiencePoints - Used to level up other things, or get new skills/magic.
** TechPoints - Used to passively get new spells or skills at certain intervals.
** AbilityPoints - Use to get new spells or skills from equipment.
** JobPoints - Gained gradually and spent on new spells or skills.
** SkillPoints - Gained at level to spend on new spells or skills.
* AttributePoints - Used to raise a character's base attributes.
!! GameCharacterSystems
* CharacterLevel - Gain exeperience and level up.
* CharacterRace - Different fantasy races can be used, usually with differing abilities.
* CharacterClass - A mechanical character archtype defining player[=/=]character role...
** RPGClassSystem - ...as used in [=RPGs=].
*** PrestigeClass - A more advanced and unlockable class.
** FPSClassSystem - ...as used in FPS[=/=]Action games.
** CommonCharacterClasses - A list of common character classes.
** FighterMageThief - Three classes that are the common three-choice archtypes.
* PointBuildSystem - The gain of [[AlternateExperiencePoints Alternate Experience]] or AttributePoints to define the character.
* CharacterCustomization - A part of a game where the player can customize many different aspects of a character.
!! GameItemsAndInventory
* StandardRPGItems
** FixedHealingItems
** StatusHealItem
*** AllStatusHealItem
** MagicPointRecoveryItem
** RevivalItems
** MonsterRepelItem
!!! InventorySystems
* SlotInventoryStyles - How items go into slots.
** OneItemOneSlot - You have a certain number of "slots" and can put, at most, a single item into each slot. To put in another way, each item goes into its own slot, multiple items goes into multiples slots. No stacking.
** OneSlotManyItems - Each slot in the inventory space can hold X number of any item, where X is usually 99, sometimes 30, and less often 1, and rarely some other number.
** OneSlotVariableItems - Each slot in the inventory space can carry a variable number of items, depending on the item. Most of the time, you can only have one piece of equipment per slot but multiple consumable items in the same slot. Multiple items in a single slot in this case are typically called ItemStacks.
** VariableSlotItems - Items can take up multiple slots, and sometimes [[ItemStack multiple items of the same type can also take up the same slot.]]
* InventoryBagTypes - Who gets the items.
** IndividualCharacterInventory - Each character has their own inventory.
** PartyInventory - The party has a BagOfSharing.
** MixedInventorySystem - Individual character have their own inventory and there is also a shared BagOfSharing.
* InventoryInterfaces - Display of inventory.
** GridInventory - Listed in a grid.
** ListInventory - Listed in a... list.
** TableInventory - Listed like a table.
** RingInventory - Shown in a circle.
* BagOfSharing - Shared inventory between characters.
* BagOfSpilling - Inventory lost between instalments.
!! VideoGameHealing - A SuperTrope about the AcceptableBreakFromReality of healing in video games typically being dramatically faster than in RealLife
* VideoGameRegenerationMechanics - SuperTrope for gradual health[=/=]MagicPoints regeneration mechanics in video games. Not to be confused with health recovery, which works instantly. Alternate name: RegeneratingHealth?
** RegeneratingBreather - The mechanic where the character quickly regenerates their health or armour or shields if they haven't been hit in a while, been detected in a while, or by putting the character in a certain position(like leaning or crouching). (Under [[http://tvtropes.org/pmwiki/posts.php?discussion=y4a531unztpn3cf7dar5cyc9 repair.]])
*** RedBarHealing - This mechanic is common in Fighting games although it appears in other genres as well. Basically where when a character gets hit, they can heal a portion of that damage over time as long as they don't get hit again. The amount of damage that can be healed is typically represented by a red portion of their health bar. Different from RegeneratingBreather in that once the cahracter gets hit, the character cannot regenerate health above the point where the character was before the character got hit.
** HealingOverTime - A spell or an ability in a video game that heals its target over a period of time. Named after what people seem to call HoTs in WorldOfWarcraft.
** RegeneratingWalk - A mechanic in video games where the act of walking or movement actively regenerates the character's life, MagicPoints, or something else.
* HealThyself - Where the act of picking up an item automatically heals the user.
* HealingPotion - A usable item that heals the user.
* HealingMagic - Spells that can be used to heal video game characters. Not to be confused with WhiteMagic, which can also protect or even harm.
** CombatExclusiveHealing - Where such spells can't be used out of combat.
* TraumaInn - Inns and other resting places can restore all the characters' health. Should proabbly be expanded to include all forms of resting, or at least sleeping, doing the same; but that's for another thread.
* AfterBossRecovery - Everybody goes back to full health after boss battles.
* AfterCombatRecovery - Everybody goes back to full health automatically after combat.[[/folder]]
----
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;")
}
}=]@@[[/folder]]
----
I'm interested in {{Video Game}}s and organization. From that, it goes to follow that I'm interested in organizing {{Video Game}} {{Trope}}s.
Here's what I have so far(I'll expand it over time):
[[folder:Video Game Tropes]]
!GameMechanics
!! PointsOfGames - The various types of numerical points in video games.
* ScoringPoints - Points to keep track of the score.
* HitPoints - Numerical evaluation of a character's health.
** LifeMeter - Visual non-numerical representation of the numerical HitPoints.
** BodyArmorAsHitPoints - Armor acts like extra HitPoints.
** OneHitPointWonder - The Player-character only has one [[HitPoints Hit Point]].
** CastFromHitPoints - Use of HitPoints for things other than taking damage.
* MagicPoints({{Mana}}) - Numerical evaluation of characer's magic and skill usage-ability.
** ManaMeter - Visual non-numerical representation of the numerical MagicPoints.
* ExperiencePoints - Used in LevelSystem. Gain to level up characters.
** NoExperiencePointsForMedic - Healing characters have a more difficult time getting experience compared to other characters.
* AlternateExperiencePoints - Used to level up other things, or get new skills/magic.
** TechPoints - Used to passively get new spells or skills at certain intervals.
** AbilityPoints - Use to get new spells or skills from equipment.
** JobPoints - Gained gradually and spent on new spells or skills.
** SkillPoints - Gained at level to spend on new spells or skills.
* AttributePoints - Used to raise a character's base attributes.
!! GameCharacterSystems
* CharacterLevel - Gain exeperience and level up.
* CharacterRace - Different fantasy races can be used, usually with differing abilities.
* CharacterClass - A mechanical character archtype defining player[=/=]character role...
** RPGClassSystem - ...as used in [=RPGs=].
*** PrestigeClass - A more advanced and unlockable class.
** FPSClassSystem - ...as used in FPS[=/=]Action games.
** CommonCharacterClasses - A list of common character classes.
** FighterMageThief - Three classes that are the common three-choice archtypes.
* PointBuildSystem - The gain of [[AlternateExperiencePoints Alternate Experience]] or AttributePoints to define the character.
* CharacterCustomization - A part of a game where the player can customize many different aspects of a character.
!! GameItemsAndInventory
* StandardRPGItems
** FixedHealingItems
** StatusHealItem
*** AllStatusHealItem
** MagicPointRecoveryItem
** RevivalItems
** MonsterRepelItem
!!! InventorySystems
* SlotInventoryStyles - How items go into slots.
** OneItemOneSlot - You have a certain number of "slots" and can put, at most, a single item into each slot. To put in another way, each item goes into its own slot, multiple items goes into multiples slots. No stacking.
** OneSlotManyItems - Each slot in the inventory space can hold X number of any item, where X is usually 99, sometimes 30, and less often 1, and rarely some other number.
** OneSlotVariableItems - Each slot in the inventory space can carry a variable number of items, depending on the item. Most of the time, you can only have one piece of equipment per slot but multiple consumable items in the same slot. Multiple items in a single slot in this case are typically called ItemStacks.
** VariableSlotItems - Items can take up multiple slots, and sometimes [[ItemStack multiple items of the same type can also take up the same slot.]]
* InventoryBagTypes - Who gets the items.
** IndividualCharacterInventory - Each character has their own inventory.
** PartyInventory - The party has a BagOfSharing.
** MixedInventorySystem - Individual character have their own inventory and there is also a shared BagOfSharing.
* InventoryInterfaces - Display of inventory.
** GridInventory - Listed in a grid.
** ListInventory - Listed in a... list.
** TableInventory - Listed like a table.
** RingInventory - Shown in a circle.
* BagOfSharing - Shared inventory between characters.
* BagOfSpilling - Inventory lost between instalments.
!! VideoGameHealing - A SuperTrope about the AcceptableBreakFromReality of healing in video games typically being dramatically faster than in RealLife
* VideoGameRegenerationMechanics - SuperTrope for gradual health[=/=]MagicPoints regeneration mechanics in video games. Not to be confused with health recovery, which works instantly. Alternate name: RegeneratingHealth?
** RegeneratingBreather - The mechanic where the character quickly regenerates their health or armour or shields if they haven't been hit in a while, been detected in a while, or by putting the character in a certain position(like leaning or crouching). (Under [[http://tvtropes.org/pmwiki/posts.php?discussion=y4a531unztpn3cf7dar5cyc9 repair.]])
*** RedBarHealing - This mechanic is common in Fighting games although it appears in other genres as well. Basically where when a character gets hit, they can heal a portion of that damage over time as long as they don't get hit again. The amount of damage that can be healed is typically represented by a red portion of their health bar. Different from RegeneratingBreather in that once the cahracter gets hit, the character cannot regenerate health above the point where the character was before the character got hit.
** HealingOverTime - A spell or an ability in a video game that heals its target over a period of time. Named after what people seem to call HoTs in WorldOfWarcraft.
** RegeneratingWalk - A mechanic in video games where the act of walking or movement actively regenerates the character's life, MagicPoints, or something else.
* HealThyself - Where the act of picking up an item automatically heals the user.
* HealingPotion - A usable item that heals the user.
* HealingMagic - Spells that can be used to heal video game characters. Not to be confused with WhiteMagic, which can also protect or even harm.
** CombatExclusiveHealing - Where such spells can't be used out of combat.
* TraumaInn - Inns and other resting places can restore all the characters' health. Should proabbly be expanded to include all forms of resting, or at least sleeping, doing the same; but that's for another thread.
* AfterBossRecovery - Everybody goes back to full health after boss battles.
* AfterCombatRecovery - Everybody goes back to full health automatically after combat.[[/folder]]
----
Is there an issue? Send a MessageReason:
1.13 version of the Ignore extension
Changed line(s) 80 (click to see context) from:
!Current version: 1.12
to:
!Current version: 1.1213
Changed line(s) 107,108 (click to see context) from:
header[curNum] = divs[i];
tName[curNum] = divs[i].childNodes[3].innerHTML;
tName[curNum] = divs[i].childNodes[3].innerHTML;
to:
header[curNum] = divs[i];
divs[i].childNodes[0];
tName[curNum] = divs[i].childNodes[0].childNodes[3].innerHTML;
tName[curNum] = divs[i].childNodes[0].childNodes[3].innerHTML;
Changed line(s) 149 (click to see context) from:
!Hide Names Version 1.12
to:
!Hide Names Version 1.1213
Changed line(s) 180 (click to see context) from:
header[curNum] = divs[i];
to:
header[curNum] = divs[i];divs[i].childNodes[0];
Changed line(s) 182 (click to see context) from:
tName[curNum] = divs[i].childNodes[3].innerHTML;
to:
tName[curNum] = divs[i].childNodes[0].childNodes[3].innerHTML;
Changed line(s) 252,253 (click to see context) from:
Version: 1.06
@@[=addEventListener('load', function (e)
@@[=addEventListener('load', function (e)
to:
@@[=addEventListener('load',
// @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)
Changed line(s) 255,260 (click to see context) from:
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");
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");
to:
// 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 =new Array();
ignoreList[0] = "Troper Name Here";
ignoreList[1] =["Troper Handle Here", "Another Troper Here";
ignoreList[2] =Handle Here", "As Many As You Want";
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 as = document.getElementsByTagName("a");getElementsByTagName("div");
// Additional handles can be added, keep them within quotation marks and make sure to have a comma between each one.
var ignoreList =
ignoreList[0] = "Troper Name Here";
ignoreList[1] =
ignoreList[2] =
// 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.
// 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.
// header and body tags. Makes sure they are connected by their array index.
tName[curNum] = divs[i].childNodes[3].innerHTML;
Changed line(s) 277,278 (click to see context) from:
var j = 0;
for(i=0; i<as.length; i++)
for(i=0; i<as.length; i++)
to:
// Stores the the post toggle buttons.
var
var button = new Array();
for(i=0;
Changed line(s) 280 (click to see context) from:
if(as[i].getAttribute("class") == "tropername")
to:
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++)
Changed line(s) 282,283 (click to see context) from:
tName[j] = as[i].innerHTML;
j++;
j++;
to:
body[i].style.display =
j++;
Changed line(s) 287,290 (click to see context) from:
var buttonNum = 0;
var button = new Array();
for(i=0; i<curNum; i++)
var button = new Array();
for(i=0; i<curNum; i++)
to:
var button = new Array();
for(i=0; i<curNum; i++)
function addToggle(bodyNum, clicker)
Deleted line(s) 292,307 (click to see context) :
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)
{
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)
{
Changed line(s) 315,316 (click to see context) from:
Older:
@@[=addEventListener('load', function (e)
@@[=addEventListener('load', function (e)
to:
@@[=addEventListener('load',
@@[=// ==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)
Changed line(s) 318,322 (click to see context) from:
var ignoreList = new Array();
ignoreList[0] = "Troper Name Here";
ignoreList[1] = "Another Troper Here";
ignoreList[2] = "As Many As You Want";
ignoreList[0] = "Troper Name Here";
ignoreList[1] = "Another Troper Here";
ignoreList[2] = "As Many As You Want";
to:
// 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 =new Array();
ignoreList[0] = "Troper Name Here";
ignoreList[1] =["Troper Handle Here", "Another Troper Here";
ignoreList[2] =Handle Here", "As Many As You Want";
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.
// Additional handles can be added, keep them within quotation marks and make sure to have a comma between each one.
var ignoreList =
ignoreList[0] = "Troper Name Here";
ignoreList[1] =
ignoreList[2] =
// 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.
Changed line(s) 324 (click to see context) from:
var header = new Array(); var body = new Array();
to:
var header = new Array(); var body = new Array(); var tName = new Array();
// 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 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.
tempHeader[curNum] = header[curNum].cloneNode(true);
tName[curNum] = divs[i].childNodes[3].innerHTML;
tName[curNum] = divs[i].childNodes[3].innerHTML;
// Stores the the post toggle buttons.
Changed line(s) 343,344 (click to see context) from:
var username; var iDisplay;
to:
// Creates post toggle buttons to each post and adds the toggle functionality to them.
Changed line(s) 349 (click to see context) from:
button[buttonNum].setAttribute("style", "cursor: pointer; height: 16px; width:16px; position:absolute; right:15px;");
to:
button[buttonNum].setAttribute("style", "cursor: pointer; height: 16px; width:16px; position:absolute; right:15px;");float:right;");
Changed line(s) 354,355 (click to see context) from:
username = header[i].childNodes[3].innerHTML;
iDisplay = body[i].style.display;
iDisplay = body[i].style.display;
to:
iDisplay = body[i].style.display;
Changed line(s) 358 (click to see context) from:
iDisplay = (username == ignoreList[j]) ? "none" : "block";
to:
{
// 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.
Changed line(s) 366 (click to see context) from:
bs.display = (bs.display !== 'none') ? 'none' : 'block';
to:
{
// 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;
}
Changed line(s) 370,379 (click to see context) from:
----
@@[=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++)
@@[=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++)
to:
@@[=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++)
Version: 1.06
@@[=addEventListener('load', function (e)
Changed line(s) 381 (click to see context) from:
if(divs[i].getAttribute("class") == "forumreplyheader")
to:
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")
Changed line(s) 383,384 (click to see context) from:
h[hNum] = divs[i];
hNum++;
hNum++;
to:
hNum++;
Changed line(s) 386 (click to see context) from:
if(divs[i].getAttribute("class") == "forumreplybody")
to:
Changed line(s) 388,389 (click to see context) from:
b[bNum] = divs[i];
bNum++;
bNum++;
to:
Changed line(s) 392,394 (click to see context) from:
for(i=0; i<hNum; i++)
to:
for(i=0;
Changed line(s) 396,397 (click to see context) from:
var username = h[i].childNodes[3].innerHTML;
for(j=0; j<ignoreList.length; j++)
for(j=0; j<ignoreList.length; j++)
to:
for(j=0; j<ignoreList.length; j++)
Changed line(s) 399,403 (click to see context) from:
if(username == ignoreList[j])
{
b[i].setAttribute("style","display:none;");
}
{
b[i].setAttribute("style","display:none;");
}
to:
{
b[i].setAttribute("style","display:none;");
}
j++;
Changed line(s) 405,415 (click to see context) from:
}=]@@
----
@@[=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++)
----
@@[=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++)
to:
----
@@[=var ignoreList = new Array();
ignoreList[0] = "Ponicalica";
ignoreList[1] = "Fast Eddie";
ignoreList[2] = "Meophist";
var
var h = new Array(); var hNum
var
for(i=0;
Changed line(s) 417 (click to see context) from:
if(divs[i].getAttribute("class") == "forumreplyheader")
to:
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++)
Changed line(s) 419,420 (click to see context) from:
h[hNum] = divs[i];
hNum++;
hNum++;
to:
body[i].style.display =
hNum++;
Deleted line(s) 422,426 (click to see context) :
if(divs[i].getAttribute("class") == "forumreplybody")
{
b[bNum] = divs[i];
bNum++;
}
{
b[bNum] = divs[i];
bNum++;
}
Changed line(s) 429,432 (click to see context) from:
var buttonNum = 0;
var button = new Array();
for(i=0; i<hNum; i++)
var button = new Array();
for(i=0; i<hNum; i++)
to:
var button = new Array();
for(i=0; i<hNum; i++)
Changed line(s) 434,449 (click to see context) from:
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);
}
}
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);
}
}
to:
var username bs = h[i].childNodes[3].innerHTML;
for(j=0; j<ignoreList.length; j++)
body[bodyNum].style;
clicker.addEventListener('click', function() {
if(username == ignoreList[j])
{
button[buttonNum]bs.display = 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);
}
}(bs.display !== 'none') ? 'none' : 'block';
}, false);
for(j=0; j<ignoreList.length; j++)
clicker.addEventListener('click', function() {
{
button[buttonNum]
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);
}
}
}, false);
Changed line(s) 451,452 (click to see context) from:
function toggleDisplay(num)
to:
Older:
@@[=addEventListener('load', function
Changed line(s) 454 (click to see context) from:
if(b[num].getAttribute("style") == "display:none;")
to:
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 ==
Changed line(s) 456 (click to see context) from:
b[num].setAttribute("style","display:block;")
to:
Changed line(s) 458 (click to see context) from:
else
to:
Changed line(s) 460 (click to see context) from:
b[num].setAttribute("style","display:none;")
to:
curNum++;
Changed line(s) 462 (click to see context) from:
}=]@@[[/folder]]
to:
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);=]@@
Added DiffLines:
@@[=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;")
}
}=]@@[[/folder]]
----
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;")
}
}=]@@[[/folder]]
----
Is there an issue? Send a MessageReason:
None
Added DiffLines:
* No love for Chrome? -Tropers/{{deathpigeon}}
Is there an issue? Send a MessageReason:
None
Added DiffLines:
* As far as, well, ''that'' goes, I believe you 100%. Not sure why. Just hope it stops relatively soon and you can actually get in a relationship or something of the sort. -{{Tropers/Deathonabun}}
Is there an issue? Send a MessageReason:
None
Changed line(s) 93 (click to see context) from:
// Initializing additional variables. divs is a collection of div tags, as is a collection of a tags.
to:
// Initializing additional variables. divs is a collection of div tags, as is a collection of a tags.
Changed line(s) 96 (click to see context) from:
var divs = document.getElementsByTagName("div"); var as = document.getElementsByTagName("a");
to:
var divs = document.getElementsByTagName("div"); var as = document.getElementsByTagName("a");getElementsByTagName("div");
tName[curNum] = divs[i].childNodes[3].innerHTML;
Changed line(s) 116,118 (click to see context) from:
// Goes through the a tags and retrieves the toper names.
var j = 0;
for(i=0; i<as.length; i++)
var j = 0;
for(i=0; i<as.length; i++)
to:
// Goes through Stores the a tags and retrieves the toper names.
post toggle buttons.
varj buttonNum = 0;
var button = new Array();
for(i=0;i<as.length; i<curNum; i++)
var
var button = new Array();
for(i=0;
Changed line(s) 120 (click to see context) from:
if((as[i].getAttribute("class") == "twikilink" || as[i].getAttribute("class") == "createlink") && as[i].parentNode.getAttribute("class") == "forumreplyheader")
to:
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++)
Changed line(s) 122,123 (click to see context) from:
tName[j] = as[i].innerHTML;
j++;
j++;
to:
body[i].style.display =
j++;
Changed line(s) 127,131 (click to see context) from:
// Stores the the post toggle buttons.
var buttonNum = 0;
var button = new Array();
for(i=0; i<curNum; i++)
var buttonNum = 0;
var button = new Array();
for(i=0; i<curNum; i++)
to:
// Stores Toggles the the post toggle buttons.
var buttonNum = 0;
var button = new Array();
for(i=0; i<curNum; i++)body of a given post.
function addToggle(bodyNum, clicker)
var buttonNum = 0;
var button = new Array();
for(i=0; i<curNum; i++)
function addToggle(bodyNum, clicker)
Changed line(s) 133,146 (click to see context) from:
// 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";
}
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";
}
to:
button[buttonNum]
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++)
clicker.addEventListener('click', function() {
body[i].style.
}
}, false);
Deleted line(s) 148,156 (click to see context) :
// 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);
}
Changed line(s) 172 (click to see context) from:
// Initializing additional variables. divs is a collection of div tags, as is a collection of a tags.
to:
// Initializing additional variables. divs is a collection of div tags, as is a collection of a tags.
Changed line(s) 175 (click to see context) from:
var divs = document.getElementsByTagName("div"); var as = document.getElementsByTagName("a");
to:
var divs = document.getElementsByTagName("div"); var as = document.getElementsByTagName("a");getElementsByTagName("div");
tName[curNum] = divs[i].childNodes[3].innerHTML;
Changed line(s) 200,202 (click to see context) from:
// Goes through the a tags and retrieves the toper names.
var j = 0;
for(i=0; i<as.length; i++)
var j = 0;
for(i=0; i<as.length; i++)
to:
// Goes through Stores the a tags and retrieves the toper names.
post toggle buttons.
varj buttonNum = 0;
var button = new Array();
for(i=0;i<as.length; i<curNum; i++)
var
var button = new Array();
for(i=0;
Changed line(s) 204 (click to see context) from:
if((as[i].getAttribute("class") == "twikilink" || as[i].getAttribute("class") == "createlink") && as[i].parentNode.getAttribute("class") == "forumreplyheader")
to:
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++)
Changed line(s) 206,207 (click to see context) from:
tName[j] = as[i].innerHTML;
j++;
j++;
to:
{
// Hides the Ignored user's name.
header[i].childNodes[3].innerHTML =
j++;
// Hides post time and location.
header[i].childNodes[5].innerHTML = "";
body[i].style.display = "none";
}
Changed line(s) 211,215 (click to see context) from:
// Stores the the post toggle buttons.
var buttonNum = 0;
var button = new Array();
for(i=0; i<curNum; i++)
var buttonNum = 0;
var button = new Array();
for(i=0; i<curNum; i++)
to:
// Stores Toggles the the post toggle buttons.
var buttonNum = 0;
var button = new Array();
for(i=0; i<curNum; i++)body of a given post.
function addToggle(bodyNum, clicker)
var buttonNum = 0;
var button = new Array();
for(i=0; i<curNum; i++)
function addToggle(bodyNum, clicker)
Changed line(s) 217,228 (click to see context) from:
// 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])
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])
to:
button[buttonNum]
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++)
clicker.addEventListener('click', function() {
// Hides post body.
bs.display = 'none';
bs.display = 'none';
Changed line(s) 231 (click to see context) from:
header[i].childNodes[3].innerHTML = ignoredUserString;
to:
Changed line(s) 233,234 (click to see context) from:
header[i].childNodes[5].innerHTML = "";
body[i].style.display = "none";
body[i].style.display = "none";
to:
body[i].style.display = "none";
Changed line(s) 236,244 (click to see context) from:
}
}
// Toggles the body of a given post.
function addToggle(bodyNum, clicker)
{
var bs = body[bodyNum].style;
clicker.addEventListener('click', function() {
if (bs.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')
to:
}
// Toggles the body of a given post.
function addToggle(bodyNum, clicker)
{
var bs = body[bodyNum].style;
clicker.addEventListener('click', function() {
if (bs.display !== 'none')
Deleted line(s) 246,254 (click to see context) :
// 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
{
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
{
Is there an issue? Send a MessageReason:
Fixed bug.
Changed line(s) 120 (click to see context) from:
if(as[i].getAttribute("class") == "twikilink" || as[i].getAttribute("class") == "createlink")
to:
Changed line(s) 204 (click to see context) from:
if(as[i].getAttribute("class") == "twikilink" || as[i].getAttribute("class") == "createlink")
to:
Is there an issue? Send a MessageReason:
Some site changes broke the script, so I fixed it.
Changed line(s) 1,2 (click to see context) from:
Since this is my page, I suppose I'll experiment with stuff here. [[supersecretspoiler:Current status: 55% or 1650.]]
to:
Since this is my page, I suppose I'll experiment with stuff here. [[supersecretspoiler:Current status: 55% or 1650.]]
here.
Changed line(s) 80 (click to see context) from:
!Current version: 1.11
to:
!Current version: 1.1112
Changed line(s) 120 (click to see context) from:
if(as[i].getAttribute("class") == "tropername")
to:
if(as[i].getAttribute("class") == "tropername")"twikilink" || as[i].getAttribute("class") == "createlink")
Changed line(s) 159 (click to see context) from:
!Hide Names Version 1.11
to:
!Hide Names Version 1.1112
Changed line(s) 204 (click to see context) from:
if(as[i].getAttribute("class") == "tropername")
to:
if(as[i].getAttribute("class") == "tropername")"twikilink" || as[i].getAttribute("class") == "createlink")
Is there an issue? Send a MessageReason:
Made the scripts a bit more flexible.
Changed line(s) 80 (click to see context) from:
!Current version: 1.10
to:
!Current version: 1.1011
Changed line(s) 136 (click to see context) from:
button[buttonNum].setAttribute("style", "cursor: pointer; height: 16px; width:16px; position:absolute; right:15px;");
to:
button[buttonNum].setAttribute("style", "cursor: pointer; height: 16px; width:16px; position:absolute; right:15px;");float:right;");
Changed line(s) 159 (click to see context) from:
!Hide Names Version 1.10
to:
!Hide Names Version 1.1011
Changed line(s) 220 (click to see context) from:
button[buttonNum].setAttribute("style", "cursor: pointer; height: 16px; width:16px; position:absolute; right:15px;");
to:
button[buttonNum].setAttribute("style", "cursor: pointer; height: 16px; width:16px; position:absolute; right:15px;");float:right;");
Is there an issue? Send a MessageReason:
None
Added DiffLines:
* You're one of the most interesting people. Sometimes I wonder if you're just making it up. - Tropers/{{Grain}}
Is there an issue? Send a MessageReason:
None
Changed line(s) 91,92 (click to see context) from:
var ignoreList = ["Troper Handle Here", "Another Handle Here", "As Many As You Want"]
to:
var ignoreList = ["Troper Handle Here", "Another Handle Here", "As Many As You Want"]
Want"];
Is there an issue? Send a MessageReason:
None
Changed line(s) 80 (click to see context) from:
Current version: 1.10
to:
Changed line(s) 159 (click to see context) from:
Hide Names Version 1.10
to:
Is there an issue? Send a MessageReason:
None
Changed line(s) 170,171 (click to see context) from:
var ignoreList = ["Troper Handle Here", "Another Handle Here", "As Many As You Want", "Meophist"]
to:
var ignoreList = ["Troper Handle Here", "Another Handle Here", "As Many As You Want", "Meophist"]
Want"]
Is there an issue? Send a MessageReason:
New ignore script version.
Changed line(s) 157,166 (click to see context) from:
}, false);=]@@[[/folder]]
----
[[folder: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):\\
Version: 1.06
@@[=addEventListener('load', function (e)
----
[[folder: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):\\
Version: 1.06
@@[=addEventListener('load', function (e)
to:
}, false);=]@@[[/folder]]
----
[[folder: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;}=]@@
----
false);=]@@
Hide Names Version 1.10
@@[=// ==UserScript==
// @name = TVTropes Ignoreextension(obsolete, newest first):\\
Version: 1.06
@@[=addEventListener('load',Script
// @namespace = http://tvtropes.org/pmwiki/pmwiki.php/Tropers/Meophist
// @include http://tvtropes.org/pmwiki/posts.php?*
// ==/UserScript==
addEventListener('load', function (e)
----
[[folder: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;}=]@@
----
Hide Names Version 1.10
@@[=// ==UserScript==
// @name = TVTropes Ignore
Version: 1.06
@@[=addEventListener('load',
// @namespace = http://tvtropes.org/pmwiki/pmwiki.php/Tropers/Meophist
// @include http://tvtropes.org/pmwiki/posts.php?*
// ==/UserScript==
addEventListener('load', function (e)
Changed line(s) 168,172 (click to see context) from:
var ignoreList = new Array();
ignoreList[0] = "Troper Name Here";
ignoreList[1] = "Another Troper Here";
ignoreList[2] = "As Many As You Want";
ignoreList[0] = "Troper Name Here";
ignoreList[1] = "Another Troper Here";
ignoreList[2] = "As Many As You Want";
to:
// 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 =new Array();
ignoreList[0] = "Troper Name Here";
ignoreList[1] =["Troper Handle Here", "Another Troper Here";
ignoreList[2] =Handle Here", "As Many As You Want";
Want", "Meophist"]
// Initializing additional variables. divs is a collection of div tags, as is a collection of a 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.
// Additional handles can be added, keep them within quotation marks and make sure to have a comma between each one.
var ignoreList =
ignoreList[0] = "Troper Name Here";
ignoreList[1] =
ignoreList[2] =
// Initializing additional variables. divs is a collection of div tags, as is a collection of a 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.
// 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 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.
tempHeader[curNum] = header[curNum].cloneNode(true);
// Goes through the a tags and retrieves the toper names.
// Stores the the post toggle buttons.
// Creates post toggle buttons to each post and adds the toggle functionality to them.
// If the poster name matches one in the ignore list, the post's body is hidden.
{
// Hides the Ignored user's name.
header[i].childNodes[3].innerHTML = ignoredUserString;
// Hides post time and location.
header[i].childNodes[5].innerHTML = "";
// Hides the Ignored user's name.
header[i].childNodes[3].innerHTML = ignoredUserString;
// Hides post time and location.
header[i].childNodes[5].innerHTML = "";
}
// Toggles the body of a given post.
Changed line(s) 223 (click to see context) from:
bs.display = (bs.display !== 'none') ? 'none' : 'block';
to:
{
// 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;
}
Changed line(s) 226,228 (click to see context) from:
}, false);=]@@
Older:
Older:
to:
}, false);=]@@
Older:false);=]@@[[/folder]]
----
[[folder: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):\\
Version: 1.06
Older:
----
[[folder: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):\\
Version: 1.06
Changed line(s) 236,237 (click to see context) from:
var divs = document.getElementsByTagName("div");
var header = new Array(); var body = new Array();
var header = new Array(); var body = new Array();
to:
var divs = document.getElementsByTagName("div");
getElementsByTagName("div"); var as = document.getElementsByTagName("a");
var header = new Array(); var body = new Array(); var tName = new Array();
var header = new Array(); var body = new Array(); var tName = new Array();
Changed line(s) 253,258 (click to see context) from:
var buttonNum = 0;
var button = new Array();
var username; var iDisplay;
for(i=0; i<curNum; i++)
to:
var username; var iDisplay;
Changed line(s) 260,269 (click to see context) from:
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++)
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++)
to:
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++)
Changed line(s) 271 (click to see context) from:
iDisplay = (username == ignoreList[j]) ? "none" : "block";
to:
j++;
Changed line(s) 275 (click to see context) from:
function addToggle(bodyNum, clicker)
to:
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)
{
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)
{
Changed line(s) 283,292 (click to see context) from:
----
@@[=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++)
@@[=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++)
to:
@@[=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++)
Older:
@@[=addEventListener('load', function (e)
Changed line(s) 294 (click to see context) from:
if(divs[i].getAttribute("class") == "forumreplyheader")
to:
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")
Changed line(s) 296,297 (click to see context) from:
h[hNum] = divs[i];
hNum++;
hNum++;
to:
hNum++;
Changed line(s) 299 (click to see context) from:
if(divs[i].getAttribute("class") == "forumreplybody")
to:
Changed line(s) 301,302 (click to see context) from:
b[bNum] = divs[i];
bNum++;
bNum++;
to:
Changed line(s) 306,307 (click to see context) from:
for(i=0; i<hNum; i++)
to:
var button = new Array();
var username; var iDisplay;
for(i=0;
Changed line(s) 309 (click to see context) from:
var username = h[i].childNodes[3].innerHTML;
to:
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 =
iDisplay = body[i].style.display;
Changed line(s) 312,316 (click to see context) from:
if(username == ignoreList[j])
{
b[i].setAttribute("style","display:none;");
}
{
b[i].setAttribute("style","display:none;");
}
to:
{
b[i].setAttribute("style","display:none;");
}
Changed line(s) 318 (click to see context) from:
}=]@@
to:
function addToggle(bodyNum, clicker)
{
var bs = body[bodyNum].style;
clicker.addEventListener('click', function() {
bs.display = (bs.display !== 'none') ? 'none' : 'block';
}, false);
}
}, false);=]@@
Changed line(s) 342,344 (click to see context) from:
var buttonNum = 0;
var button = new Array();
var button = new Array();
to:
var button = new Array();
Changed line(s) 352,360 (click to see context) from:
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);
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);
to:
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);
b[i].setAttribute("style","display:none;");
Changed line(s) 363,375 (click to see context) from:
}
function toggleDisplay(num)
{
if(b[num].getAttribute("style") == "display:none;")
{
b[num].setAttribute("style","display:block;")
}
else
{
b[num].setAttribute("style","display:none;")
}
}=]@@[[/folder]]
function toggleDisplay(num)
{
if(b[num].getAttribute("style") == "display:none;")
{
b[num].setAttribute("style","display:block;")
}
else
{
b[num].setAttribute("style","display:none;")
}
}=]@@[[/folder]]
to:
function toggleDisplay(num)
{
if(b[num].getAttribute("style") == "display:none;")
{
b[num].setAttribute("style","display:block;")
}
else
{
b[num].setAttribute("style","display:none;")
}
}=]@@[[/folder]]
Added DiffLines:
@@[=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;")
}
}=]@@[[/folder]]
----
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;")
}
}=]@@[[/folder]]
----
Is there an issue? Send a MessageReason:
Updating extension.
Changed line(s) 75,78 (click to see context) from:
[[folder:Ignore Extension]]I'll put an explanation for how to use this later, until then, ask someone.
Current version: 1.06
@@[=addEventListener('load', function (e)
Current version: 1.06
@@[=addEventListener('load', function (e)
to:
[[folder:Ignore Extension]]I'll Extension]]Instructions:
||'''Opera'''||'''Firefox'''||
||Copy and paste the below code and putan explanation for how into a text file and change its extension to use this later, until then, ask someone.
be ".js". Put it into your [=UserJS=] folder. Make one if you don't have one.||Get the extension [[https://addons.mozilla.org/en-US/firefox/addon/748/ Greasemonkey]].||
||Go into the browser preferences(Ctrl+F12 by default) and select the content tab of the advanced tab. Click on Javascript Options and choose your [=UserJS=] folder on the bottom.||Right click on your Greasemonkey and select New User Script... Enter a name and a namespace, and put "http://tvtropes.org/pmwiki/posts.php?*" into the include space. Click okay, then copy-paste the below code into the script.||
Current version: 1.06
@@[=addEventListener('load',10
@@[=// ==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)
||'''Opera'''||'''Firefox'''||
||Copy and paste the below code and put
||Go into the browser preferences(Ctrl+F12 by default) and select the content tab of the advanced tab. Click on Javascript Options and choose your [=UserJS=] folder on the bottom.||Right click on your Greasemonkey and select New User Script... Enter a name and a namespace, and put "http://tvtropes.org/pmwiki/posts.php?*" into the include space. Click okay, then copy-paste the below code into the script.||
Current version: 1.
@@[=addEventListener('load',
@@[=// ==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)
Changed line(s) 80,84 (click to see context) from:
var ignoreList = new Array();
ignoreList[0] = "Troper Name Here";
ignoreList[1] = "Another Troper Here";
ignoreList[2] = "As Many As You Want";
ignoreList[0] = "Troper Name Here";
ignoreList[1] = "Another Troper Here";
ignoreList[2] = "As Many As You Want";
to:
// 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 =new Array();
ignoreList[0] = "Troper Name Here";
ignoreList[1] =["Troper Handle Here", "Another Troper Here";
ignoreList[2] =Handle Here", "As Many As You Want";
Want"]
// Initializing additional variables. divs is a collection of div tags, as is a collection of a 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.
// Additional handles can be added, keep them within quotation marks and make sure to have a comma between each one.
var ignoreList =
ignoreList[0] = "Troper Name Here";
ignoreList[1] =
ignoreList[2] =
// Initializing additional variables. divs is a collection of div tags, as is a collection of a 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.
// 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.
// header and body tags. Makes sure they are connected by their array index.
// Goes through the a tags and retrieves the toper names.
// Stores the the post toggle buttons.
// Creates post toggle buttons to each post and adds the toggle functionality to them.
// If the poster name matches one in the ignore list, the post's body is hidden.
// Toggles the body of a given post.
Version: 1.06
Changed line(s) 153,154 (click to see context) from:
var divs = document.getElementsByTagName("div");
var header = new Array(); var body = new Array();
var header = new Array(); var body = new Array();
to:
var divs = document.getElementsByTagName("div");
getElementsByTagName("div"); var as = document.getElementsByTagName("a");
var header = new Array(); var body = new Array(); var tName = new Array();
var header = new Array(); var body = new Array(); var tName = new Array();
Changed line(s) 170,175 (click to see context) from:
var buttonNum = 0;
var button = new Array();
var username; var iDisplay;
for(i=0; i<curNum; i++)
to:
var username; var iDisplay;
Changed line(s) 177,186 (click to see context) from:
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++)
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++)
to:
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++)
Changed line(s) 188 (click to see context) from:
iDisplay = (username == ignoreList[j]) ? "none" : "block";
to:
j++;
Changed line(s) 192 (click to see context) from:
function addToggle(bodyNum, clicker)
to:
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)
{
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)
{
Changed line(s) 200,209 (click to see context) from:
----
@@[=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++)
@@[=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++)
to:
@@[=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++)
Older:
@@[=addEventListener('load', function (e)
Changed line(s) 211 (click to see context) from:
if(divs[i].getAttribute("class") == "forumreplyheader")
to:
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")
Changed line(s) 213,214 (click to see context) from:
h[hNum] = divs[i];
hNum++;
hNum++;
to:
hNum++;
Changed line(s) 216 (click to see context) from:
if(divs[i].getAttribute("class") == "forumreplybody")
to:
Changed line(s) 218,219 (click to see context) from:
b[bNum] = divs[i];
bNum++;
bNum++;
to:
Changed line(s) 223,224 (click to see context) from:
for(i=0; i<hNum; i++)
to:
var button = new Array();
var username; var iDisplay;
for(i=0;
Changed line(s) 226 (click to see context) from:
var username = h[i].childNodes[3].innerHTML;
to:
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 =
iDisplay = body[i].style.display;
Changed line(s) 229,233 (click to see context) from:
if(username == ignoreList[j])
{
b[i].setAttribute("style","display:none;");
}
{
b[i].setAttribute("style","display:none;");
}
to:
{
b[i].setAttribute("style","display:none;");
}
Changed line(s) 235 (click to see context) from:
}=]@@
to:
function addToggle(bodyNum, clicker)
{
var bs = body[bodyNum].style;
clicker.addEventListener('click', function() {
bs.display = (bs.display !== 'none') ? 'none' : 'block';
}, false);
}
}, false);=]@@
Changed line(s) 259,261 (click to see context) from:
var buttonNum = 0;
var button = new Array();
var button = new Array();
to:
var button = new Array();
Changed line(s) 269,277 (click to see context) from:
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);
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);
to:
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);
b[i].setAttribute("style","display:none;");
Changed line(s) 280,292 (click to see context) from:
}
function toggleDisplay(num)
{
if(b[num].getAttribute("style") == "display:none;")
{
b[num].setAttribute("style","display:block;")
}
else
{
b[num].setAttribute("style","display:none;")
}
}=]@@[[/folder]]
function toggleDisplay(num)
{
if(b[num].getAttribute("style") == "display:none;")
{
b[num].setAttribute("style","display:block;")
}
else
{
b[num].setAttribute("style","display:none;")
}
}=]@@[[/folder]]
to:
function toggleDisplay(num)
{
if(b[num].getAttribute("style") == "display:none;")
{
b[num].setAttribute("style","display:block;")
}
else
{
b[num].setAttribute("style","display:none;")
}
}=]@@[[/folder]]
Added DiffLines:
@@[=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;")
}
}=]@@[[/folder]]
----
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;")
}
}=]@@[[/folder]]
----
Is there an issue? Send a MessageReason:
Bug fix.
Changed line(s) 77 (click to see context) from:
Current version: 1.05
to:
Current version: 1.0506
Changed line(s) 126 (click to see context) from:
body[i].style.display = (tName[i] == ignoreList[j]) ? "none" : "block";
to:
if(tName[i] == ignoreList[j])
body[i].style.display =(tName[i] == ignoreList[j]) ? "none" : "block";"none";
body[i].style.display =
Is there an issue? Send a MessageReason:
None
Added DiffLines:
* -vandalism- You're cool. I love your page, especially the chunk concerning videogames. - {{Tropers/Shichibukai}}