Edit Text On Webpage

A script that enables you to edit Text on ANY webpage.

当前为 2023-05-25 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name Edit Text On Webpage
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.4.0
  5. // @description A script that enables you to edit Text on ANY webpage.
  6. // @author Cracko298
  7. // @icon https://static.thenounproject.com/png/317376-200.png
  8. // @match *://*/*
  9. // @license MIT
  10. // @grant none
  11. // ==/UserScript==
  12.  
  13. document.addEventListener('keydown', function(event) {
  14. if (event.keyCode === 112) {
  15. document.designMode='on'
  16. console.log("Enabled Design Mode.")
  17. }
  18. if (event.keyCode === 113) {
  19. document.designMode='off'
  20. console.log("Disabled Design Mode.")
  21. }
  22. });

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址