WordPress Plugin IFrameWidgets 1.0 Released

January 30th, 2008 by Stephen Cronin (7,017 views)

I’m pleased to release IFrameWidgets v1.0, a WordPress plugin that can stop slow loading JavaScript widgets from breaking your page.

Widgets remain hidden until completely loaded, then appear in whole. If they don’t load, they won’t take up any space on your sidebar. If they load slowly, or hang, they won’t stop the rest of your page from loading.

If You’re On A Beta Version

IFrameWidgets has been in beta for a long time. The last beta version (v0.14) version was released almost two months ago and no problems have been reported with it, so I have promoted it to v1.0 and I’m ‘releasing it’.

There are no changes from v0.14, apart from the version number and date.

The Problem – Slow JavaScript Widgets

We all love adding JavaScript widgets to our sidebars. Widgets for social networks, advertising, traffic exchange, weather conditions, etc…

The problem is sometimes these widgets can be very slow – or they may not load at all. When this happens, it can break your page. Items after the slow widget don’t load, they wait until the widget finally loads or gives up.

How IFrameWidgets Helps

The plugin creates WordPress sidebar widgets (not to be confused with the JavaScript widgets themselves) that run in an IFrame. These are similar to the standard Text widgets, but with the output created in an IFrame.

IFrames load in parallel to the rest of the page. If slow loading JavaScript widgets are placed in an IFrame, they won’t stop the rest of the page loading if they load slowly or hang.

Note: although the rest of the page will load without waiting, your browser will not say the page is Done until the slow widgets have finished loading (or given up).

IFrameWidgets also hides the widgets until they are completely loaded, then displays them. If they don’t load, they won’t take up any space.

Requirements

Should work on any WordPress version / theme with support for WordPress widgets. I am planning a non WordPress widget version in future.

Where Do I Get It?

IFrameWidgets v1.0 can be downloaded from the IFrameWidgets plugin home page. Further information about the plugin and it’s features, including installation / upgrade instructions, is also available on the plugin home page.

Subscribe To Site:
Share and Enjoy:
  • Twitter
  • Sphinn
  • DZone
  • Design Float
  • del.icio.us
  • StumbleUpon
  • LinkedIn
  • Tumblr
  • Posterous
  • Digg
  • Facebook
  • Reddit
Related posts

Tags: , , ,

18 Comments

  1. Congratulations on releasing this, Stephen! No changes between the beta version and teh final version? It just gioes out to show what an excellent coder you are. :razz:

  2. K, Thanks buddy! Of course it could be that not enough people use it yet! :)

  3. great dude! i’ll use this plugin soon~

  4. What a cool tool for widgets!! I will be recommending this to several bloggers I know as well, since some of them having scripts which hang up on me in explorer and firefox. It gets realy annoying because I enjoy reading their posts.

  5. Fahmishah, Great! I hope it helps…

    NZ Map, Thanks – I know what you mean… It can really detract from reading a blog which suffers from this. In the past, there was one blog that was so bad, I resorted to only reading it via a feed reader and never commenting!

  6. [...] Slow JavaScript Widgets – WordPress Plugin IFrameWidgets 1.0 Released – IFrameWidgets v1.0, a WordPress plugin that can stop slow loading JavaScript widgets from breaking your page. Widgets remain hidden until completely loaded, then appear in whole. If they don?t load, they won?t take up any space on your sidebar. If Technorati Tags:WordPress, WordPress Plugin, wordPress plugins, wordpress seoTag Links:WordPress, WordPress Plugin, wordPress plugins, wordpress seoSegnala presso: Related Posts:Interesting websites for SEO, Web Marketing and everday work from Sante YAHOO! Shortcuts and Flickr images in your WordPress BlogUseful WordPress Plugin websites for SEO, Web Marketing and everday work from SanteWordPress Plugins and Resources for yoru blogInteresting WordPress Plugins for your Blogs from Sante [...]

  7. [...] slow loading scripts from breaking your blog with IFrameWidgets v1.0 WordPress plugin. Slow widgets or snippets of Javascript can either time-out, or prevent the items [...]

  8. I think try it, but plugins are slowdown to wordpress.

  9. anadolu jet Says:
     (Reply)

    hi. i think the iframe a bomb for all site. the google don’t like iframe codes.so your’s sites can be sandbox.

    LINK REMOVED: because of failure to use KeywordLuv syntax (name@keywords)

    1. Anadolu,

      Not true. IFrames are bad for SEO, so I wouldn’t put your content in an IFrame, but it shouldn’t be a problem with external widgets. That’s not your content, that you want people to search on, and it’s probably a good thing if the search engines can’t see it.

      But using IFrames will NOT result in your site being sandboxed…

      1. Hi Stephen

        Cool idea! You are totally right – usually your content is not shown in widgets, and even if, you don’t need to use the iFrame Widget with that widget code.
        One thing that would be really cool: If I could just drag and drop a “normal” widget into the iframe widget then there would be no need to fiddle with code…

        Mike

  10. I’m gonna try this out on 2.6 and hopefully this will work

  11. I second you Stephen. contents in IFrames aren’t usually indexed by the search engines, however they don’t affect the rest of your page’s content getting indexed or ranked. IFrame cloaking on the other hand, is quite another story, as it’s a n intention to show readers one thing, and the search engines another. And in that case, when caught, you might get in the sandbox or banned altogether. =P

  12. This realy is a clever idea. It is so simple in theory but so powerful. This is a must for my list of plugins. Thanks.

  13. Sounds good, will definitely give it a try.

  14. I have a question, will this work with the newer versions of Wordpress? I do not want to use it yet until I know, as I messed up one of my Wordpress blogs before due to some plugins.

  15. Great plugin idea. You should make it so people can set a time limit on java script to load so it will stop loading them after so long. Maybe let people set the time so if any java scripts have problems on some days the site just does not load them after so long.

  16. that’s cool i want to try it

Leave a comment

THIS BLOG IS NO LONGER DOFOLLOW

Rules: Leave your name! No inappropriate or offensive comments. No links to inappropriate or offensive sites. Comments must contribute to the discussion.


Get your ad shown hereGet your ad shown hereWPVote - Digg for WordPress Lovers Advertise

WordPress Plugins by Stephen Cronin

Want a Custom WordPress plugin? See my Services page.

Greasemonkey Scripts by Stephen Cronin

Visit my home page at Userscripts.org.