您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Show/Hide Password when hovering over the input password
当前为
- // ==UserScript==
- // @name Show/Hide Password Hover
- // @version 1.2
- // @description Show/Hide Password when hovering over the input password
- // @match *://*/*
- // @grant none
- // @license MIT
- // @require https://code.jquery.com/jquery-3.7.1.min.js
- // @namespace https://greasyfork.org/users/821661
- // ==/UserScript==
- (function () {
- 'use strict';
- $(document).on('mouseover', 'input[type="password"]', function (e) {
- console.log('slas');
- this.type = 'text';
- $(this).on('mouseleave', function () {
- this.type = 'password';
- });
- });
- })();