Greasemonkey could wipe that LEB off your screen (OT?)

Search
Go

Discussion Topic

Return to Forum List
This thread has been locked
Messages 41 - 60 of total 109 in this topic << First  |  < Previous  |  Show All  |  Next >  |  Last >>
kunlun_shan

Mountain climber
SF, CA
Topic Author's Reply - Mar 5, 2010 - 04:35pm PT
Wow - that was fast, Nate! Thanks!!!

what version of Firefox are you using? i'm running 3.6 and i still see LEB and what she wrote. will try an earlier version of FF in a few minutes on a different workstation.

so your script removes all LEB posts from a thread? Awesome :-)
Nate Ricklin

climber
San Diego
Mar 5, 2010 - 04:39pm PT
Let's see, I have firefox 3.5.8 and it works for me, removes table rows of which LEB is the author.
Hardman Knott

Gym climber
Muir Woods National Monument, Mill Valley, Ca
Mar 5, 2010 - 04:43pm PT
How do you install it?

Edit: Never mind - I'm RTFM-ing right now...
Nate Ricklin

climber
San Diego
Mar 5, 2010 - 04:49pm PT
ok it's not working for me on a nearby windows machine. I'm on it.

edit: I see, it's only working on www.supertopo.com not supertopo.com. fixing it now.
Norton

Social climber
the Wastelands
Mar 5, 2010 - 04:49pm PT
ok, I just installed it and went to supertopo

How do I, for dummies, remove LEB's posts from view?

Oh god, this would so cool!
Hardman Knott

Gym climber
Muir Woods National Monument, Mill Valley, Ca
Mar 5, 2010 - 04:51pm PT
Giving the people what they want:

Greasemonkey script:

http://www.sendspace.com/file/5p07kb


It works!!!!!!!!!!1111

Running on Firefox 3.5.2

Nate - shoot me an email so I can Paypal the $5.00
dktem

Trad climber
Temecula
Mar 5, 2010 - 04:56pm PT
It appears that Greasemonkey in general does not work with FF 3.6
Nate Ricklin

climber
San Diego
Mar 5, 2010 - 05:09pm PT
now it works with or without the www in the URL.


http://www.sendspace.com/file/v16863

edited: newer version:
http://www.sendspace.com/file/64jwyn

How to:
go here and get greasemonkey:
https://addons.mozilla.org/en-US/firefox/addon/748

then click above and install the script. that should be it.
Hardman Knott

Gym climber
Muir Woods National Monument, Mill Valley, Ca
Mar 5, 2010 - 05:13pm PT
Here's how I educated my clueless self:

http://userscripts.org/about/installing

Double-clicking the .js file didn't work; to get it to install I had to go to File > Open File and then navigate to the script...

So it seems that you could just add users to that same script, or would you need separate scripts for each pest?
L

climber
Hangin' by a thread and lookin' for my wings
Mar 5, 2010 - 05:15pm PT
OK...for us computer-challenged blondes...step by step installation or where to go for it.

And PayPal--I'm there baby!
John_Box

Ice climber
Bellingham
Mar 5, 2010 - 05:16pm PT
Holy fricken awesome. To install first you need to install Greasemonkey, follow Hardman's link, then installing the script that Nate gave.
kunlun_shan

Mountain climber
SF, CA
Topic Author's Reply - Mar 5, 2010 - 05:18pm PT
Damn!!! works now, with a browser downgrade. will have to try with other versions when i get off work.

Nate, if you want to PM me an email address, I'll Paypal you $50.

very nice to have this kind of control!


(edit):
of course, this will work to hide anyone - just edit the line in the script:
if (strHrefName == "http://www.supertopo.com/inc/view_profile.php?dcid=ODM8NTo8OCc,"

view_profile.php?dcid=ODM8NTo8OCc is LEB's "ID". look at the HTML sourcecode and substitute the id for whoever....

Beatrix Kiddo

Mountain climber
Littleton
Mar 5, 2010 - 05:19pm PT
OMG! This is cool! For once people are not paying to shut me up.

Oops. Maybe they are! ahhahahaha

Woo hoo! :-)
Hardman Knott

Gym climber
Muir Woods National Monument, Mill Valley, Ca
Mar 5, 2010 - 05:23pm PT
kunlun_shan or Nate - is it possible to add lines to the script (rather than editing) for multiple pests?
Nate Ricklin

climber
San Diego
Mar 5, 2010 - 05:25pm PT
Yep you can add lines:

if (strHrefName == "http://www.supertopo.com/inc/view_profile.php?dcid=ODM8NTo8OCc,") {
arrAllTables[j-2].style.display = "none";
break;
}
if (strHrefName == "http://supertopo.com/inc/view_profile.php?dcid=ODM8NTo8OCc,") {
arrAllTables[j-2].style.display = "none";
break;
}


Put that block inside the innermost for loop for each user you want to block. Put the link to their profile instead of the URL that is there (note one has www and one does not).


I'll try to make it more user-configurable too...
dktem

Trad climber
Temecula
Mar 5, 2010 - 05:26pm PT
Got it to work on FF 3.6. For some reason, clicking the download link after installing Greasemonkey does the trick.

I agree it's not a total solution, but it will help. If enough folks use it, it could gain critical mass and eliminate many of the responses as well. I'm optimistic.

Sometimes self-discipline needs a little help.

High praise for Nate!
TKingsbury

Trad climber
MT
Mar 5, 2010 - 05:30pm PT
Damn, that's cool!

Thanks!
Nate Ricklin

climber
San Diego
Mar 5, 2010 - 05:36pm PT
Before I take anybody's money I'll see if I can't make it work on the main forum page and be easier to configure for multiple users...
TKingsbury

Trad climber
MT
Mar 5, 2010 - 05:47pm PT
It's a choice by each user whether to filter or not...how can that be considered "Big Brother"?
Hardman Knott

Gym climber
Muir Woods National Monument, Mill Valley, Ca
Mar 5, 2010 - 06:06pm PT
But, it's missing the bigger picture - the script only hides the posts from you, not from others, and it won't stop everyone else from replying to those posts.

This is exactly how it was using killfiles on Usenet; you'd still see the replies to the pest, but it was a small price to pay, all things considered...
Messages 41 - 60 of total 109 in this topic << First  |  < Previous  |  Show All  |  Next >  |  Last >>
Return to Forum List
 
Our Guidebooks
spacerCheck 'em out!
SuperTopo Guidebooks

guidebook icon
Try a free sample topo!

 
SuperTopo on the Web

Recent Route Beta