SHARE
TWEET

Untitled

a guest Dec 26th, 2012 192 Never
  1. webgl.force-enabled=true
  2. webgl.msaa-force=true
  3. layers.acceleration.force-enabled=true
  4. gfx.direct2d.force-enabled=true
  5. stagefright.force-enabled=true
  6.        
  7. <?xml version="1.0" encoding="ISO-8859-1"?>
  8. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  9.                       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  10. <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
  11. <head>
  12.    <title>Proxy Toggle</title>
  13.    <script type="text/javascript">
  14.    // <![CDATA[
  15.    function loaded() {
  16.       netscape.security.PrivilegeManager
  17.       .enablePrivilege("UniversalBrowserAccess UniversalXPConnect");
  18.       var prefs = Components.classes["@mozilla.org/preferences-service;1"]
  19.                   .getService(Components.interfaces.nsIPrefBranch);
  20.       if (prefs.getIntPref("network.proxy.type") == 0) {
  21.          prefs.setIntPref("network.proxy.type", 1);
  22.       }
  23.       else {
  24.          prefs.setIntPref("network.proxy.type", 0);
  25.       }
  26.       self.close();
  27.    };
  28.    self.onload = loaded;  
  29.    // ]]>
  30.    </script>
  31. </head>
  32. <body>
  33.    Please wait...
  34. </body>
  35. </html>
  36.        
  37. javascript: void(window.open('resource:///res/proxy.htm'));
RAW Paste Data
Top