6 ms·
What kind of fucked up site has 10+ iframes per page, let alone hundreds? And the example site he uses takes 530megs to load even without addons. I'm sensing th
by dendory 12y ago
What kind of fucked up site has 10+ iframes per page, let alone hundreds? And the example site he uses takes 530megs to load even without addons. I'm sensing the issue is somewhere other than Adblock Plus.
- gorhill 12y agoThe "fucked up" case highlights the fact that ABP injects 14,000+ CSS rules (with only EasyList) in every page and iframes on a page. You could as well ask "What kind of fucked up add-on unconditionally injects minimum of 14K+ CSS rules per page? (assuming no iframe)". The original point is that the approach is detrimental to Firefox the browser regardless of that stress test, and I can understand very well Firefox developers wanting to raise the issue [1], as the browser ends up taking the blame when resources are abused. [1] https://bugzilla.mozilla.org/show_bug.cgi?id=988266 https://bugzilla.mozilla.org/show_bug.cgi?id=988266
- jasonthevillain 12y agoActually, that's not crazy. Ads, social widgets (the Facebook Like button), third party comment boxes, etc. all render in iframes.
- oneeyedpigeon 12y agoNo, they may render in iframes; iframes are certainly not a requirement for any of those features, and some (the original commenter included, I suspect) might consider them a heavy-handed approach to the problem.
- aboodman 12y agoiframes are the only unit of isolation on the web. Unless you want the like button you're hosting to have complete unrestricted access to your application's private data, then yeah, the like button needs to be in an iframe.
- oneeyedpigeon 12y agoWhat's wrong with a simple link? I know facebook doesn't want you going down that route, but there's nothing to stop you.
- skeoh 12y agoThe Facebook like button tells you when you've already liked a page. It can also show you how many likes a page has, which a simple link cannot do. The like button is just one of many of Facebook's components which can be embedded into pages; another being the comment box which shows your name and display picture but cannot allow the hosting page to get at that information unauthorized.
- oneeyedpigeon 12y agoWell there are ways of presenting a personalised link, and a link containing a total number, without resorting to iframes, or even client-side code. I'm not seriously suggesting they be used, merely pointing out that the multiple-iframes functionality is not a default requirement of every page on the web, as the article suggests. Some studies have shown that articles with facebook like buttons receive fewer likes than those without. FWIW, on a site I work for, we use a plain facebook like link without any personalisation because that's all we require, and we recognise that it respects our visitors' privacy more than the full-on iframe variant.
- insertnickname 12y agoI don't want any "like" buttons.
- aboodman 12y agoI don't particularly care for them either, but sadly, the market has spoken.