Web seigey.blogdrive.com
A dumbass doing something useless yet still refuse to give up doing it.
Have passion in whatever you are doing, and you shall succeed. :p

Words Of Advices:
Tag Clouds (del.icio.us):
Popular entries:
» co.mments tracking (Blogdrive supported)
» Six reasons why StudioTraffic was a Success! Make money online, HAH!
» Blogger introduce RSS feeds
» co.mments tracking
» Don't be Pathetic
» Desperado
» Windows Live Mail Beta Cancellations
» Gmail Webclip is Addictive
» Dating Ricardo
» Firefox Find feature not working in textarea
» Tracking Outgoing Clicks
» Tammy NYP Sex Scandal
» Tila Nguyen - who is she?
» Windows Live Mail Beta
» Chitika's Audited revenue less than 50% Unaudited
» iWebTunes/iWebMusic Forced Shut
» Internet or Girls, which is more important?
» Mardi Gras
» My Luck
» USB Fan: Custom Made
» Studio Traffic is a Scam

Popular Blogdrives:
» Four secret Blogdrive goodies
» Blogdrive Server back on track
» Ten things I hate dislike about the WYSIWYG Editor
» Blogdrive: Before and After
» CBG Speaks
» Why Blogdrive was down again?
» Google Gadget API for Blogdrive
» Google Trends on Blogdrive
» Future of Blogging BlogDrive
» Firefox and Blogdrive rant
» Blogdrive sending multiple Email Notification
» Tagging on Blogdrive
» Beautiful ClustrMaps
» Strange character floods Blogdrive
» BlogDrive Search Features

My status

Welcome to my blog!


Vibration of Perceptions
Previous Entry Home Next Entry
<div id="95566_kdub1">How to overcome external JS issues?</div> - Vibration of Perceptions
Saturday, October 21, 2006

How to overcome external JS issues?

For many times now, Blogdrive have chosen to insert an additional text into all blogs and pages "informing" users they are upgrading servers. Sure, we should actually be grateful that they are in fact "informing" us, which under normal circumstances, they don't.

Blogdrive automatically inserts this line of code into the end of all files stored on Blogdrive. Including CSS and JS files.
<p align=center>Upgrading servers. We'll be back up in a few of minutes.<br>We are currently storing submitted entries for later processing.</p>
Now, let's not let the issue of "informing" users of downtime. The issue I'm facing now, has to do with Blogdrive, automatically inserting additional text into my .js files, making them obsolete and not working. I use lotsa external javascript files which are hosted on Blogdrive. But whenever they insert this tags, all my blogs would fail to execute.

So the solution to this problem, without informing Blogdrive of the problem (as they are always too "busy" to pay any attention to a Magnum (plan 4) subscriber such as myself), I simple insert a double slash at the very end of all my js documents.

It does the trick, wonderfully. By inserting a double slash, I basically "comment-out" the auto-inserted code.

Oh, how genius of me to stop a war, not get angry fix the small problem.

Posted at 07:10 pm by Seige

Leave a Comment:


Homepage (optional)


Previous Entry Home Next Entry

<< October 2006 >>
Sun Mon Tue Wed Thu Fri Sat
01 02 03 04 05 06 07
08 09 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31

Contact Me

If you want to be updated on this weblog Enter your email here:
rss feed
Mother Teresa

Link me: