[tor-bugs] #7740 [Flashproxy]: flashproxy badge works just like a web bug

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Apr 16 08:36:08 UTC 2013


#7740: flashproxy badge works just like a web bug
------------------------+---------------------------------------------------
 Reporter:  arma        |          Owner:  dcf         
     Type:  defect      |         Status:  needs_review
 Priority:  normal      |      Milestone:              
Component:  Flashproxy  |        Version:              
 Keywords:              |         Parent:              
   Points:              |   Actualpoints:              
------------------------+---------------------------------------------------
Changes (by saint):

 * cc: griffinboyce@… (added)


Comment:

 Repeating due to borked code above

 Option 2: Create the iframe using javascript (probably a nesting iframe
 situation)

 {{{
 <script type="text/javascript">
 //doesn't block the load event
 function createIframe() {

   var i = document.createElement("iframe");i.src =
 "//crypto.stanford.edu/flashproxy/embed.html";i.scrolling =
 "none";i.frameborder = "0";i.width = "80px";i.height =
 "15px";document.getElementById("bridge").appendChild(i);

 };

 // Check for browser support of event handling capability
 if (window.addEventListener) window.addEventListener("load", createIframe,
 false);
 else if (window.attachEvent) window.attachEvent("onload", createIframe);
 else window.onload = createIframe;
 </script>
 }}}
 {{{
 <div id="bridge"></div>
 }}}

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7740#comment:6>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list