diff options
| author | Josh Brewer | 2011-04-19 23:02:40 -0700 |
|---|---|---|
| committer | Josh Brewer | 2011-04-19 23:02:40 -0700 |
| commit | 35ea8d18f349deb03f6412d67b42baddf822408e (patch) | |
| tree | 3a6a029ac85596a48ae03eb229dc34f831fcff12 /secret.html | |
| parent | 89ff560712a9264db5b73ce3b76f656b4a3468ea (diff) | |
| download | ffffallback-35ea8d18f349deb03f6412d67b42baddf822408e.tar.bz2 | |
moving new site out of site folder and last couple tweaks in prep for launch
Diffstat (limited to 'secret.html')
| -rw-r--r-- | secret.html | 75 |
1 files changed, 0 insertions, 75 deletions
diff --git a/secret.html b/secret.html deleted file mode 100644 index d6ff420..0000000 --- a/secret.html +++ /dev/null @@ -1,75 +0,0 @@ -<!DOCTYPE html> -<html> -<head> - <meta charset="utf-8"> - <title>FFFFALLBACK</title> - <style type="text/css" media="screen"> - body { - color:#444; - font: normal normal normal 1em/1.5 'Helvetica Neue', Arial, Helvetica, sans-serif; - } - h2 { - font-family: Georgia, serif; - } - #main { - margin:0 auto; - width:600px; - } - </style> -</head> -<body> - <div id="main"> - <hgroup> - <h1>FFFFALLBACK</h1> - <h2>A simple tool for bulletproof web typography.</h2> - </hgroup> - <p>Shhhh! This is top secret. Grab the bookmarklet and take it for a spin. Please send any and all feedback to me at <a href="mailto:josh@jbrewer.me">feedback@ffffallback.com</a></p> - <p>This is the bookmarklet: <a id="bookmarklet" href="#">ffffallback</a>—drag it to your bookmarks bar and brace yourself for an onslaught of unicorns and rainbows.</p> - </div> - - - <script> - var myURL = window.location.toString(); - if(myURL.indexOf('#') >= 0) { - myURL = myURL.split('#')[0]; - } - var baseURL; - if(myURL.match(/\.html$/)) { - var urlChunks = myURL.split('/'); - baseURL = urlChunks.slice(0, urlChunks.length - 1).join('/') - } else { - baseURL = myURL; - } - if(baseURL.substring(myURL.length - 1) !== '/') { - baseURL += '/'; - } - var jsURL = baseURL + 'bookmarklet/ffffallback.js?r=' + Math.random(); - var cssURL = baseURL + 'bookmarklet/ffffallback.css?r=' + Math.random(); - var bookmarkletSource = 'javascript:' + -"(function() {\ - var scriptTag = document.createElement('script');\ - scriptTag.setAttribute('src', '" + jsURL + "');\ - var linkTag = document.createElement('link');\ - linkTag.setAttribute('href', '" + cssURL + "');\ - linkTag.setAttribute('rel','stylesheet');\ - document.body.appendChild(scriptTag);\ - document.body.appendChild(linkTag);\ -})();".replace(/\n/g, ' '); - - document.getElementById('bookmarklet').setAttribute('href', bookmarkletSource); - </script> - <script type="text/javascript"> - - var _gaq = _gaq || []; - _gaq.push(['_setAccount', 'UA-109790-10']); - _gaq.push(['_trackPageview']); - - (function() { - var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; - ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; - var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); - })(); - </script> - -</body> -</html> |
