pouët.net

Greasemonkey and blocking help

category: offtopic [glöplog]
 
Can anybody offer some step by step advice for setting up a block script with Greasemonkey?

After recent issues, I feel it's best for me to just avoid acknowledging certain Pouet users and posts, and it would be very handy if I could learn how to block them.

I've looked over the advice given in the faq about how to block users, but I don't even know where I need to type this script. I downloaded Greasemonkey and Po1's Pouet script, but nothing happens when I install it.

If someone could give me a basic guide to adding these CSS commands I'd be really grateful. No doubt many other users here would find it useful too.
added on the 2009-12-18 02:27:06 by Wade Wade
BB Image
added on the 2009-12-18 02:35:14 by gentleman gentleman
Assuming you're using FireFox, open userContent.css in %AppData%\Mozilla\Firefox\Profiles\[some random string].default\chrome (the path is different for each installation, so browse there manually from %AppData%) and add something like:

Code: .cite-2045, .cite-2229 { display: none; }


with the relevant user IDs.
added on the 2009-12-18 02:54:30 by stijn stijn
If the CSS file doesn't exist, you can simply create it as an empty file.
added on the 2009-12-18 02:55:23 by stijn stijn
Thanks Stijn, it worked like a charm and so easy now you've explained it! :)

I really appreciate the help.
added on the 2009-12-18 03:02:38 by Wade Wade
Am I right in thinking that if a user blocked with css posts an image it still gets downloaded? If so, how do we prevent that?
added on the 2009-12-18 07:58:32 by psonice psonice
I suppose the only way to avoid that is using pouët's own "convert images to links" feature. You won't see the links for blocked users, so there's no risk of accidentally clicking them either.
added on the 2009-12-18 09:57:10 by stijn stijn
psonice et al: Depends on the browser, but normally images in display:none; are not downloaded.
added on the 2009-12-18 10:55:15 by p01 p01
ok, i'll have to test it out. It would be cool to have the good side of pouet and the pictures in say the garfield thread, but block the crap that gets posted. Plus remove havoc's bear pictures, they're getting really annoying :)
added on the 2009-12-18 10:57:53 by psonice psonice
"convert images to links" + &forceimages=1 parameter for threads where you want to see them is a good combination. :)
Quote:
psonice et al: Depends on the browser, but normally images in display:none; are not downloaded.

That's what I thought, but they were being downloaded when I tested on FF3.5 just now. I guess that's a vote for 'use Opera' then :-)
added on the 2009-12-18 11:19:09 by gasman gasman
Firefox + AdBlock Plus (+ Element Hiding Helper)
Then add the filter:
Code:pouet.net##TR.cite-<replaceWithPouetId>

This will block all the posts from that user, still I'm unsure if the images are still downloadad or not.
gasman: If you tried with FireBug enabled, FireBug might very very welll mess up with the regular behavior of the browser. But I'm confident Opera does NOT load images in display:none;
added on the 2009-12-18 12:40:41 by p01 p01
I suspect blocking with CSS stops the download from happening with safari, but it's a bit of a pain to check (it's using a sqllite db to store the cache). I'll test it more later at home.
added on the 2009-12-18 13:52:58 by psonice psonice
does it support wildcards? i would love to see a totally empty bbs!
http://en.wikipedia.org/wiki/Sugar_nips
you could use the hide images feature of pouet and use a script to convert links from not blocked users to <img>-tags.
added on the 2009-12-18 16:03:01 by src src
I only discovered the ability to hide images last week and now I've got my customised blocking in effect Pouet is already looking like a more positive place! I wish I'd known about this years ago. Thanks again!

Any other cool stuff you can do with CSS and Pouet?

added on the 2009-12-19 00:46:11 by Wade Wade

login