[tor-commits] [flashproxy/master] Change badge links to point to options page.

dcf at torproject.org dcf at torproject.org
Fri Dec 28 14:13:54 UTC 2012


commit 435e89553dc2dd5c77eec2325ac92aa5d6452e24
Author: Alexandre Allaire <alexandre.allaire at mail.mcgill.ca>
Date:   Wed Dec 5 22:30:24 2012 -0500

    Change badge links to point to options page.
    
    Badge links to options page instead of crypto.stanford.edu.
    Link assumes the options page is hosted in the same
    directory as the badge.
---
 proxy/embed.html    |    2 +-
 proxy/flashproxy.js |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/proxy/embed.html b/proxy/embed.html
index 95821ce..9524f9c 100644
--- a/proxy/embed.html
+++ b/proxy/embed.html
@@ -81,7 +81,7 @@ body {
 flashproxy_badge_insert().start();
 </script>
 <noscript>
-<table id="flashproxy-badge" class="disabled"><tr><td><a href="//crypto.stanford.edu/flashproxy/" target="_parent"><img src="badge.png" alt="Internet freedom"></a></td></tr></table>
+<table id="flashproxy-badge" class="disabled"><tr><td><a href="options.html" target="_parent"><img src="badge.png" alt="Internet freedom"></a></td></tr></table>
 </noscript>
 </body>
 </html>
diff --git a/proxy/flashproxy.js b/proxy/flashproxy.js
index 13a77f5..704e514 100644
--- a/proxy/flashproxy.js
+++ b/proxy/flashproxy.js
@@ -794,7 +794,7 @@ function Badge() {
     td = document.createElement("td");
     tr.appendChild(td);
     a = document.createElement("a");
-    a.setAttribute("href", "http://crypto.stanford.edu/flashproxy/");
+    a.setAttribute("href", "options.html");
     a.setAttribute("target", "_parent");
     td.appendChild(a);
     img = document.createElement("img");





More information about the tor-commits mailing list