Difference between revisions of "User:Void Singer/SL Forum Ignore"

From Second Life Wiki
Jump to navigation Jump to search
m (new page)
 
m
Line 12: Line 12:


=== User Script ===
=== User Script ===
<pre>// ==UserScript==
<javascript>// ==UserScript==
// @name          SL Forum Ignore
// @name          SL Forum Ignore
// @namespace      Private
// @namespace      Private
Line 116: Line 116:
/*//  All usages must contain a plain text copy of the previous 2 lines.  //*/
/*//  All usages must contain a plain text copy of the previous 2 lines.  //*/
/*//--                                                                  --//*/
/*//--                                                                  --//*/
</pre>
</javascript>
:[[User:Void_Singer/Programs#Return_to_Void_Singers_user_page|Return to top]]
:[[User:Void_Singer/Programs#Return_to_Void_Singers_user_page|Return to top]]
}}
}}

Revision as of 10:56, 13 February 2010

SL Forum Ignore

Features:

  • requires FireFox 3.mumble
  • requires Greasemonkey some-version-or-another

User Script

<javascript>// ==UserScript== // @name SL Forum Ignore // @namespace Private // @description Adds Ignore Links to User Posts on SL Forum Discussions/Questions (And Make Linden Names RED) // @include https://blogs.secondlife.com/thread/* // @include https://blogs.secondlife.com/message/* // ==/UserScript==

//-- Inject links, mark posts, and hide already ignored posts

function uSetupPage(){ var vColDivs, vObjDiv, vObjLink, vStrUserName, vStrLinkText, vStrPostStyle; vColDivs = //-- grab the divs we need from the DOM, don't worry they ARE in page order

document.evaluate( "(//div[@class='jive-thread-post-body-container']