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
Showing posts with label Google Apps hacks. Show all posts
Showing posts with label Google Apps hacks. Show all posts

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. ;)
Dreamhost - the best Linux Hosting

Recent Posts

Blog Archive