• HOME
  • Featured
  • Humor
  • News
  • Tools
  • Tutorials
  • Uncategorized
nukeitdotorg

Digital Medication

RSS FEEDIRC Chat

Posts Tagged ‘noscript’

External Script Overload

  • September 6th, 2009
  • By fuzion
  • Write comment
Mashable's overuse of third party scripts is due to offloading a large number of services to other sites. They use Disqus for comments, which may explain why the immensely popular site receives relatively few comments.
Mashable’s overuse of third party scripts is due to offloading a large number of services to other sites. They use Disqus for comments, which may explain why the immensely popular site receives relatively few comments. I’ve always considered 3rd party comment services to be a big faux pas…


politico's usage of external scripts seems to be a wide mix of social, tracking, and other various services. In their case, it may be hard to avoid this problem without creating muliple inhouse web apps to replace all of these 3rd party services.
Politico’s usage of external scripts seems to be a wide mix of social, tracking, and other various services. In their case, it may be hard to avoid this problem without creating multiple inhouse web apps to replace all of these 3rd party services.


Huffington Post is another popular site with a metric ton of 3rd party JavaScript. Most of these are from sharing sites, which doesn't affect its functionality much.
Huffington Post is another popular site with a metric ton of 3rd party JavaScript. Most of these are from sharing sites, which doesn’t affect its functionality much.


Gawker's external scripts seem to be focused on tracking and ads. They appear to have their own CDN domain, which is great, but it may have been better to put it on a subdomain rather than its own since many NoScript users such as myself whitelist subdomains by default.
Gawker’s external scripts seem to be focused on tracking and ads. They appear to have their own CDN domain, which is great, but it may have been better to put it on a subdomain rather than its own since many NoScript users such as myself whitelist subdomains by default.


Craigslist is a model example of external script usage - There are none
Craigslist is a model example of external script usage – There are none


This site - I have manually added all the external scripts used here.
This site – I have manually added all the external scripts used here. I add and remove various widgets and code at regular intervals for testing. Here you see I have 3rd party code from 3 advertisers, a blog hopping widget and its CDN, and a newly added PostRank widget that I added very recently.



Thoughts and Recommendations

There are a few other problems caused by reliance on 3rd party widgets besides those pointed out above.

Increased number of DNS lookups may impact page load time. Every widget you add means one more site to lookup and download from. If the site hosting widget code goes down or experiences other problems it will likely affect your own sites user experience. Another problem involves the way search engines index and cache your site. The rendered JavaScript isn’t currently cached by Google and others, only the script code. This means that when someone views a cached version of your page, they may see a widget with different information that you originally intended to display.

In many cases, you can combine and minify third party code and it will remain functional. Much of the JavaScript I’ve encountered from social networking widgets are fairly portable and you can easily host it locally. Another option would of course be to develop your own local code to include only the needed functionality. You don’t need to hand your own user’s information and surfing habits to some third party just to give them an easy way to retweet your blog post.

  • external javascript . noscript
  • Write comment
  • 1
  • 2
  • 3
  • 4
  • Next »
Return top

INFORMATION

Pretty Squares

Other Sponsors»

Oops! That didn't work...

Powered by Hackadelic Sliding Notes 1.6.4

Pages

  • Contact
  • Policies
  • RTFM
  • Themes

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

Popular Searches

facebook photo hack webslayer facebook hack facebook photos hack facebook 2009 facebook hack 2009 decaf download facebook hacks 2009 facebook hack funny venn diagrams hacking facebook photos facebook album hack hack facebook photos 2009 facebook photo hack 2009 facebook photos hack facebook webslayer facebook photo comments hack BackTrack 4 download facebook picture hack Download Decaf facebook photo album hack hack facebook photo Detect and Eliminate Computer Assisted Forensics facebook hack photos hack facebook facebook hack photo customize google chrome custom google chrome themes how to hack facebook photos Chrome Dark Theme google chrome dark theme webappsstore sqlite hack facebook albums hack facebook pictures 2009 hack facebook photo album facebook hack albums burp suite facebook hack facebook pictures photo ninja facebook hacked facebook photos hack facebook album dark chrome theme f how to use webslayer metasploit svn facebook hack album backtrack 4 tutorial access facebook photos hack facebook photo albums google chrome black theme

DISCLOSURE OF MATERIAL CONNECTION

I have not received any compensation for writing this content and I have no material connection to the brands, topics and/or products that are mentioned herein.
  • Copyright ©  2007-2010  nukeitdotorg
  • Theme designed by mono-lab
  • Powerd by WordPress