Skip to content

Instantly share code, notes, and snippets.

@Caldis
Last active November 8, 2018 11:58
Show Gist options
  • Save Caldis/c0f92c1d2e7d2f048fb31d6baaf53536 to your computer and use it in GitHub Desktop.
Save Caldis/c0f92c1d2e7d2f048fb31d6baaf53536 to your computer and use it in GitHub Desktop.
为什么微博网页版要把登录页的自动登陆禁用掉 ?
// ==UserScript==
// @name Fuck Weibo AutoComplete OFF
// @namespace https://*weibo.com/
// @version 0.1
// @description Fuck weibo auto complete
// @author Caldis
// @match https://*weibo.com/
// @grant none
// ==/UserScript==
(function() {
'use strict';
setTimeout(() => {
console.info("Just Enable the AutoComplete on Login Form For Fuckin WEIBO")
Array.from(document.querySelectorAll(".W_login_form input")).forEach(i => {i.autocomplete="on"})
}, 500)
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment