This blog is merged with website Tec(hnology) Nerd www.tecnerd.com

To see latest posts click this link - www.tecnerd.com

New Feed address - http://feeds2.feedburner.com/tecnerd

Sunday, September 21, 2008

Show Iframe on Google sites

Google Sites blocks IFRAME tags, JavaScript scripts, some DIV tags, and other essential XHTML elements that Google considers "unsafe." This post shows a way to get around it.

To show an IFRAME, thus bypassing security restrictions in Google Sites, simply add this magical line to your IFRAME tag:

igsrc = 'http://www.google.com/ig/images/no_image/no_image_gadget_thm.png'
class='igm'

This will fool Google into thinking that you are inserting a Gadget, even though you are actually inserting your IFRAME. ;)

1 comment:

Eric Dunn said...

This trick no longer works.

Trying to modify a page that previously displayed calendars broke the page and it is now unrecoverable.

Dreamhost - the best Linux Hosting

Recent Posts

Blog Archive