[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs