Get your GitHub badge now
githubbadge.appspot.com
Get your GitHub badge now
1–10 of 26 posts
Re: Get your GitHub badge now
#2Re: Get your GitHub badge now
#3Why use an iframe? Async javascript would be better all around. Also - when you click you name in the badge it opens the link inside the small iframe.
Re: Get your GitHub badge now
#4Why use an iframe? Async javascript would be better all around. Also - when you click you name in the badge it opens the link inside the small iframe.
Re: Get your GitHub badge now
#5Why use an iframe? Async javascript would be better all around. Also - when you click you name in the badge it opens the link inside the small iframe.
iframes don't block the outer page from loading or expose the page's security context (cookies, etc) to the external domain.
Re: Get your GitHub badge now
#6Re: Get your GitHub badge now
#7Re: Get your GitHub badge now
#8Earlier quoted context omitted.
iframes don't block the outer page from loading or expose the page's security context (cookies, etc) to the external domain.
Async JS doesn't block either - and cross-domain scripting rules are strict enough that it is pretty safe. The iframe code has an async Google Analytics script in it - perhaps that is the reason for the iframe (to use google analytics for tracking usage).
Re: Get your GitHub badge now
#9Earlier quoted context omitted.
iframes don't block the outer page from loading or expose the page's security context (cookies, etc) to the external domain.
Async JS doesn't block either - and cross-domain scripting rules are strict enough that it is pretty safe. The iframe code has an async Google Analytics script in it - perhaps that is the reason for the iframe (to use google analytics for tracking usage).
Personally, I greatly prefer the iframe.