Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,786,341 Members 48,351 Now Online
XDA Developers Android and Mobile Development Forum

How-to: Remove ads from FB in ie10

Tip us?
 
C-Lang
Old
#1  
Senior Member - OP
Thanks Meter 37
Posts: 154
Join Date: Nov 2012
Location: Redlands, CA
Lightbulb How-to: Remove ads from FB in ie10

Sooo, I set out on a quest to block all ads, including Facebook ones to, well, speed up and clean up the interwebs. So, to block ads on Facebook and many other sites, I use not only tracking protection lists, but also this.

First, download and extract the zip attachment
Then, open desktop ie, go to internet options > general > accessibility > check “format documents using my style sheet”
Hit browse, navigate to and select the previously downloaded css.
Hit ok, and then ok again.

That's it! No more ads on FB!
Attached Files
File Type: zip ElementHidingRulesFBmodded.zip - [Click for QR Code] (20.6 KB, 1007 views)
The Following 9 Users Say Thank You to C-Lang For This Useful Post: [ Click to Expand ]
 
hoodoomagic
Old
#2  
Senior Member
Thanks Meter 32
Posts: 133
Join Date: Jun 2010
Works great, thanks.
 
razor08350
Old
#3  
Member
Thanks Meter 1
Posts: 52
Join Date: Dec 2011
Location: Ardennes
Work Perfectly !
Thank !
 
GoodDayToDie
Old
#4  
Recognized Developer
Thanks Meter 2,695
Posts: 5,666
Join Date: Jan 2011
Location: Seattle
Ah cool, never though of using the stylesheets to hide ads.

Note though, unlike with Tracking Protection and "real" ad blockers, this doesn't actually protect you in any way. It just hides the element from displaying on the screen. Tracking cookies will still get places, (potentially malicious) JavaScript will still run, and your browser will take the time and bandwidth to download the files anyhow. It's unlikely to actually speed stuff up much.
Win8/Windows RT projects:
List of desktop apps for hacked RT devices

WP8 projects:
Native Access WebServer and Libraries
WP8 Interop Unlocks
Storage Cleanup tool

WP7 projects:
XapHandler, Root Webserver, OEM Marketplace XAPs, Bookmarklets collection (Find On Page), Interop-unlock hacks.


Do not private message me with questions that should have been posted on the forum! Not only are you wasting your time - I'm not going to bother writing an answer to such a question for only one person - but I will probably block you from PMing me in the future as well.
 
mp3geek
Old
#5  
Member
Thanks Meter 5
Posts: 69
Join Date: Jan 2009
Location: Palmerston North
Code:
/*www.facebook.com*/
#rightCol,
/*www.facebook.com*/
#rightCol,
Blocking "rightcol" doesn't seem a bit excessive? I'd see lots of false positives from that.
 
C-Lang
Old
#6  
Senior Member - OP
Thanks Meter 37
Posts: 154
Join Date: Nov 2012
Location: Redlands, CA
Quote:
Originally Posted by mp3geek View Post
Code:
/*www.facebook.com*/
#rightCol,
/*www.facebook.com*/
#rightCol,
Blocking "rightcol" doesn't seem a bit excessive? I'd see lots of false positives from that.
There's no way to just block the ads that I found, and the "rightcol" is full of sponsored "your friend likes this page" junk. Plus, I've never liked the suggested friends area.
 
mp3geek
Old
(Last edited by mp3geek; 30th December 2012 at 04:39 AM.)
#7  
Member
Thanks Meter 5
Posts: 69
Join Date: Jan 2009
Location: Palmerston North
Or alternatively blocking most ads via css works fine with a more up to date list.

/From the Author.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


MultiROM Ported to the Moto E

Few categoriesof Android development are as intrinsically interestingas the ability to boot into multiple … more

XDA Xposed Tuesday: How to Control Google Play Wake Locks – XDA Developer TV

Xposed Modules are usually pretty simple. There are a few … more

Make Text Entry More Efficient with Macro Text Expansion

One of the best things about the modern day smartphone is its ability to save us … more

Fix KitKat WiFi Drops on Your Own

Despite introducing many useful features and overall great performance and enhancements,Android 4.4 KitKat … more