Synology Router — Enable text selection

Enable text selection in Synology SRM (router).

  1. // ==UserScript==
  2. // @name Synology Router — Enable text selection
  3. // @description Enable text selection in Synology SRM (router).
  4. // @author Rafal Enden
  5. // @namespace https://github.com/rafenden
  6. // @homepageURL https://github.com/rafenden/userscripts/blob/master/synology-router-text-selection
  7. // @supportURL https://github.com/rafenden/userscripts/issues
  8. // @license MIT
  9. // @version 1.0
  10. // @match *://*/webman/index.cgi
  11. // @grant none
  12. // ==/UserScript==
  13.  
  14. 'use strict'
  15.  
  16. document.querySelector('body').style.userSelect = 'text'