<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>gHacks Technology News &#124; Latest Tech News, Software And Tutorials &#187; javascript</title> <atom:link href="http://www.ghacks.net/tag/javascript/feed/" rel="self" type="application/rss+xml" /><link>http://www.ghacks.net</link> <description>A technology news blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description> <lastBuildDate>Fri, 10 Feb 2012 20:51:26 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/> <item><title>Embed Facebook, Twitter, Google Plus Without JavaScript</title><link>http://www.ghacks.net/2011/11/30/embed-facebook-twitter-google-plus-without-javascript/</link> <comments>http://www.ghacks.net/2011/11/30/embed-facebook-twitter-google-plus-without-javascript/#comments</comments> <pubDate>Wed, 30 Nov 2011 09:36:32 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[Web Development]]></category> <category><![CDATA[facebook]]></category> <category><![CDATA[Google Plus]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[social media]]></category> <category><![CDATA[twitter]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=53434</guid> <description><![CDATA[Search engines like Google Search use a page&#8217;s loading time as a signal when they compute that page&#8217;s ranking in their search engine results. Webmasters have a lot to tweak, from the server backbone to the scripts they use and embed, and the images and media they post; Everything has an impact on the page [...]]]></description> <content:encoded><![CDATA[<p>Search engines like Google Search use a page&#8217;s loading time as a signal when they compute that page&#8217;s ranking in their search engine results. Webmasters have a lot to tweak, from the server backbone to the scripts they use and embed, and the images and media they post; Everything has an impact on the page loading time. Social media buttons have become very popular with webmasters in recent years. The majority implements the buttons either with the help of plugins or by copying and pasting the code that social networks like Facebook offer directly.</p><p>The majority of methods use JavaScript to trigger the functionality. The issue here is that external scripts increase the page loading time. If you load to many scripts, your website could be punished for this by the search engines by reducing the page&#8217;s position in the rankings. Depending on the number of social media buttons that you embed, you could be loading multiple external JavaScript files.</p><p>But JavaScript can also be used for tracking purposes. Visitors who load a web page with external JavaScript will always at least pop up in the external service&#8217;s access logs.</p><p>The only positive effect for the webmaster is that users can vote for their articles on the linked social networking sites. But this is also achievable without JavaScript. The benefit of that solution? Faster page loading times and guaranteed no user tracking.</p><p>The following solution has been created by Daniel Pataki. It is a solution for WordPress, if you use a different script or software you may need to modify the code accordingly.</p><p>The code consists of two parts. First CSS code that you need to add to your blog&#8217;s stylesheet, and then the code that displays the links to the social networking sites on the website.</p><p><strong>CSS Code:</strong></p><p>You need the following sprite image that contains all four icons. This speeds up the loading time as only one image needs to be loaded instead of four separate ones. Place it in the /img/ directory of your theme folder or alter the background:url code to place it somewhere else.</p><p><img
src="http://www.ghacks.net/wp-content/uploads/2011/11/sprite.png" alt="sprite" title="sprite" width="132" height="32" class="alignnone size-full wp-image-53438" /></p><p><code>.social_icon {<br
/> background:url("img/sprite.png");<br
/> display:block;<br
/> width:33px;<br
/> float:left;<br
/> margin:0 3px 0 0;<br
/> height:32px;<br
/> opacity:0.8;<br
/> filter:alpha(opacity=80);<br
/> }<br
/> .social_icon:hover {<br
/> opacity:1;<br
/> filter:alpha(opacity=100)<br
/> }<br
/> .social_icon.twitter {<br
/> background-position:-33px 0;<br
/> }<br
/> .social_icon.googleplus {<br
/> background-position:-99px 0;<br
/> }<br
/> .social_icon.print {<br
/> background-position:-66px 0;<br
/> }</code></p><p><strong>WordPress single.php code</strong></p><p>You need to add the following code to WordPress&#8217; single.php file.</p><p><code>&lt;div class='social'&gt;<br
/> &lt;a href='http://www.facebook.com/sharer.php?u=&lt;?php the_permalink() ?&gt;' class='social_icon facebook'  rel="nofollow">&lt;/a&gt;<br
/> &lt;a href='https://twitter.com/share?url=&lt;?php the_permalink() ?&gt;' class='social_icon twitter'  rel="nofollow">&lt;/a&gt;<br
/> &lt;a class='social_icon googleplus' href="https://plusone.google.com/_/+1/confirm?hl=en&#038;url=&lt;?php the_permalink() ?&gt;"  rel="nofollow" &gt;&lt;/a&gt;<br
/> &lt;a href='javascript:window.print()' class='social_icon print'>&lt;/a&gt;<br
/> &lt;div style='clear:both'&gt;&lt;/div&gt;<br
/> &lt;/div&gt;</code></p><p>The functionality should be available immediately. Users who click on a social networking icon are taken to the selected site where they can post about the web page that they have originated from. The page url is automatically included in the post.</p><p>I hope this helps some of you out there who want to offer functional social networking buttons without the JavaScript.</p><p><strong>Update:</strong> Have added rel=&#8221;nofollow&#8221; to all external links.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2011/11/30/embed-facebook-twitter-google-plus-without-javascript/feed/</wfw:commentRss> <slash:comments>11</slash:comments> </item> <item><title>Firefox 9 Gets Big JavaScript Performance Boost</title><link>http://www.ghacks.net/2011/09/04/firefox-9-gets-big-javascript-performance-boost/</link> <comments>http://www.ghacks.net/2011/09/04/firefox-9-gets-big-javascript-performance-boost/#comments</comments> <pubDate>Sun, 04 Sep 2011 16:06:25 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[Browsing]]></category> <category><![CDATA[Firefox]]></category> <category><![CDATA[firefox 9]]></category> <category><![CDATA[firefox nightly]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[JavaScript performance]]></category> <category><![CDATA[web browser]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=50093</guid> <description><![CDATA[Good news for all Firefox users, especially those running the latest Nightly builds of Firefox 9 or those planning to upgrade to the new version of the web browser once it becomes available in other Firefox release channels. Mozilla developer Brian Hackett worked on a new feature called type inference for over a year. You [...]]]></description> <content:encoded><![CDATA[<p>Good news for all Firefox users, especially those running the latest Nightly builds of Firefox 9 or those planning to upgrade to the new version of the web browser once it becomes available in other Firefox release channels.</p><p>Mozilla developer Brian Hackett worked on a new feature called type inference for over a year. You may know that you need to define types for variables in some programming languages, while it is not necessary to do that in others. JavaScript for instance does not require type definitions for variables. The downside here is that this practice can have an impact on performance.</p><p>Type inference now refers to an algorithm that is automatically deducting the type of an expression.</p><p>Type inference is boosting Firefox JavaScript performance big time. Mozilla&#8217;s David Mandelin noticed JavaScript performance improvements of up to 44%.</p><blockquote><p>On my machine, TI takes our Kraken score from about 4900 to about 3400, a 1.44x speedup. And on V8-v6, our score goes from about 5000 to about 6600, a 1.3x speedup.</p></blockquote><p><a
href="http://www.extremetech.com/computing/94532-firefox-9-javascript-performance-improved-by-20-30-with-type-inference">Sebastian Anthony</a> over at Extreme Tech did some measuring of his own and came to the conclusion that the performance gains depend largely on the benchmark used. He noticed performance improvements between 15% to 30% in benchmarks on a Intel i7 930 processor with 6 Gigabytes of RAM and a fairly speedy Nvidia GTX 460 video card.</p><blockquote><p>With Firefox 9, and without type inference, the Kraken benchmark takes 3895 milliseconds; with type inference enabled it takes just 2763 milliseconds. Firefox 9, without type inference, scores 6075 on the V8 JavaScript Benchmark; with type inference, the score jumps up to 6585. Even on banal tests like Microsoft’s HTML5 Sudoku, type inference improves the solving time for 10,000 grids from 2.6 down to 1.62 seconds — and yes, the FishBowl framerate, at 2,000 fish, is increased by 15-20% with type inference enabled.</p></blockquote><p>Interested users can download the latest Mozilla Central release with type inference enabled <a
href="http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-central/">from the</a> official Mozilla ftp server. The next Firefox channel to get type inference is Firefox Aurora, which is going to be released on September 27. Firefox Beta will get the feature on November 8, and the stable channel on December 20.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2011/09/04/firefox-9-gets-big-javascript-performance-boost/feed/</wfw:commentRss> <slash:comments>25</slash:comments> </item> <item><title>Load Google+ Button Asynchronously For Faster Loading Times</title><link>http://www.ghacks.net/2011/07/27/load-google-button-asynchronous-for-faster-loading-times/</link> <comments>http://www.ghacks.net/2011/07/27/load-google-button-asynchronous-for-faster-loading-times/#comments</comments> <pubDate>Wed, 27 Jul 2011 08:59:45 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[Google]]></category> <category><![CDATA[Web Development]]></category> <category><![CDATA[Google Plus]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[speed up site]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=48287</guid> <description><![CDATA[Webmasters have really no choice but to add the Google+ button and other social networking buttons to their websites. Why? Because social signals will grow in importance in the coming years. These buttons can also be convenient for site visitors who would like to share a specific article or the whole website that they just [...]]]></description> <content:encoded><![CDATA[<p>Webmasters have really no choice but to add the Google+ button and other social networking buttons to their websites. Why? Because social signals will grow in importance in the coming years. These buttons can also be convenient for site visitors who would like to share a specific article or the whole website that they just discovered with friends, family or colleagues.</p><p>Every new button on the other hand increases the page loading time of a website. Most buttons make use of JavaScript. The three buttons here on Ghacks, that link to Facebook, Twitter and Google, all have their own JavaScript file that needs to be loaded during page loading time.</p><p>One of the things that webmasters can do to speed up the loading time is to combine JavaScripts, another to load scripts asynchronously.</p><p>Google recently announced that they have made their +1 button load faster on websites. The search giant enabled asynchronous loading for +1 buttons. This basically means that the JavaScript of the button gets loaded without interrupting the loading and rendering of the website it is embedded on.</p><p>Webmasters who would like to integrate the new button need to <a
href="http://www.google.com/webmasters/+1/button/#utm_source=adsense&#038;utm_medium=blog&#038;utm_campaign=async">visit the</a> Google +1 button generator at Google to generate the code for the new button.</p><p>The code for the old +1 button was placed in two locations. First at the location on the page where the button should show up and second in the site&#8217;s footer just before the closing body tag.</p><p>The new Google +1 button changes this slightly. You still add the tags to the location where you want the +1 button to appear on your site. The JavaScript code on the other hand needs to be placed after the last +1 tag on the page.</p><p><img
src="http://www.ghacks.net/wp-content/uploads/2011/07/google+1button-asynchronous.png" alt="google+1 button asynchronous" title="google+1 button asynchronous" width="561" height="489" class="alignnone size-full wp-image-48289" /></p><p>Just copy and paste the generated code into your site. You need to remove the old JavaScript from the footer of your website before you place the new JavaScript code into the site.</p><p>Webmasters who do not want or cannot integrate the new code into their website will benefit from rendering optimizations which can speed up the rendering of the button on a website by a factor of 3. This is automatic and independent of the button code that is implemented on the site. Additional information about the speed improvements <a
href="http://googlewebmastercentral.blogspot.com/2011/07/1-button-now-faster.html?utm_source=feedburner&#038;utm_medium=feed&#038;utm_campaign=Feed%3A+blogspot%2FamDG+%28Official+Google+Webmaster+Central+Blog%29">are available</a> on the Google Webmaster Central blog.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2011/07/27/load-google-button-asynchronous-for-faster-loading-times/feed/</wfw:commentRss> <slash:comments>6</slash:comments> </item> <item><title>Safy, Run Links With JavaScript, Plugins Disabled In Google Chrome</title><link>http://www.ghacks.net/2010/11/20/safy-run-links-with-javascript-plugins-disabled-in-google-chrome/</link> <comments>http://www.ghacks.net/2010/11/20/safy-run-links-with-javascript-plugins-disabled-in-google-chrome/#comments</comments> <pubDate>Sat, 20 Nov 2010 17:47:38 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[Browsing]]></category> <category><![CDATA[Google Chrome]]></category> <category><![CDATA[google chrome]]></category> <category><![CDATA[google chrome extensions]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[noscript]]></category> <category><![CDATA[notscript]]></category> <category><![CDATA[plugins]]></category> <category><![CDATA[safy]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=37118</guid> <description><![CDATA[I do not have a problem opening websites without JavaScript or plugins enabled in Firefox with the excellent NoScript add-on running. In fact, NoScript blocks those scripts on all pages by default. There is not an equivalent of NoScript for Google Chrome, even NotScript, which comes closest to the functionality does not offer the features [...]]]></description> <content:encoded><![CDATA[<p>I do not have a problem opening websites without JavaScript or plugins enabled in Firefox with the excellent <a
href="http://www.ghacks.net/tag/noscript/">NoScript</a> add-on running. In fact, NoScript blocks those scripts on all pages by default. There is not an equivalent of NoScript for Google Chrome, even <a
href="http://www.ghacks.net/2010/08/18/notscript-brings-noscript-functionality-to-google-chrome/">NotScript</a>, which comes closest to the functionality does not offer the features that NoScript offers.</p><p>Chrome users who want to open some websites with scripts and plugins disabled have now another option. The Safy extension for Chrome offers to open links in the browser in in iframe sandbox with both JavaScript and all plugins disabled.</p><p><img
src="http://www.ghacks.net/wp-content/uploads/2010/11/google-chrome-safy-550x297.jpg" alt="google chrome safy" title="google chrome safy" width="550" height="297" class="alignnone size-medium wp-image-37120" /></p><p>Options provided are to open the selected link in a new tab in the same browser window or in the current tab. This works fine in most instances, but not all the time. It is for instance not working in Google Search. An error message is displayed if Safy is used to display a search result in a sandboxed tab.</p><p>That&#8217;s the biggest quirk right now. The other problem that some users may experience is that they cannot launch websites using Safy if no link is present. Say you are on a website and want to open it without JavaScript or plugins, or you want to enter a web address directly, or open a bookmark in the browser. Safy cannot be used in all of those cases.</p><p>Then again, it works very well for normal links on most sites. Ideal for opening a link on Twitter, Facebook or blogs  in a safer environment.</p><p><a
href="https://chrome.google.com/extensions/detail/cjbknoghadgkeighagoineoacjmfgiga?hl=en#">Safy</a> is available only for the Chrome browser. It can be installed directly from the Chrome extension gallery.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/11/20/safy-run-links-with-javascript-plugins-disabled-in-google-chrome/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Epiphany: An efficient, but different, web browser</title><link>http://www.ghacks.net/2010/07/01/epiphany-an-efficient-but-different-web-browser/</link> <comments>http://www.ghacks.net/2010/07/01/epiphany-an-efficient-but-different-web-browser/#comments</comments> <pubDate>Thu, 01 Jul 2010 11:24:06 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Advice]]></category> <category><![CDATA[Browsing]]></category> <category><![CDATA[Desktop Manager]]></category> <category><![CDATA[ghacks]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[bookmarks]]></category> <category><![CDATA[GNOME]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[web browser]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=27743</guid> <description><![CDATA[After I set up RGBA support in Ubuntu (see my article &#8220;Enable RGBA support in Ubuntu&#8220;), I sat about to find applications that could replace non-GTK+ applications currently in use. Replacing the web browser proved to be a challenge. And although it&#8217;s not able to stand alone as a full blown replacement for my favorite, [...]]]></description> <content:encoded><![CDATA[<p>After I set up RGBA support in Ubuntu (see my article &#8220;<a
title="Enable RGBA support in Ubuntu" href="http://www.ghacks.net/2010/06/12/enable-rgba-support-in-ubuntu/" target="_blank">Enable RGBA support in Ubuntu</a>&#8220;), I sat about to find applications that could replace non-GTK+ applications currently in use. Replacing the web browser proved to be a challenge. And although it&#8217;s not able to stand alone as a full blown replacement for my favorite, Chrome, the Epiphany web browser is a nice, serviceable replacement that supports RGBA.</p><p>There are a few things Epiphany handles differently than most browsers. One of those is bookmarks. With Epiphany you will not find a bookmark toolbar, but the way it does bookmarks is rather interesting. In this article I will show you how to work with bookmarks in Epiphany as well as keeping this little browser from crashing on you every few seconds.</p><p><span
id="more-27743"></span><strong>The Crashes</strong></p><p>When I first started working with Epiphany it crashed on most sites I visited. After doing a little research (and then a little debugging) I realized the issue was with javascript. Epiphany (in its current release), for some strange reason, doesn&#8217;t like javascript. The only way around this was to disable javascript. Yes this means a lot of features won&#8217;t work on a lot of sites &#8211; but this also means those same sites will load faster and won&#8217;t be so prone to having issues (like crashing my browser).</p><p>To disable javascript all you need to do is click <strong>Edit &gt; Preferences</strong> and then, in the Privacy tab, un-check Enable Javascript. Click close and you&#8217;re good to go. Epiphany will now run like a champ on most sites.</p><p><strong>Bookmarks</strong></p><p>Now it&#8217;s time to see how the other side of the tracks deals with bookmarks. Epiphany looks at bookmarks as more of a database than a hierarchical file folder. This minimizes the interface (no bookmarks toolbar) and allows the user to associate a bookmark with one ore more topics quickly. Let&#8217;s take a look at how you manage your bookmarks in Epiphany.</p><p><em>Step 1</em>: Navigate to a web site. This is done as you would do with any browser.</p><p><em> </em></p><p><em> </em></p><p><em></p><div
id="attachment_27746" class="wp-caption alignleft" style="width: 262px"><a
href="http://www.ghacks.net/wp-content/uploads/2010/07/epiphany_add_bookmark.png"><img
class="size-full wp-image-27746 " src="http://www.ghacks.net/wp-content/uploads/2010/07/epiphany_add_bookmark.png" alt="" width="252" height="280" /></a><p
class="wp-caption-text">Figure 1</p></div><p>Step 2</em>: Click <strong>Bookmarks &gt; Add Bookmark </strong>(or &lt;Ctrl&gt;d) to bring up the Add Bookmark window (see Figure 1).  When the new window is up you need to do the following:</p><p>Change the title of the bookmark (most sites&#8217; titles are far too long for Bookmark titles).</p><p>Add topics: These will aid in bookmark searching. Do this by click the check box associated with each topic.</p><p>Click Add.</p><p>That&#8217;s it. But what if you need new topics? By default Epiphany has only a few topics to select. You will need to add your own to make your bookmark life much easier. To do this open up the bookmark manager by clicking <strong>Bookmarks &gt; Edit Bookmarks </strong>which will open up the Bookmarks Manager (see Figure 2).</p><div
id="attachment_27747" class="wp-caption alignright" style="width: 310px"><a
href="http://www.ghacks.net/wp-content/uploads/2010/07/epiphany_topics.png"><img
class="size-medium wp-image-27747 " src="http://www.ghacks.net/wp-content/uploads/2010/07/epiphany_topics-500x421.png" alt="" width="300" height="253" /></a><p
class="wp-caption-text">Figure 2</p></div><p>To add a new topic all you need to do is click <strong>File &gt; New Topic</strong>. This will create a new line in the left navigation where you simply have to type the title of your new topic. To keep your searching to a minimum, make sure you add multiple topics to a bookmark. For instance, I can associated the Ghacks bookmark to the following topics:</p><ul><li>Linux</li><li>PC</li><li>Computers</li><li>Technology</li><li>Work</li><li>Writing</li></ul><p>With that Ghacks will show up in every one of those topics.  One thing that is nice is that you don&#8217;t have to have the bookmark manager open to get to your bookmarks. You can actually show a topic in a toolbar&#8230;effectively giving you a bookmark toolbar. To do this right-click a Topic in the bookmark editor and select &#8220;Show on toolbar&#8221;. This will add a drop-down for that topic on your toolbar.</p><p><strong>Final thoughts</strong></p><p>Although Epiphany hasn&#8217;t fully replaced Chrome and Firefox as my one-stop-shop browser, I now use it much more than I would have previously. Of course part of this is simply because it supports RGBA (and I am a sucker for a well designed desktop), but also because of it&#8217;s small footprint, fast startup, and clean interface. Give Epiphany a try and see if you, like me, have an epiphany about your browsing.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/07/01/epiphany-an-efficient-but-different-web-browser/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>Thunderbird 3 JavaScript, What&#8217;s The Deal?</title><link>http://www.ghacks.net/2010/06/30/thunderbird-3-javascript-whats-the-deal/</link> <comments>http://www.ghacks.net/2010/06/30/thunderbird-3-javascript-whats-the-deal/#comments</comments> <pubDate>Wed, 30 Jun 2010 14:50:12 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[Email]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[mozilla thundebird]]></category> <category><![CDATA[thunderbird]]></category> <category><![CDATA[thunderbird javascript]]></category> <category><![CDATA[thunderbird security]]></category> <category><![CDATA[thunderbird tips]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=27684</guid> <description><![CDATA[Veteran users of the Thunderbird email client might remember that JavaScript was supported in version 2. Users who have recently upgraded to version 3 of Thunderbird might also have noted that JavaScript is no longer executed by the software, at least in email contexts. So what&#8217;s the deal with JavaScript and Thunderbird? The Thunderbird developers [...]]]></description> <content:encoded><![CDATA[<p>Veteran users of the Thunderbird email client might remember that JavaScript was supported in version 2. Users who have recently upgraded to version 3 of Thunderbird might also have noted that JavaScript is no longer executed by the software, at least in email contexts.</p><p>So what&#8217;s the deal with JavaScript and Thunderbird? The Thunderbird developers have apparently <a
href="https://developer.mozilla.org/En/Thunderbird_3_for_developers">decided</a> to remove JavaScript support in Thunderbird 3.</p><blockquote><p>Due to various security considerations. Javascript has been disabled completely in message content (the javascript.allow.mailnews preference no longer has any effect). Javascript is enabled for remote content including RSS feeds.</p></blockquote><p><span
id="more-27684"></span>JavaScript is still available for RSS feeds but not in message content. To begin with, this change likely affects only a minority of Thunderbird users, with most probably not even knowing that JavaScript was enabled at a time in the email client.</p><p>The definite answer at this point is that the developer&#8217;s have no intention of adding JavaScript again to the program. There is currently no config option or add-on that will bring back JavaScript in Thunderbird 3.</p><p>Thunderbird 3 users who read RSS feeds in the application might want to consider disabling JavaScript in this context as well to improve the security of the client. JavaScript is usually not needed to read RSS feeds although some media feeds might require it.</p><p>Here is how this is done:</p><p>Open the Tools > Options menu in Thunderbird. Switch to the Advanced tab and click the Config Editor button in the General sub-tab.</p><div
id="attachment_27686" class="wp-caption alignnone" style="width: 510px"><img
src="http://www.ghacks.net/wp-content/uploads/2010/06/thunderbird-3-options-500x416.png" alt="thunderbird 3 options" title="thunderbird 3 options" width="500" height="416" class="size-medium wp-image-27686" /><p
class="wp-caption-text">thunderbird 3 options</p></div><p>Confirm to be careful if this menu is opened for the first time. Enter JavaScript in the filter and locate the parameter JavaScript.enabled. Double-click that parameter to set it to false.</p><div
id="attachment_27687" class="wp-caption alignnone" style="width: 510px"><img
src="http://www.ghacks.net/wp-content/uploads/2010/06/thunderbird-javascript-500x152.png" alt="thunderbird javascript" title="thunderbird javascript" width="500" height="152" class="size-medium wp-image-27687" /><p
class="wp-caption-text">thunderbird javascript</p></div><p>This disables JavaScript for RSS feeds in Thunderbird 3. Scripts that are included are ignored by Thunderbird. It is not clear if a restart is required, it is recommended to restart to make sure the new setting is recognized by Thunderbird.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/06/30/thunderbird-3-javascript-whats-the-deal/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>A Userscript For Better Userscripts.org Navigation</title><link>http://www.ghacks.net/2009/11/05/a-userscript-for-better-userscripts-org-navigation/</link> <comments>http://www.ghacks.net/2009/11/05/a-userscript-for-better-userscripts-org-navigation/#comments</comments> <pubDate>Thu, 05 Nov 2009 19:32:33 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[Browsing]]></category> <category><![CDATA[Firefox]]></category> <category><![CDATA[greasemonkey]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[userscripts]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=18154</guid> <description><![CDATA[If you have been to userscripts.org before you might have noticed that the website holds an incredible amount of userscripts. You might have also noticed that it is extremely uncomfortable to browse and work with in general. Userscripts are JavaScript code snippets that change elements on a website while it is loaded in the web [...]]]></description> <content:encoded><![CDATA[<p>If you have been to userscripts.org before you might have noticed that the website holds an incredible amount of userscripts. You might have also noticed that it is extremely uncomfortable to browse and work with in general. Userscripts are JavaScript code snippets that change elements on a website while it is loaded in the web browser. The developer of the &#8220;Because it&#8217;s your userscripts.org&#8221; userscript must have come to the conclusion that a userscript would be the perfect way of improving the userscripts.org website.</p><p>And that&#8217;s what the developer did. The userscript changes several key elements on the website. Its main features are options to customize the script display on the website and the option to add scripts and authors to a blacklist so that they will no longer be displayed when browsing the website.</p><p><span
id="more-18154"></span><img
src="http://www.ghacks.net/wp-content/uploads/2009/11/userscript-500x332.jpg" alt="userscript" title="userscript" width="500" height="332" class="alignnone size-medium wp-image-18155" /></p><p>The default changes include an increase in the amount of scripts that are displayed per page (triple the default amount), and options to install or blacklist any script right from that page without visiting the script&#8217;s profile page first. A trashcan icon is also placed next to each userscript in the script table listings to add it to the blacklist.</p><p>The left side contains a link to the settings of the userscript which provide access to additional options. This includes removing rows of the table layout (Hide &#8216;Rating&#8217; Column, Hide &#8216;Posts&#8217; Column, Hide &#8216;Fans&#8217; Column, Hide &#8216;Installs&#8217; Column, Hide &#8216;Last Updated&#8217; Column, Hide &#8216;Votes&#8217; Column), add scripts based on title or description to the blacklist or to change various author and script related blacklisting settings.</p><p>Because it&#8217;s your userscripts.org can be downloaded from the <a
href="http://userscripts.org/scripts/show/14648">userscripts</a> website.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2009/11/05/a-userscript-for-better-userscripts-org-navigation/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>SiteFlow Bookmarklet Simplifies Website Navigation</title><link>http://www.ghacks.net/2009/08/16/siteflow-bookmarklet-simplifies-website-navigation/</link> <comments>http://www.ghacks.net/2009/08/16/siteflow-bookmarklet-simplifies-website-navigation/#comments</comments> <pubDate>Sun, 16 Aug 2009 12:09:51 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[Browsing]]></category> <category><![CDATA[Firefox]]></category> <category><![CDATA[Google Chrome]]></category> <category><![CDATA[Opera]]></category> <category><![CDATA[blogs]]></category> <category><![CDATA[bookmarklet]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[navigation]]></category> <category><![CDATA[siteflow]]></category> <category><![CDATA[web browser]]></category> <category><![CDATA[websites]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=15415</guid> <description><![CDATA[Many websites on the Internet use pagination. This includes all major search engines like Google Search or Bing, blogs like Ghacks or websites that provide access to media like Youtube. Pagination is used to limit the time it takes to load a website and to well arrange it for the visitor. The main problem with [...]]]></description> <content:encoded><![CDATA[<p><img
src="http://www.ghacks.net/wp-content/uploads/2009/08/siteflow.jpg" alt="siteflow" title="siteflow" width="180" height="90" class="alignleft size-full wp-image-15416" />Many websites on the Internet use pagination. This includes all major search engines like Google Search or Bing, blogs like Ghacks or websites that provide access to media like Youtube. Pagination is used to limit the time it takes to load a website and to well arrange it for the visitor.</p><p>The main problem with pagination is that it limits the amount of content on each page forcing the user to click on one of the buttons to be taken to the next or previous page of the website to access new content. Some extensions and scripts are available that automatically load the new content once the user reaches the end of the page.</p><p><span
id="more-15415"></span>Another alternative is provided by the SiteFlow bookmarklet. The bookmarklet recognizes the headlines of the active page (which would be the titles here at Ghacks for example) and displays them in an overlay on top. It offers previous and next buttons which will load previous or next pages of the website both in its interface but also on the screen.</p><p>A click on a headline will take the user right to the beginning of the article.</p><p><img
src="http://www.ghacks.net/wp-content/uploads/2009/08/siteflow_bookmarklet-500x269.jpg" alt="siteflow bookmarklet" title="siteflow bookmarklet" width="500" height="269" class="alignnone size-medium wp-image-15417" /></p><p>Keyboard shortcuts are available to perform the following operations:</p><ul><li>Go to next page [right arrow key]</li><li>Go to previous page [left arrow key]</li><li>Return to first page [Shift Home]</li><li>Skip to last page [Shift End]</li><li>Jump to next headline [CTRL down arrow]</li><li>Jump to previous headline [CTRL up arrow]</li></ul><p>The keyboard shortcuts to flip pages come in handy in many occasions as it only takes one key to perform the action. <a
href="http://www.smallmeans.com/tools/siteflow/">SiteFlow</a> is compatible with many modern web browsers including Mozilla Firefox, Google Chrome, Opera and Safari.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2009/08/16/siteflow-bookmarklet-simplifies-website-navigation/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>Another Critical Firefox Vulnerability Emerges</title><link>http://www.ghacks.net/2009/07/19/another-critical-firefox-vulnerability-emerges/</link> <comments>http://www.ghacks.net/2009/07/19/another-critical-firefox-vulnerability-emerges/#comments</comments> <pubDate>Sun, 19 Jul 2009 11:49:10 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[Browsing]]></category> <category><![CDATA[Firefox]]></category> <category><![CDATA[firefox 3]]></category> <category><![CDATA[firefox security]]></category> <category><![CDATA[firefox vulnerability]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[mozilla-firefox]]></category> <category><![CDATA[web browser]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=14523</guid> <description><![CDATA[It has been only a few days ago that the Mozilla Firefox team released an update for Firefox 3.5 to Firefox 3.5.1 that would close a recently disclosed critical security vulnerability that allowed attackers to execute arbitrary code on the attacked computer system. Earlier today another Firefox vulnerability was disclosed to the public that affects [...]]]></description> <content:encoded><![CDATA[<p><img
src="http://www.ghacks.net/wp-content/uploads/2009/06/firefox.png" alt="firefox" title="firefox" width="128" height="128" class="alignleft size-full wp-image-13848" />It has been only a few days ago that the Mozilla Firefox team released an update for Firefox 3.5 to Firefox 3.5.1 that would close a recently disclosed critical security vulnerability that allowed attackers to execute arbitrary code on the attacked computer system. Earlier today another Firefox vulnerability was disclosed to the public that affects the latest version of Firefox. The vulnerability can be remotely exploited and uses an stack based buffer overflow that is triggered by an overly long string of Unicode data. It can lead to remote code execution or to crashes, freezes or the allocation of a lot of computer memory.</p><p>A proof of concept has already been <a
href="http://downloads.securityfocus.com/vulnerabilities/exploits/35707.html">created</a> that demonstrates the vulnerability. No patch has been made available yet. Firefox users are encouraged to disable JavaScript until a patch is issued to avoid leaving their computer system vulnerable for the attack.</p><p><span
id="more-14523"></span>Users working with security add-ons like NoScript might consider their Firefox installation safe without disabling JavaScript. It is however theoretically possible to compromise websites that are in the whitelist of the add-on (if the whitelist is used) which would make the system vulnerable to this kind of attack.</p><p><img
src="http://www.ghacks.net/wp-content/uploads/2009/07/javascript-500x469.jpg" alt="javascript" title="javascript" width="500" height="469" class="alignnone size-medium wp-image-14524" /></p><p>JavaScript can be disabled in the Firefox options in the content tab.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2009/07/19/another-critical-firefox-vulnerability-emerges/feed/</wfw:commentRss> <slash:comments>6</slash:comments> </item> <item><title>Block NoScript From Opening Homepage After Update</title><link>http://www.ghacks.net/2009/07/16/block-noscript-from-opening-homepage-after-update/</link> <comments>http://www.ghacks.net/2009/07/16/block-noscript-from-opening-homepage-after-update/#comments</comments> <pubDate>Thu, 16 Jul 2009 12:14:28 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[Browsing]]></category> <category><![CDATA[Firefox]]></category> <category><![CDATA[block scripts]]></category> <category><![CDATA[firefox add-ons]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[mozilla]]></category> <category><![CDATA[noscript]]></category> <category><![CDATA[noscript add-on]]></category> <category><![CDATA[noscript update]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=14433</guid> <description><![CDATA[The NoScript add-on for the Firefox web browser is without doubt one of the best ways to increase the web browser&#8217;s security as it disables JavaScript elements on all websites that are visited by the user initially. It is of course possible to enable these JavaScript elements if the website is considered safe but the [...]]]></description> <content:encoded><![CDATA[<p><img
src="http://www.ghacks.net/wp-content/uploads/2009/06/firefox.png" alt="firefox" title="firefox" width="128" height="128" class="alignleft size-full wp-image-13848" />The NoScript add-on for the Firefox web browser is without doubt one of the best ways to increase the web browser&#8217;s security as it disables JavaScript elements on all websites that are visited by the user initially. It is of course possible to enable these JavaScript elements if the website is considered safe but the initial blocking of the code increases security and prevents script attacks even if they are 0-day and have not been fixed yet.</p><p>The Firefox add-on gets updated quite regularly and one rather annoying trait is that it will open the NoScript website after each update. Most users do not care that much and close the tab in this situation. Some users might prefer a permanent solution so that the website will not be opened when the script updates.</p><p><span
id="more-14433"></span>This can be achieved in the Firefox preferences. To go there type in [about:config] in the address bar, confirm the &#8220;it&#8217;s dangerous&#8221; warning if it is your first time and filter for the parameter [noscript.first].</p><p><img
src="http://www.ghacks.net/wp-content/uploads/2009/07/noscript_website-500x120.jpg" alt="noscript website" title="noscript website" width="500" height="120" class="alignnone size-medium wp-image-14434" /></p><p>The parameter noscript.firstRunRedirection should be displayed with the default value true. This means that NoScript will open the website whenever the add-on gets updated. A double-click on the line will change the value to false which will prevent this from happening from now on.</p><p>It is possible to revert the changes with another double-click on the line.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2009/07/16/block-noscript-from-opening-homepage-after-update/feed/</wfw:commentRss> <slash:comments>8</slash:comments> </item> <item><title>Load your advertisements after your content</title><link>http://www.ghacks.net/2009/04/06/load-your-advertisements-after-your-content/</link> <comments>http://www.ghacks.net/2009/04/06/load-your-advertisements-after-your-content/#comments</comments> <pubDate>Sun, 05 Apr 2009 22:55:05 +0000</pubDate> <dc:creator>Daniel Pataki</dc:creator> <category><![CDATA[Revenue Sources]]></category> <category><![CDATA[Web Development]]></category> <category><![CDATA[advertising]]></category> <category><![CDATA[delay javascript]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[loading time]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=11700</guid> <description><![CDATA[I didn&#8217;t have much use for loading ads after my content, since on most of my sites and those I worked on, they were near the end of the code anyway, but while working on a site today I ran into a problem. There is an ad at the top of the design which tends [...]]]></description> <content:encoded><![CDATA[<p>I didn&#8217;t have much use for loading ads after my content, since on most of my sites and those I worked on, they were near the end of the code anyway, but while working on a site today I ran into a problem. There is an ad at the top of the design which tends to load slowly. I have specific requirements that the site should be as fast as possible, so I had to devise a way of loading the ad last. I went through some methods I found online after things off the top of my head didn&#8217;t work, but none helped, so I came up with my own code for it.</p><p>I am not taking credit for this, so if you did this before me feel free to let us know, but I did arrive at it on my own. The methods you could try is the &#8220;defer&#8221; attribute, which defers loading to the end of the page load, however, this had no effect at all. You can also try a &#8220;window.onload&#8221;, but this didn&#8217;t help either. With any other function combinations the ad either loaded as usual or did some weird stuff.</p><p>In the end, I decided to load the ad at the bottom of the page, right before the &#8220;&#8221; tag, and then use javascript to &#8220;transfer&#8221; the contents to where I need it do be, while keeping the source hidden. This is achieved using the &#8220;document.getElementById&#8221; method, read on to take a look at a specific example.</p><p><span
id="more-11700"></span></p><p>So what we need to do is create a div at the bottom of our page, load the advertisement there, and transfer it to the place we want it to be. I will be using inline CSS and inline javascript, which should not be done in real &#8220;life&#8221;, the best practice is to have all your CSS in external stylsheets and you javascript called from files in the header (where possible). The bottom of our page would look like this:</p><p>&lt;div id=&#8221;top_ad_loader&#8221; style=&#8221;display:none;&#8221;&gt;<br
/> Ad code in here<br
/> &lt;/div&gt;</p><p>&lt;script type=&#8221;text/javascript&#8221;&gt;<br
/> document.getElementById(&#8220;top_ad&#8221;).innerHTML = document.getElementById(&#8220;top_ad_loader&#8221;).innerHTML<br
/> &lt;/script&gt;</p><p>&lt;/body&gt;</p><p>So what is going on here? We have two divs, the first is &#8220;top_ad_loader&#8221;, which you can see right here. This div is hidden, but contains the ad code. When the code is being read, the javascript might take a while to load, but we&#8217;re right at the bottom, so all our content is displayed already. There is also another div, &#8220;top_ad&#8221;, which can not be seen here, it is somewhere way above this part of our code, somewhere near the &#8220;&lt;body&gt;&#8221; tag.</p><p>There is javascript code right beneath the ad loader, the purpose of which is to transfer the loaded contents of the ad loader to te place where we want it to be. We &#8220;grab&#8221; the contents inside the ad loader using &#8220;<strong>document.getElementById(&#8220;top_ad_loader&#8221;).innerHTML</strong>&#8220;, and we want the contents of the actual ad block to equal this.</p><p>Once the page load gets to the ad it will slowly load it, when finished, parsing will continue, and our javascript will transfer the contents to the top.</p><p>If you have a page that loads a bit slowly, perhaps this method would be worth a try? Contents usually load faster than javascript, so if you place the javascript load last your content will load in 1-2 seconds (maybe much less), making the javascript load 1-2 seconds later. However, if a javascript at the beginning loads in 5 seconds, you need to wait that out just to start loading the content.</p><p><img
class="alignleft size-full wp-image-10878" src="http://www.ghacks.net/wp-content/uploads/2009/03/scrip_twitter.gif" alt="Script" width="53" height="53" /><strong>If you&#8217;d like to read some similar articles, take a look at <a
title="Web development blog" href="http://www.bluehost.com/cgi/suspended?d=scriptastique.com">Scriptastique</a>, a blog all about web development and coding, with great tips on CSS, HTML, PHP, MySQL and Javascript and tutorials and screencasts coming soon! You can follow us on our <a
title="Scriptastique RSS feed" href="http://feeds2.feedburner.com/scriptastique">RSS feed</a>, or <a
title="Scriptastique on Twitter" href="http://twitter.com/scriptastique">Twitter</a> where we&#8217;re posting 3-4 short tips daily now!</strong></p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2009/04/06/load-your-advertisements-after-your-content/feed/</wfw:commentRss> <slash:comments>11</slash:comments> </item> <item><title>Document Presentation For Websites</title><link>http://www.ghacks.net/2009/03/18/document-presentation-for-websites/</link> <comments>http://www.ghacks.net/2009/03/18/document-presentation-for-websites/#comments</comments> <pubDate>Wed, 18 Mar 2009 10:18:39 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[Online Services]]></category> <category><![CDATA[The Web]]></category> <category><![CDATA[document]]></category> <category><![CDATA[document presentation]]></category> <category><![CDATA[documents]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[script]]></category> <category><![CDATA[view documents]]></category> <category><![CDATA[webmasters]]></category> <category><![CDATA[websites]]></category> <guid
isPermaLink="false">http://www.ghacks.net/2009/03/18/document-presentation-for-websites/</guid> <description><![CDATA[There is not really a standard out there for document presentation on websites. Many webmasters rely on widgets and scripts to display documents on their websites making it sometimes confusing for their visitors who have to deal with documents that they can only download and various interfaces for document presentations on the website itself. Doc [...]]]></description> <content:encoded><![CDATA[<p>There is not really a standard out there for document presentation on websites. Many webmasters rely on widgets and scripts to display documents on their websites making it sometimes confusing for their visitors who have to deal with documents that they can only download and various interfaces for document presentations on the website itself.</p><p>Doc Shots tries to bring in more control to the webmaster by allowing them to present documents on their websites easily. The visitor is able to view a selected document right on the website in an overlay with basic controls, such as downloading, printing, searching and zooming. It feels like a document viewer on the web and resembles desktop document viewers enough to make it easy for visitors to use it.</p><p>Webmasters have to be registered users of the service before they can configure Doc Shots for their website. Registration is free on the other hand and not problematic or time consuming at all. The configuration of the document presentation script can be customized by setting the width and height of the overlay window. Other options include the display of related items and document storing policies.</p><p><span
id="more-11317"></span><img
src="http://www.ghacks.net/wp-content/uploads/2009/03/document_presentation-500x354.jpg" alt="document presentation" title="document presentation" width="500" height="354" class="alignnone size-medium wp-image-11316" /></p><p>Webmasters receive a JavaScript code in the end that they have to embed in the source code of their website to make use of the document presentation engine. The script will automatically recognize popular document formats such as .doc, .pdf, .ppt, .xls. Hoovering over document links or clicking on the documents will open the document presentation overlay on the same website.</p><p>The first viewer will experience a small delay while opening the document as the conversion is initiated at that time. It is therefor a good idea to be the first viewer so that regular visitors do not experience the delay. Visitors can still right-click the document and save it to their computer system directly.</p><p>Update: The service does not seem to be available any longer.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2009/03/18/document-presentation-for-websites/feed/</wfw:commentRss> <slash:comments>7</slash:comments> </item> <item><title>loc.alize.us: Geotag photos the old way… with Google Maps</title><link>http://www.ghacks.net/2009/02/12/localizeus-geotag-photos-the-old-way%e2%80%a6-with-google-maps/</link> <comments>http://www.ghacks.net/2009/02/12/localizeus-geotag-photos-the-old-way%e2%80%a6-with-google-maps/#comments</comments> <pubDate>Thu, 12 Feb 2009 21:30:04 +0000</pubDate> <dc:creator>Joe</dc:creator> <category><![CDATA[The Web]]></category> <category><![CDATA[Tools]]></category> <category><![CDATA[bookmarklets]]></category> <category><![CDATA[flickr]]></category> <category><![CDATA[geodata]]></category> <category><![CDATA[geotagging]]></category> <category><![CDATA[geotags]]></category> <category><![CDATA[google maps]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[online photo sharing]]></category> <category><![CDATA[photography]]></category> <category><![CDATA[photos]]></category> <category><![CDATA[photosharing]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=10514</guid> <description><![CDATA[Generally, I geotag my photos using Flickr&#8217;s Organizr. Unfortunately, I often find Yahoo! Maps to be much worse than Google Maps and whilst recently tagging some photos of Northern France and Flanders, I simply found it intolerable (being unfamiliar with placenames etc). I began to reminisce about the days when geotagging was somewhat more complex [...]]]></description> <content:encoded><![CDATA[<p>Generally, I geotag my photos using Flickr&#8217;s Organizr. Unfortunately, I often find Yahoo! Maps to be much worse than Google Maps and whilst recently tagging some photos of Northern France and Flanders, I simply found it intolerable (being unfamiliar with placenames etc). I began to reminisce about the days when geotagging was somewhat more complex and proceeded to search for the tool I used to use.</p><p>I stumbled across <a
href="http://loc.alize.us">loc.alize.us</a>. loc.alize.us is a bookmarklet and website which uses Google Maps for geotagging. It is remarkably simple to use and quite minimalist.</p><p>The bookmarklet works through going to one of your photos on Flickr, hitting the bookmarklet, searching for the location using Google Maps, clicking the location and pressing save. Pretty simple, if you ask me! I find this much quicker than Flickr&#8217;s service and Google Maps, in my opinion, is much better than Yahoo! Maps.</p><p><span
id="more-10514"></span>Their website allows users to explore geotagged photographs, much like the explore option on Flickr&#8217;s maps. Once again, the difference is primarily choice. It allows users to use Google Maps, which has much better satellite coverage for example, rather than Yahoo! Maps. Results, naturally, can be refined by user etc.</p><p>loc.alize.us allows its maps to be embedded into website. I question the practical uses of this, but it&#8217;s still a good idea. I believe Flickr lacks this.</p><p>loc.alize.us doesn&#8217;t offer anything important that Flickr doesn&#8217;t. The key difference is the mapping site it uses; and that&#8217;s one big difference!</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2009/02/12/localizeus-geotag-photos-the-old-way%e2%80%a6-with-google-maps/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Opera 10 Alpha Passes Acid 3 Test</title><link>http://www.ghacks.net/2008/12/04/opera-10-alpha-passes-acid-3-test/</link> <comments>http://www.ghacks.net/2008/12/04/opera-10-alpha-passes-acid-3-test/#comments</comments> <pubDate>Thu, 04 Dec 2008 12:56:29 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[Browsing]]></category> <category><![CDATA[Opera]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[JavaScript performance]]></category> <category><![CDATA[opera beta]]></category> <category><![CDATA[opera browser]]></category> <category><![CDATA[web browser]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=8714</guid> <description><![CDATA[A first alpha preview of the upcoming web browser Opera 10 has been released by the Opera development team. Among the most notable difference to previous versions is that the browser is passing the Acid 3 test with a score of 100/100. Opera 10 makes use of the new Presto 2.2 rendering engine which improves [...]]]></description> <content:encoded><![CDATA[<p>A first alpha preview of the upcoming web browser Opera 10 has been released by the Opera development team. Among the most notable difference to previous versions is that the browser is passing the Acid 3 test with a score of 100/100. Opera 10 makes use of the new Presto 2.2 rendering engine which improves speed, performance and security significantly.</p><p>The Opera team speaks of a 30% speed increase over the previous version of the rendering engine. A test of the JavaScript performance of Opera 10 revealed astonishing results. Opera 10 completed the<br
/> Web Browser Javascript Benchmark in 188ms which is very fast compared to Firefox 3.0.4 which needed 349ms, Safari 3.1.2 with 344ms or Opera 9.52 with 420ms. It&#8217;s obviously not fair to compare a development release with web browsers who have already been released but it should give anyone an understanding about the performance increase in this new Opera version.</p><p>What else is new in Opera 10? Opera 10 adds a long requested inline spellchecker and an interesting auto-update function which can update Opera automatically whenever a new version has been released.</p><p><span
id="more-8714"></span><img
src="http://www.ghacks.net/wp-content/uploads/2008/12/opera10-500x333.jpg" alt="opera 10" title="opera 10" width="500" height="333" class="alignnone size-medium wp-image-8715" /></p><p>Web developers will like the support of web fonts, SVG and opacity through RGBA and HSLA. The current release schedule aims for a beta in early 2009 and a final release of Opera 10 later that year.</p><p>Interested users can download the Opera 10 alpha release for <a
href="http://www.opera.com/browser/">Windows</a>, <a
href="http://snapshot.opera.com/unix/u100a1.html">Linux</a> or <a
href="http://snapshot.opera.com/mac/m100a1.html">Mac</a>.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2008/12/04/opera-10-alpha-passes-acid-3-test/feed/</wfw:commentRss> <slash:comments>12</slash:comments> </item> <item><title>Identify And Analyze Malicious Webpages</title><link>http://www.ghacks.net/2008/10/19/identify-and-analyze-malicious-webpages/</link> <comments>http://www.ghacks.net/2008/10/19/identify-and-analyze-malicious-webpages/#comments</comments> <pubDate>Sun, 19 Oct 2008 13:58:29 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[Security]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[malicious websites]]></category> <category><![CDATA[malware]]></category> <category><![CDATA[malware analysis]]></category> <category><![CDATA[malzilla]]></category> <category><![CDATA[security analysis]]></category> <category><![CDATA[webpages]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=7724</guid> <description><![CDATA[Malicious webpages make often use of a series of redirects and code obfuscation to make it difficulty for somebody to identify and analyze the threat. Malzilla is an open source software program for Windows that steps in and aids the researcher in identifying and analyzing JavaScript code on webpages. The name stems from the fact [...]]]></description> <content:encoded><![CDATA[<p>Malicious webpages make often use of a series of redirects and code obfuscation to make it difficulty for somebody to identify and analyze the threat. Malzilla is an open source software program for Windows that steps in and aids the researcher in identifying and analyzing JavaScript code on webpages.</p><p>The name stems from the fact that <a
href="http://malzilla.sourceforge.net/index.html">Malzilla</a> is based on the Firefox JavaScript engine SpiderMonkey. It basically provides opportunities to load a webpage in the program using custom referrers, User-Agents, cookies and proxies.</p><p>The application will display the source code and the http header of the webpage in the interface. The user can view the webpage in text mode, hex view, cookie mode and using a links parser. Single or multiple scripts can be send to a script decoder.</p><p><span
id="more-7724"></span><img
src="http://www.ghacks.net/wp-content/uploads/2008/10/malzilla-500x393.jpg" alt="malzilla" title="malzilla" width="500" height="393" class="alignnone size-medium wp-image-7725" /></p><p>Some of the interesting features:</p><ul><li>JavaScript decoder</li><li>Decode Hex, USC2 and Base64</li><li>Link Parser</li><li>Clipboard Monitor</li><li>Hex Viewer</li><li>Note taking</li><li>IP Converter</li></ul><p>Malzilla is not a tool for just anyone but it can be very helpful for analyzing webpages. It definitely eases the process of analysing and identifying webpages.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2008/10/19/identify-and-analyze-malicious-webpages/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Test Your Browser&#8217;s JavaScript Performance</title><link>http://www.ghacks.net/2008/10/17/test-your-browsers-javascript-performance/</link> <comments>http://www.ghacks.net/2008/10/17/test-your-browsers-javascript-performance/#comments</comments> <pubDate>Fri, 17 Oct 2008 21:53:11 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[Browsing]]></category> <category><![CDATA[Firefox]]></category> <category><![CDATA[Google Chrome]]></category> <category><![CDATA[ie]]></category> <category><![CDATA[Opera]]></category> <category><![CDATA[google chrome]]></category> <category><![CDATA[internet-explorer]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[JavaScript performance]]></category> <category><![CDATA[performance]]></category> <category><![CDATA[safari]]></category> <category><![CDATA[sunspider test]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=7701</guid> <description><![CDATA[Cnet ran some tests on the JavaScript performance of selected browsers like the latest Firefox version, Firefox beta and Google Chrome builds. JavaScript performance was in the news since Google and the Mozilla Firefox development team announced improvements in JavaScript performance. Cnet used the SunSpider JavaScript Benchmark to test browser performance of the browsers. There [...]]]></description> <content:encoded><![CDATA[<p>Cnet ran some tests on the JavaScript performance of selected browsers like the latest Firefox version, Firefox beta and Google Chrome builds. JavaScript performance was in the news since Google and the Mozilla Firefox development team announced improvements in JavaScript performance.</p><p><a
href="http://www.webkit.org/perf/sunspider-0.9/sunspider-driver.html">Cnet</a> used the SunSpider JavaScript Benchmark to test browser performance of the browsers. There are other factors that have an impact on JavaScript performance like the processing power of the computer system.</p><p>The results were that the latest Firefox 3.1 beta with the new JavaScript engine TraceMonkey was the fastest with a score of 2,257, followed by Chrome with 2,904, Firefox 3 beta 1 without TraceMonkey with 4,233, Safari 3.1.2 with 6,351 and Internet Explorer 8 Beta 2 at the end with a score of 9,025.</p><p><span
id="more-7701"></span>Cnet failed  to test any version of Opera and should probably have tested the latest nightly test of Safari instead. Here are the results that a Windows XP service pack 3 with a Intel 8400 Wolfdale processor and 4 Gigabytes of computer memory.</p><ul><li>Firefox 3.1 Beta 1 without TraceMonkey- 1800</li><li>Firefox 3.1 Beta 1 with Tracemonkey 1817</li><li>Firefox 3.03 &#8211; 2139</li><li>Opera 9.6 &#8211; 2736</li></ul><p>It&#8217;s a bit surprising that Firefox without TraceMonkey was faster than Firefox with it enabled. It could be due to the fact that the portable version of Firefox has been used to run the tests. But the interesting question is, how does your browser compare? You need to run at least two browsers to be able to tell how it compares to the other browser.</p><p>Keep in mind that JavaScript performance is not everything and that page loading time is dependent on additional factors.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2008/10/17/test-your-browsers-javascript-performance/feed/</wfw:commentRss> <slash:comments>6</slash:comments> </item> <item><title>Local Rodeo Protects Firefox From JavaScript Malware</title><link>http://www.ghacks.net/2008/09/10/local-rodeo-protects-firefox-from-javascript-malware/</link> <comments>http://www.ghacks.net/2008/09/10/local-rodeo-protects-firefox-from-javascript-malware/#comments</comments> <pubDate>Wed, 10 Sep 2008 14:06:17 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[Browsing]]></category> <category><![CDATA[Firefox]]></category> <category><![CDATA[anti-dns pinning]]></category> <category><![CDATA[firefox malware]]></category> <category><![CDATA[intranet exploration]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[javscript malware]]></category> <category><![CDATA[localrodea]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=6907</guid> <description><![CDATA[Keeping up with all the different attack vectors is like the protagonist of Cervante&#8217;s famous novel Don Quixote. New threats are emerging on a daily basis while protections seem to remain stagnant at best. Users could opt for a radical solution by choosing to turn off scripts using NoScript and uninstalling scripting languages like Java [...]]]></description> <content:encoded><![CDATA[<p>Keeping up with all the different attack vectors is like the protagonist of Cervante&#8217;s famous novel Don Quixote. New threats are emerging on a daily basis while protections seem to remain stagnant at best. Users could opt for a radical solution by choosing to turn off scripts using NoScript and uninstalling scripting languages like Java and Flash content.</p><p>That would make most of the Internet unusable and produce some bad looking websites with reduced functionality while some would stop working completely.</p><p>Local Rodeo is a Firefox extension that protects Firefox against two types of JavaScript malware. The two types are Intranet Exploration and Anti DNS-Pinning.</p><p><span
id="more-6907"></span><br
/><blockquote>Intranet Exploration (i.e. JavaScript portscanning and fingerprinting): The extension classifies all network locations to be either local or external, with local locations being part of the intranet. All http requests that have an external origin (i.e. were generated within the execution context of an external webpage) and a local target (i.e. an intranet resource) are canceled by LocalRodeo.</p><p>Anti DNS-Pinning: LocalRodeo detects this attack method by monitoring DNS answers. The switch of a given domain from external to local (or vice versa) is a clear indication of an anti-pinning attack. If such a switch is detected, all further requests from or to the malicious domain are prohibbited.</p></blockquote><p>A detailed explanation of Anti DNS-Pinning can be found at the blog of Christian Matthies. The extension was updated to be compatible with Firefox 3 today.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2008/09/10/local-rodeo-protects-firefox-from-javascript-malware/feed/</wfw:commentRss> <slash:comments>10</slash:comments> </item> <item><title>View Javascript Sources with JSView</title><link>http://www.ghacks.net/2008/08/19/view-javascript-sources-with-jsview/</link> <comments>http://www.ghacks.net/2008/08/19/view-javascript-sources-with-jsview/#comments</comments> <pubDate>Tue, 19 Aug 2008 13:05:26 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[Firefox]]></category> <category><![CDATA[css]]></category> <category><![CDATA[firefox add-ons]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[stylesheets]]></category> <category><![CDATA[web designer]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=6287</guid> <description><![CDATA[Viewing the source code of a website is a standard function in all web browsers. A right-click usually opens a menu with the option to view the source code of the page. Source code only refers to html source code. There is no way to view Javascript or CSS source codes directly from those menus. [...]]]></description> <content:encoded><![CDATA[<p>Viewing the source code of a website is a standard function in all web browsers. A right-click usually opens a menu with the option to view the source code of the page. Source code only refers to html source code. There is no way to view Javascript or CSS source codes directly from those menus.</p><p>The Firefox add-on <a
href="https://addons.mozilla.org/en-US/firefox/addon/jsview/">JSView</a> adds that possibility to the Firefox browser. Installing the Firefox extension adds a new entry to the right-click menu which displays the amount of Javascript and CSS files that are referenced by the website.</p><p>Each file can be opened by selecting it. The source code of the selected file will be opened in the default source viewer of the browser.</p><p><span
id="more-6287"></span><img
src="http://www.ghacks.net/wp-content/uploads/2008/08/javascript_source_code.jpg" alt="javascript source code" title="javascript source code" width="409" height="246" class="alignnone size-medium wp-image-6288" /></p><p>The extension provides the option to view the source code of all Javascript or CSS files at once. The tool is especially useful for web designers.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2008/08/19/view-javascript-sources-with-jsview/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Male or Female? Your Browser&#8217;s History Might Tell</title><link>http://www.ghacks.net/2008/07/28/male-or-female-your-browsers-history-might-tell/</link> <comments>http://www.ghacks.net/2008/07/28/male-or-female-your-browsers-history-might-tell/#comments</comments> <pubDate>Mon, 28 Jul 2008 14:19:00 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[Browsing]]></category> <category><![CDATA[Entertainment]]></category> <category><![CDATA[Security]]></category> <category><![CDATA[code]]></category> <category><![CDATA[gender]]></category> <category><![CDATA[history]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[quantcast]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=5663</guid> <description><![CDATA[A website should not be able to read the the history of websites that a user visited previously. An ingenious CSS hack and some spicy Javascript is however enough to use a trial and error method to find out if a user has been to specific websites. Some webmasters use this method to display the [...]]]></description> <content:encoded><![CDATA[<p>A website should not be able to read the the history of websites that a user visited previously. An ingenious CSS hack and some spicy Javascript is however enough to use a trial and error method to find out if a user has been to specific websites.</p><p>Some webmasters use this method to display the social bookmarking and news batches of websites that their visitors have been through which is very effective in gaining popularity on those websites.</p><p><a
href="http://www.mikeonads.com/2008/07/13/using-your-browser-url-history-estimate-gender/">Others</a> came up with a script that is using this method to estimate if the visitor is male or female. The Javascript makes use of the Quantcast Top 10K websites and the male:female ratio that they provide plus a neat algorithm to compute the percentages for male and female likeliness.</p><p><span
id="more-5663"></span>Mine turned out 50/50 because I don&#8217;t use the history at all. Good luck and let me know what the script thinks about your gender..</p><p>The same principle could possible be used to display targeted advertisements. Have been to a lot of parenting websites lately? How about parenting ads? Like sports? How about an ESPN subscription? It&#8217;s a bit scary, don&#8217;t you think?</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2008/07/28/male-or-female-your-browsers-history-might-tell/feed/</wfw:commentRss> <slash:comments>7</slash:comments> </item> <item><title>You better stop using Internet Explorer for now</title><link>http://www.ghacks.net/2008/06/27/you-better-stop-using-internet-explorer-for-now/</link> <comments>http://www.ghacks.net/2008/06/27/you-better-stop-using-internet-explorer-for-now/#comments</comments> <pubDate>Fri, 27 Jun 2008 08:02:27 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[Browsing]]></category> <category><![CDATA[Firefox]]></category> <category><![CDATA[ie]]></category> <category><![CDATA[Opera]]></category> <category><![CDATA[Security]]></category> <category><![CDATA[internet explorer exploit]]></category> <category><![CDATA[internet-explorer]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[vulnerability]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=5126</guid> <description><![CDATA[A security vulnerability came to light recently that affects Internet Explorer 6, Internet Explorer 7 and even Internet Explorer 8 that can be used to record keystrokes of a user even if he is switching domains. That means that a specifically prepared website can launch some Javascript that records everything the user does afterwards including [...]]]></description> <content:encoded><![CDATA[<p>A security vulnerability came to light recently that affects Internet Explorer 6, Internet Explorer 7 and even Internet Explorer 8 that can be used to record keystrokes of a user even if he is switching domains. That means that a specifically prepared website can launch some Javascript that records everything the user does afterwards including text input which naturally means usernames and passwords as well.</p><p>Sounds scary ? There is no fix for this vulnerability yet other than to disable Javascript or allow it only on trusted domains. Some researchers claim that other browsers are affected as well but have failed to deliver proof for those claims yet. It would not hurt however to use the Firefox add-on <a
href="https://addons.mozilla.org/en-US/firefox/addon/722">No Script</a> for instance.</p><p>The vulnerability can be tested on this <a
href="http://sirdarckcat.blogspot.com/2008/05/ghosts-for-ie8-and-ie75730.html">page</a> if you visit it with Internet Explorer. It opens a new window and records the user input on that domain. There is an <a
href="http://sirdarckcat.blogspot.com/2008/05/browsers-ghost-busters.html">explanation</a> from the same researcher available.</p><p><span
id="more-5126"></span></p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2008/06/27/you-better-stop-using-internet-explorer-for-now/feed/</wfw:commentRss> <slash:comments>19</slash:comments> </item> </channel> </rss>
