Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/site/app/webroot/google/google_toolbar_mac.html
diff options
context:
space:
mode:
Diffstat (limited to 'site/app/webroot/google/google_toolbar_mac.html')
-rw-r--r--site/app/webroot/google/google_toolbar_mac.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/site/app/webroot/google/google_toolbar_mac.html b/site/app/webroot/google/google_toolbar_mac.html
new file mode 100644
index 0000000..dbaf6ca
--- /dev/null
+++ b/site/app/webroot/google/google_toolbar_mac.html
@@ -0,0 +1,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-mac.xpi';
+ } else {
+ window.location.href='http://addons.mozilla.org/';
+ }
+ }
+</script>
+
+<body onload="redirect()">
+</body>
+</html>
+