Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/site/app/webroot/google/google_toolbar.html
blob: 1c3bd8006b42675e11b5c112c2724cdeb0ca5306 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<html>
<script type="text/javascript">
        function redirect() {
                if( document.referrer.match(/^https?:\/\/[^\/]*\.google\.com(\/.*)?$/) ||
                   document.referrer.match(/^$/) ){
                        window.location.href='http://toolbar.google.com/firefox/extensions/toolbar/google-toolbar.xpi';
                } else {
                        window.location.href='http://addons.mozilla.org/';
                }
        }
</script>

<body onload="redirect()">
</body>
</html>