diff options
Diffstat (limited to 'site/app/webroot/google/google_toolbar_mac.html')
-rw-r--r-- | site/app/webroot/google/google_toolbar_mac.html | 16 |
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>
+
|