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.
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.
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:
with the relevant user IDs.
Code:
.cite-2045, .cite-2229 {
display: none;
}
with the relevant user IDs.
If the CSS file doesn't exist, you can simply create it as an empty file.
Thanks Stijn, it worked like a charm and so easy now you've explained it! :)
I really appreciate the help.
I really appreciate the help.
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?
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.
psonice et al: Depends on the browser, but normally images in display:none; are not downloaded.
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 :)
"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 :-)
Firefox + AdBlock Plus (+ Element Hiding Helper)
Then add the filter:
This will block all the posts from that user, still I'm unsure if the images are still downloadad or not.
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;
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.
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.
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?
Any other cool stuff you can do with CSS and Pouet?