Archived Comments (locked)
|
|
The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008) |
|
|
I updated the search query on my version to reflect new side ads on Facebook. Just add:
To the list at the IF statement |
|
|
Avg, those are really bad programming manners!
|
|
|
You can change XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE to 6 That's all it is; a constant. |
|
|
I suggest adding These removed the new sidebar ads for me on the "new" Facebook. |
|
|
I recommend also including //div[contains(@class, 'profile_sidebar_ads')] to block the sidebar ads when viewing profiles. |
|
|
Hey i'm very new to this script business, and I'm a facebook user looking to get rid of the adds on my facebook. Where do I paste this script? How do I use a script? Thanks. |
|
|
Works great for me. I added a few more classes and IDs.
|
|
|
This only works if I refresh each page. When I first load a page all the ads are there. Do I need to change the code somehow? |
|
|
Lovely, thank you! |
|
|
Isaac, you're completely right. I've updated the script to reflect this. |
|
|
This is a great little script. Props. FYI though, the if block is unnecessary. The for loop won't execute if the number of elements is 0, because 'i' won't be less than the number of elements even on the first iteration. So removing the if line (and bracket on the other side of the for loop) won't change the behavior of the code. |
|
|
This is awesome. Makes Facebook just a tiny bit less annoying and spam-like. Thanks! |
|
|
I just updated this script. News feed sponsored items are now no longer shown. (Facebook's code changed since this script's original release, making the script temporarily not work.) All is better now--please install the new version of this script--version 1.1. |
|
|
This works really well. Some of the older scripts don't work anymore, but this one removes the sponsored ads from your news feed. Thanks! |