• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 06:12
CEST 12:12
KST 19:12
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
Serral wins EWC 202538Tournament Spotlight: FEL Cracow 202510Power Rank - Esports World Cup 202580RSL Season 1 - Final Week9[ASL19] Finals Recap: Standing Tall15
Community News
Weekly Cups (Jul 28-Aug 3): herO doubles up4LiuLi Cup - August 2025 Tournaments3[BSL 2025] H2 - Team Wars, Weeklies & SB Ladder10EWC 2025 - Replay Pack4Google Play ASL (Season 20) Announced55
StarCraft 2
General
Weekly Cups (Jul 28-Aug 3): herO doubles up How to leave Master league - bug fix? Serral wins EWC 2025 The GOAT ranking of GOAT rankings Interview with Chris "ChanmanV" Chan
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament LiuLi Cup - August 2025 Tournaments Sea Duckling Open (Global, Bronze-Diamond) TaeJa vs Creator Bo7 SC Evo Showmatch FEL Cracov 2025 (July 27) - $10,000 live event
Strategy
Custom Maps
External Content
Mutation # 485 Death from Below Mutation # 484 Magnetic Pull Mutation #239 Bad Weather Mutation # 483 Kill Bot Wars
Brood War
General
How do the new Battle.net ranks translate? Nobody gona talk about this year crazy qualifiers? [BSL 2025] H2 - Team Wars, Weeklies & SB Ladder BSL Team Wars - Bonyth, Dewalt, Hawk & Sziky teams BW General Discussion
Tourneys
[ASL20] Online Qualifiers Day 2 [Megathread] Daily Proleagues Cosmonarchy Pro Showmatches [ASL20] Online Qualifiers Day 1
Strategy
[G] Mineral Boosting Muta micro map competition Does 1 second matter in StarCraft? Simple Questions, Simple Answers
Other Games
General Games
Stormgate/Frost Giant Megathread Total Annihilation Server - TAForever Nintendo Switch Thread Beyond All Reason [MMORPG] Tree of Savior (Successor of Ragnarok)
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread European Politico-economics QA Mega-thread 9/11 Anniversary Possible Al Qaeda Attack on 9/11 Things Aren’t Peaceful in Palestine
Fan Clubs
INnoVation Fan Club SKT1 Classic Fan Club!
Media & Entertainment
[Manga] One Piece Anime Discussion Thread [\m/] Heavy Metal Thread Movie Discussion! Korean Music Discussion
Sports
Formula 1 Discussion 2024 - 2025 Football Thread TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
Gtx660 graphics card replacement Installation of Windows 10 suck at "just a moment" Computer Build, Upgrade & Buying Resource Thread
TL Community
TeamLiquid Team Shirt On Sale The Automated Ban List
Blogs
Sharpening the Filtration…
frozenclaw
ASL S20 English Commentary…
namkraft
The Link Between Fitness and…
TrAiDoS
momentary artworks from des…
tankgirl
from making sc maps to makin…
Husyelt
StarCraft improvement
iopq
Customize Sidebar...

Website Feedback

Closed Threads



Active: 613 users

The LiquidLegends Lounge - Page 1829

Forum Index > The Shopkeeper′s Inn
Post a Reply
Prev 1 1827 1828 1829 1830 1831 1885 Next
Gahlo
Profile Joined February 2010
United States35150 Posts
Last Edited: 2018-01-28 16:45:32
January 28 2018 16:21 GMT
#36561
Thanks. =D

Can't quite get it to work though.

I set the @match to http://www.liquidlegends.net/forum/* and modified the default user for what I want. Not sure where to go from here.

Do I have to change the match to the forum the poster is from even if I'm viewing it from LL?
JimmiC
Profile Blog Joined May 2011
Canada22817 Posts
Last Edited: 2018-01-28 17:55:59
January 28 2018 16:43 GMT
#36562
--- Nuked ---
killerdog
Profile Joined February 2010
Denmark6522 Posts
Last Edited: 2018-01-28 19:18:13
January 28 2018 19:16 GMT
#36563
On January 29 2018 01:21 Gahlo wrote:
Thanks. =D

Can't quite get it to work though.

I set the @match to http://www.liquidlegends.net/forum/* and modified the default user for what I want. Not sure where to go from here.

Do I have to change the match to the forum the poster is from even if I'm viewing it from LL?

Doesn't it just remove blocks from the html if the poster id matches a blocked one?

As far as I can tell the match just has to be the page you're viewing it from, as that's what triggers whether the script should run or not. A post on TL looks something like this
+ Show Spoiler +

<tr><td colspan="2" class="fpost"><div><a id="36562"></a>
<div class="solid">
<section class="pnt01" style="background-image:url(/images/lol/teams/5.png)">
<header class="titlehigh">
<div>
<div class='forummsginfo'>
<div class='classicon heroes' tabindex="11235" style="background-image: url(/images/lol/champions/86.png)">
<aside class="tooltip">
<div class="tt-tail"></div>
<div class="hitbox"></div>
<div class="inventory">
<div><a href="/mytlnet/store.php"><img src="/images/lol/items/106.image" alt="" title="Liandry&#039;s Torment"></a></div><div><a href="/mytlnet/store.php"><img src="/images/lol/items/34.image" alt="" title="Boots of Swiftness"></a></div><div><a href="/mytlnet/store.php"><img src="/images/lol/items/243.image" alt="" title="Dead Man&#039;s Plate"></a></div>
<div><a href="/mytlnet/store.php"><img src="/images/lol/items/176.image" alt="" title="Rylai&#039;s Crystal Scepter"></a></div><div><a href="/mytlnet/store.php"><img src="/images/lol/items/198.image" alt="" title="Spirit Visage"></a></div><div></div>
</div> </aside>
</div>
<div class="fpost-username" tabindex="11235">
<span>JimmiC</span>
<span class="userarrow"></span>
<aside class="tooltip">
<a class="tt-userinfo" href="/forum/profile.php?user=JimmiC">Profile</a>
<a class="tt-userinfo" href="/mytlnet/index.php?view=new&amp;to=JimmiC">PM</a> <span class="tt-userinfo">Joined May 2011</span>
</aside>
</div>
<div class="fpost-userinfo">
<span class="tt-userinfo">Canada</span><span class="tt-userinfo">4991 Posts</span>
</div>
</div>
</div><div style="float:right;">
<div class="fpost-postinfo">
<div class="fpost-lastedit"><aside class="tooltip"><span class="tt-userinfo">Last Edited: 2018-01-28 18:55:59</span></aside></div>
<a href="/forum/viewpost.php?post_id=26899716" class="submessage" title="Link to this post">2 hours ago</a>
<div class="submessage">#36562</div>
</div>
</div>
</header>
<article class="forumPost">
<section>Wait, what, wait... you mean I can make it so I can never see JimmyJraynor posts again? For real?<br><br>edit: Didn&#039;t work for me =-(</section>
</article>
</section>
<footer>
<div class="forumsig">
<div>My bad, poor guy</div>
</div><div class="forumsig">
<span class="contrib">
<a target="_blank" href="http://www.teamliquid.net/plus/"><img alt="TL+ Member" title="TL+ Member" src="/images/forum/user_plus.png" width="20" height="20"></a> <a><img src="/images/forum/user_plus_5.png" width="20" height="20" title="TL+ Santa"></a> </span>
</div>
</footer>
</div>
<div class="fpost-actionable">
<div class="postaction">
<div class="useraction">
<a href="/forum/postmessage.php?quote=36562&amp;topic_id=487322" class="submessage">Quote</a>
<a href="/forum/report.php?post_id=26899716" class="submessage flag">Report</a>
</div>
<div class="modaction">

</div>
</div>
</div>
</td></tr>


So it looks over all elements to find one where the variable fpost-username = "BANNED USER NAME", then deletes the entire associated html element. (In this case the post.)

So in the example above it would be checking

<div class="fpost-username" tabindex="11235">
<span>JimmiC</span>

to see if JimmiC was in the array of banned strings, and if so searching the element which this fpost-username was in for the post text field and replacing that with "herp derp."

Gahlo
Profile Joined February 2010
United States35150 Posts
January 28 2018 19:17 GMT
#36564
Fuck if I know how it works, I never learned that language and my coding in general is as useful as my toddler-like, 6 year rusty French.
killerdog
Profile Joined February 2010
Denmark6522 Posts
January 28 2018 19:21 GMT
#36565
As far as i can tell all the identifiers are the same in the LL source as in LD. header.titlehigh and article.forumPost are both there.

Might install greasemonkey and see if i can fix it
Gahlo
Profile Joined February 2010
United States35150 Posts
January 28 2018 19:22 GMT
#36566
It would be appreciated.
killerdog
Profile Joined February 2010
Denmark6522 Posts
Last Edited: 2018-01-28 21:27:07
January 28 2018 21:10 GMT
#36567
Damn I'm rusty at javascript.

Couldn't get his working so i rewrote it into javascript. Paste all this into your chosen monkey, (I used violentmonkey since apparently tampermonkey sold out and or something?) and it should work. At least on all non IE browsers :p

+ Show Spoiler +

// ==UserScript==
// @name Mute Users in LiquidLegends
// @description Mutes users in LiquidLegends
// @match http://www.liquidlegends.net/forum/*
// @grant none
// ==/UserScript==

// Based on http://www.liquiddota.com/blogs/491245-mute-annoying-users-in-lr-threads
// adapted for Liquidlegends in javascript (very badly) by killerdog
//
//
// edit MUTED_USERS with the users you want to mute
// e.g. to block users foo, bar and baz you'd change the line below to
// var MUTED_USERS = ["foo", "bar", "baz"];
// NOTE: usernames are case sensitive

var MUTED_USERS = ["Gahlo"]; //sorry gahlo :p

//edit "Replacement_String" set what you want their comments to be replaced with.
//e.g. for "MTG Stuff" you'd change the below line to
// var Replacement_String = "MTG Stuff"

var Replacement_String = "This user is ignored"

//
//
//Do not edit below this
//
//
var posts = document.getElementsByClassName("fpost-username")//collects all posts by who posted them
for (var j = 0; j < posts.length; j++) {
var el = posts[j];
var user = el.innerText.substring(0, el.innerText.indexOf(' Profile'))//extracts poster id from posts
for (var i = 0; i < MUTED_USERS.length; i++) { //cycles through ignored posters
if (user == MUTED_USERS[i]) { //checks if the poster of this post is an ignored poster
el.closest("header.titlehigh").nextSibling.nextSibling.textContent = Replacement_String; //if the user was ignored, this replaces their comment with the chosen filer
}
}
};



should look like this + Show Spoiler +
[image loading]
JimmiC
Profile Blog Joined May 2011
Canada22817 Posts
January 28 2018 22:48 GMT
#36568
--- Nuked ---
Gahlo
Profile Joined February 2010
United States35150 Posts
January 28 2018 23:22 GMT
#36569
Still not working for me. =[
Alaric
Profile Joined November 2009
France45622 Posts
January 28 2018 23:32 GMT
#36570
Look at this guy pushing his agenda sneakily. You should be ashamed, I say!
Cant take LMS hipsters serious.
AlterKot
Profile Blog Joined January 2014
Poland7525 Posts
Last Edited: 2018-01-28 23:39:44
January 28 2018 23:36 GMT
#36571
Here's something I found in my tampermonkey
+ Show Spoiler +
// ==UserScript==
// @name wei2filter
// @namespace nolenroyalty.com
// @description lol
// @include http://www.liquidlegends.net/forum/*
// @include https://www.liquidlegends.net/forum/*
// @version 1
// @grant none
// ==/UserScript==
var spans = document.getElementsByTagName('span');
var l = spans.length;
var quotes = ["Polish gulags", "It ain't my fault this nigga bitch say she in love with me.", "I been ballin' so damn hard I swear I think that I'm Kobe.", "I'm startin' off my day with a blunt of herb. Lookin' myself up see how much I'm worth.", "BANG BANG", "Damn I hate being sober, I'm a smoker.", "I can't handle no liquor. But these bitches can't handle me. I can't control my niggas. And my niggas they can't control me.", "I can't handle no liquor. But these bitches can't handle me. I can't control my niggas. And my niggas they can't control me. You say you know me, my nigga but you really just know the old me.", "A fuck nigga, that's that shit I don't like, nah. A snitch nigga, that's that shit I don't like, nah."];
for (var i=0; i<l; i++) {
var span = spans[i];
if (span.innerHTML === "Gahlo") {
var par = span.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode;
article = par.getElementsByTagName("article")[0];
section = article.getElementsByTagName("section")[0];
section.innerHTML = quotes[Math.floor(Math.random()*quotes.length)];
}
}


Replace "Gahlo" with any poster and "quotes" with message you want every single one of their posts to be.
kd's one works for me as well though so idk.
Americans don't like to use unblockables, it is considered not honest. You press a button at the wrong time and hit the other person, you are random, not a top player. You DP Sim's far fierce, it is random and not honest.
Gahlo
Profile Joined February 2010
United States35150 Posts
January 28 2018 23:44 GMT
#36572
On January 29 2018 08:36 AlterKot wrote:
Here's something I found in my tampermonkey
+ Show Spoiler +
// ==UserScript==
// @name wei2filter
// @namespace nolenroyalty.com
// @description lol
// @include http://www.liquidlegends.net/forum/*
// @include https://www.liquidlegends.net/forum/*
// @version 1
// @grant none
// ==/UserScript==
var spans = document.getElementsByTagName('span');
var l = spans.length;
var quotes = ["Polish gulags", "It ain't my fault this nigga bitch say she in love with me.", "I been ballin' so damn hard I swear I think that I'm Kobe.", "I'm startin' off my day with a blunt of herb. Lookin' myself up see how much I'm worth.", "BANG BANG", "Damn I hate being sober, I'm a smoker.", "I can't handle no liquor. But these bitches can't handle me. I can't control my niggas. And my niggas they can't control me.", "I can't handle no liquor. But these bitches can't handle me. I can't control my niggas. And my niggas they can't control me. You say you know me, my nigga but you really just know the old me.", "A fuck nigga, that's that shit I don't like, nah. A snitch nigga, that's that shit I don't like, nah."];
for (var i=0; i<l; i++) {
var span = spans[i];
if (span.innerHTML === "Gahlo") {
var par = span.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode;
article = par.getElementsByTagName("article")[0];
section = article.getElementsByTagName("section")[0];
section.innerHTML = quotes[Math.floor(Math.random()*quotes.length)];
}
}


Replace "Gahlo" with any poster and "quotes" with message you want every single one of their posts to be.
kd's one works for me as well though so idk.

Ah, that one seems to work. Thanks. =]
GhandiEAGLE
Profile Blog Joined March 2011
United States20754 Posts
January 29 2018 05:29 GMT
#36573
Sick Yeezus plug alterkot
Oh, my achin' hands, from rakin' in grands, and breakin' in mic stands
Uldridge
Profile Blog Joined January 2011
Belgium4773 Posts
January 29 2018 07:11 GMT
#36574
Don't you guys all love each other here, what's with the passive aggressive censorship?
Taxes are for Terrans
killerdog
Profile Joined February 2010
Denmark6522 Posts
Last Edited: 2018-01-29 11:55:17
January 29 2018 08:31 GMT
#36575
I'm curious how efficient kot's one would be if it ran on a 50 or 100+ post page, although I guess probably doesn't matter.

Still only lets you filter one person though, objectively inferior :p


On January 29 2018 08:22 Gahlo wrote:
Still not working for me. =[

What browser do you use?

I had some problems making it work in all environments, but I thought I'd fixed it to a point where it worked in everything except IE. Might have been missing some ;'s though

On January 29 2018 16:11 Uldridge wrote:
Don't you guys all love each other here, what's with the passive aggressive censorship?

Could change it so it filters out all americans or all euros based off country. Then we can go full culture war
Gahlo
Profile Joined February 2010
United States35150 Posts
Last Edited: 2018-01-29 13:00:48
January 29 2018 12:58 GMT
#36576
On January 29 2018 16:11 Uldridge wrote:
Don't you guys all love each other here, what's with the passive aggressive censorship?

It's not here that I need it. It's a nutjob in US Politics thread that I have to struggle to not get banned when I read their nonsense.

On January 29 2018 17:31 killerdog wrote:
What browser do you use?


Firefox. The Wei2 script AlterKot posted works fine.
AlterKot
Profile Blog Joined January 2014
Poland7525 Posts
January 29 2018 13:48 GMT
#36577
Just for the record I don't remember who wrote it and I'm not even sure if I made any of the quotes myself, it's just been sitting in my tampermonkey unused and I figured it could work.
Americans don't like to use unblockables, it is considered not honest. You press a button at the wrong time and hit the other person, you are random, not a top player. You DP Sim's far fierce, it is random and not honest.
JimmiC
Profile Blog Joined May 2011
Canada22817 Posts
January 29 2018 14:01 GMT
#36578
--- Nuked ---
red_
Profile Joined May 2010
United States8474 Posts
Last Edited: 2018-01-29 16:30:17
January 29 2018 16:29 GMT
#36579
On January 29 2018 23:01 JimmiC wrote:
Show nested quote +
On January 29 2018 21:58 Gahlo wrote:
On January 29 2018 16:11 Uldridge wrote:
Don't you guys all love each other here, what's with the passive aggressive censorship?

It's not here that I need it. It's a nutjob in US Politics thread that I have to struggle to not get banned when I read their nonsense.

On January 29 2018 17:31 killerdog wrote:
What browser do you use?


Firefox. The Wei2 script AlterKot posted works fine.

I got the same issue but in some of the sports threads. Reading one guy just gets me in to trouble.

If the one you have doesn't work for multiple users try the one I posted, it's KD's with a couple semi colons added. But I am using chrome


I remember JimmyJ from back when I used to participate in all the NBA threads on TL(saw you mention his name earlier). Dude is the poster boy of arguing for the sake of arguing, he will take any position he needs to if it means it will rile up the other TL users into a flame fest of subjective opinions while acting like his position is the one based on facts(lul facts in sports).
How did the experience of working at Mr Burns' Nuclear Plant influence Homer's composition of the Iliad and Odyssey?
JimmiC
Profile Blog Joined May 2011
Canada22817 Posts
January 29 2018 16:42 GMT
#36580
--- Nuked ---
Prev 1 1827 1828 1829 1830 1831 1885 Next
Please log in or register to reply.
Live Events Refresh
Next event in 48m
[ Submit Event ]
Live Streams
Refresh
StarCraft: Brood War
Calm 11674
Sea 3172
Barracks 1030
ggaemo 972
Hyuk 924
Zeus 378
EffOrt 377
actioN 330
Leta 285
ZerO 247
[ Show more ]
Rush 190
Pusan 178
Mong 138
TY 120
Mind 116
Killer 111
Nal_rA 87
Soma 68
Backho 52
Sharp 29
Soulkey 25
JulyZerg 15
sorry 13
Bale 7
Dota 2
XcaliburYe279
BananaSlamJamma271
Counter-Strike
olofmeister2219
shoxiejesuss791
allub263
x6flipin258
ScreaM256
Other Games
singsing1289
ceh9711
XaKoH 303
Happy283
Pyrionflax239
Fuzer 187
SortOf162
crisheroes90
JuggernautJason53
ZerO(Twitch)11
ArmadaUGS1
Organizations
StarCraft: Brood War
lovetv 11
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• davetesta31
• StrangeGG 27
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• iopq 3
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos205
Upcoming Events
Wardi Open
48m
RotterdaM Event
5h 48m
OSC
13h 48m
WardiTV Summer Champion…
1d
WardiTV Summer Champion…
1d 4h
PiGosaur Monday
1d 13h
WardiTV Summer Champion…
2 days
Stormgate Nexus
2 days
uThermal 2v2 Circuit
2 days
The PondCast
2 days
[ Show More ]
WardiTV Summer Champion…
3 days
Replay Cast
3 days
LiuLi Cup
4 days
uThermal 2v2 Circuit
4 days
RSL Revival
4 days
RSL Revival
4 days
uThermal 2v2 Circuit
5 days
Sparkling Tuna Cup
5 days
uThermal 2v2 Circuit
6 days
Liquipedia Results

Completed

ASL Season 20: Qualifier #2
FEL Cracow 2025
CC Div. A S7

Ongoing

Copa Latinoamericana 4
Jiahua Invitational
BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Qualifiers
HCC Europe
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025

Upcoming

ASL Season 20
CSLPRO Chat StarLAN 3
BSL Season 21
BSL 21 Team A
RSL Revival: Season 2
Maestros of the Game
SEL Season 2 Championship
WardiTV Summer 2025
uThermal 2v2 Main Event
Thunderpick World Champ.
MESA Nomadic Masters Fall
CS Asia Championships 2025
Roobet Cup 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.