GeoFS Attribute Editor

Edit attributes of your plane, like Max Throttle, Scale, and Mass.

  1. // ==UserScript==
  2. // @name GeoFS Attribute Editor
  3. // @namespace http://tampermonkey.net/
  4. // @license MIT
  5. // @version 0.1
  6. // @description Edit attributes of your plane, like Max Throttle, Scale, and Mass.
  7. // @author You
  8. // @match https://www.geo-fs.com/geofs.php
  9. // @icon https://www.geo-fs.com/favicon.ico
  10. // @grant none
  11. // ==/UserScript==
  12.  
  13. /* FEATURES */
  14. /*
  15. Set minimum RPM to 10000. Sliders will be implemented later as i've already tried using them and it didn't work :/
  16.  
  17. */
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24. // document.getElementById("geofs-ui-3dview").innerHTML += dragWin;
  25.  
  26.  
  27.  
  28. var rpmhax = `<div style="width:100px;height:200px;background-color:grey;">
  29. <button onclick="geofs.aircraft.instance.setup.minRPM = 10000;geofs.aircraft.instance.setup.maxRPM = 100000">RPM 10000</button>
  30. </div>`
  31.  
  32. document.body.innerHTML += rpmhax;