tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

radio-dynamic-change.xhtml (613B)


      1 <?xml version="1.0"?>
      2 <?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
      3 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" class="reftest-wait">
      4  <radio id="r1" selected="true"/>
      5  <radio id="r2"/>
      6  <script>
      7    window.requestAnimationFrame(() => {
      8      window.requestAnimationFrame(() => {
      9        let r1 = document.getElementById("r1");
     10        let r2 = document.getElementById("r2");
     11        r1.removeAttribute("selected");
     12        r2.setAttribute("selected", true);
     13        document.documentElement.className = "";
     14      });
     15    });
     16  </script>
     17 </window>