New Userscript

try to take over the world!

  1. // ==UserScript==
  2. // @name New Userscript
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description try to take over the world!
  6. // @author You
  7. // @match http://127.0.0.1:8080/MicroStrategy/servlet/*
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. (function() {
  12. 'use strict';
  13.  
  14. // Your code here...
  15. var la = document.getElementById("Uid");
  16. if(la !== null) {
  17. la.value = "Administrator";
  18. document.getElementById("3054").click();
  19. }
  20. var lb = document.getElementById("dktpSectionCreate");
  21. if(lb !== null) {
  22. microstrategy.openDataImport();
  23. }
  24.  
  25. })();