Wallflower: Un-Socializing Your Web
Posted: August 23, 2011 Filed under: firefox, mozilla | Tags: firefox, jetpack, mozilla 50 CommentsI was looking at about:memory and noticed entries for Facebook and Google+ URLs, even though I didn’t have either open. I figured they were probably from the social buttonry that decorates the web these days. No big deal… except they were taking up a bunch of memory! The Facebook button was using over 20mb and the Google+ button was taking over 40mb!
I have never clicked either of these buttons.
So I wrote Wallflower, a simple Firefox add-on (restartless of course) that removes these buttons from any page your browse to, saving your precious memory, CPU and battery life for the content you actually want.
View the source code on Github.
I read “social buttonry” as “social buffoonery” and was struck by the appropriateness of that phrase 🙂
good stuff!
Awesome work, thanks! Will be available the code?
I updated the post with the source code link:
https://github.com/autonome/Wallflower
thanks!!!
Awesome. This sounds like a problem that will only get bigger with time. Will future Firefox versions integrate an opt-in service for these resource suckers?
At first glance, this doesn’t feel like a Firefox core feature to me. But from the feedback so far, wouldn’t be surprised if a community grew up around finding and adding new things to block!
\o/
Not only resource-hungry, but also privacy-invasive.
Wallflower is not written to leave no trace of your passing. It’s a few lines of code that I dashed off to detect if one of these pages loaded in an iframe, and if so, changes location to about:blank.
For proper privacy protection, try Share-me-not: http://sharemenot.cs.washington.edu/.
That’s good, but we also need to reduce the memory usage of those buttons! Please file a Memshrink bug on that.
I wanted to +1 this, but there’s no button on the page!
[+1] <- Click this for good feelings.
[…] (on a similar topic) Wall flower […]
Thanks! I’m too asocial for facebook anyway so I’m installing your add-on right away.
Cool dietrich, this is one of those addons that I really wanted, the perfect companion to disabling 3rd party cookies 🙂
I share your sentiments and rather dislike all these ‘like’ buttons. For me, it’s both the privacy and wastage concerns I worry about.
So far, I don’t think I’ve found a truly effective way to counteract these (‘these’ meaning social interaction buttons and anything else that is served in an iframe from a social network; think Facebook comment threads). At the moment I’m using an ‘Antisocal’ list with ABP, though I do wonder if going the sledgehammer route and NoScript blocking all iframes might be the way.
RoC: they use lots of memory because they involve tons of JS.
Ironically there is a floating animated advertisement for an ipad2 in this blog post.
|return window.location != window.parent.location ? true : false;|
Um? Seriously dude?
Phil
> Ironically there is a floating animated
> advertisement for an ipad2 in this blog post.
weird, i don’t see it.
> |return window.location !=
> window.parent.location ? true : false;|
>
> Um? Seriously dude?
lol. i didn’t get a lot of sleep last night.
[…] träge. Zumindest beim Firefox ist das so. Zu diesem Zweck gibt es ganz frisch die Erweiterung Wallflower. Sie erkennt Facebook- und Google +1-Buttons und verbirgt diese. Die Erweiterung ist erst ganz neu […]
brillant – there really should be a way to opt-out of those buttons. thanks
Not sure if this works on all sites.
Though showed the about memory – shame that when you press the minimize memory button more than three times, the result is an increase in memory needed
wondering, if this makes sense. so how much memory takes this extension wallflower then instead of having the buttons? also great to post your stuff on your wordpressblog full of the socialnetworking filth. your page has more buttons than your extension is capable of blocking.
now thats intelligent. duh. please try harder next time. this posting of yours is either a total fake, a flamebait or seriously delusional.
also: about memory, are these buttons only once in memory as a footprint or multiple times? maybe then your extension actually might make a slight difference if they were being kept over and over in memory space. but not that much.
the web, and html5 efforts dont help it, is full of filth, social and advertisement bloat you name it. its way too late. if i am not watching videos, i am all happy with text, and now just do a rough estimate of what percentage of todays websites the text area is left with and what all the banners, buttons, filthy syndicated stuff and all of this scum makes up.
you bet. the real actual content is down at single digit percentage these days. now go figure.
why thank you.
Why doesn’t this page have a +1 on it? I want to +1 it. Also, “Like”.
…and, had I read the new comments, I’d have seen Dolske already said that. Gold Star.
If you’re running AdBlock you can add the url/path to the FB buttons and other widgets and never see them again. What you see in place of the widgets is the animated loading gif, which loads forever 🙂
Block:
http://www.facebook.com/plugins/*
http://www.facebook.com/connect/*
http://www.facebook.com/widgets/*
http://www.connect.facebook.com/*
I’d like to see a -1 button against “I want to +1 this page” comments 🙂
Please inform the people behind WebIntents that this post has attracted quite some attention. There must be a way to selectively disable all of these WebIntents they are proposing to develop. BTW why not just call the WebActions?
Meanwhile in case the nasties at zuckerland and co get creative and start putting these little bugs inside Flash tags or take other nefaerious tactics, blocking these domains in NoScript is probably a more comprehensive solution. You do need to get into the NoScript Options and tick “Forbid <IFRAME> under the Embeddings tab in the “Additional restrictions for untrusted sites” section. Then flag the various source domains for these bugs as untrusted.
[…] Dietrich recently posted about the memory usage of social plugins, and I found the results rather surprising because, at least in the case of Facebook, I didn’t think it ever loaded enough code to consume 20+MB of memory. […]
Instead of writing a custom add-on, you can simply use Adblock Plus with the Antisocial subscription.
Link: Antisocial blocklist.
http://adblockplus.org/en/subscriptions
Antisocial blocklist.subscription Link:
abp:subscribe?location=https%3A%2F%2Fadversity.googlecode.com%2Fhg%2FAntisocial.txt&title=Antisocial
You know where those saved megabytes of RAM are really gold? In the mobile version. Is it too hard to make it installable in Firefox Mobile?
Sorry for commenting again, but some social plugins are not frames so they are still being loaded:
2.64 MB (01.27%) — compartment(http://www.facebook.com/plugins/likebox….)
1.62 MB (00.77%) — compartment(http://platform.twitter.com/widgets/foll…)
I was really interested in writting an extension that cancelled requests to the URLs where the social networks js code comes from, but I could not find a way to do that using jetpack.
lol, why don’t you start with removing the offensive buttons from your own site?
those are put there by WordPress.
i’m not against *other* people “Liking” stuff. i want to have control over how *I* experience the internet.
[…] add-on took about 10 minutes to write,” Ayala said in an e-mail to CNET and mentioned in a comment on his blog announcing the add-on that it is not intended to be track-free browsing. […]
[…] add-on took about 10 minutes to write,” Ayala said in an e-mail to CNET and mentioned in a comment on his blog announcing the add-on that it is not intended to be track-free browsing. […]
[…] add-on took about 10 minutes to write,” Ayala said in an e-mail to CNET and mentioned in a comment on his blog announcing the add-on that it is not intended to be track-free browsing. “Wallflower […]
[…] add-on took about 10 minutes to write,” Ayala said in an e-mail to CNET and mentioned in a comment on his blog announcing the add-on that it is not intended to be track-free browsing. […]
[…] add-on took about 10 minutes to write," Ayala said in an e-mail to CNET and mentioned in a comment on his blog announcing the add-on that it is not intended to be track-free browsing. "Wallflower is […]
[…] add-on took about 10 minutes to write,” Ayala said in an e-mail to CNET and mentioned in a comment on his blog announcing the add-on that it is not intended to be track-free browsing. […]
Breaks the ‘Back’ button on some sites. Other than that, pretty nifty.
[…] add-on took about 10 minutes to write,” Ayala said in an e-mail to CNET and mentioned in a comment on his blog announcing the add-on that i… [Read more] This entry was posted in […]
[…] 10 minutes to write,” Ayala said in an e-mail to CNET and mentioned in a comment on his blog announcing the add-on that it is […]
is it possible to make wllflower work with ff 3.6.xx? Thanks in advance. i tried to disable the version check but no luck.
[…] add-on took about 10 minutes to write,” Ayala said in an e-mail to CNET and mentioned in a comment on his blog announcing the add-on that it is not intended to be track-free browsing. […]
This is great. Can you also block the LinkedIn buttons? For an example, check for example the CNet article at http://cnet.co/ofDvRp The button is right at the buttom next to Twitter and Facebook.
good stuff. thanks for sharing.
[…] external servers. These are the culprits of long load times, unreliable features, and visitor frustration. I (along with many others) think that there is a better way to provide easy […]