Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Remove fuckin password and button limitation on websites
// ==UserScript==
// @name anti-disabled
// @description Remove fuckin password and button limitation on websites
// @version 1.2
// @author sysadmin_fr | https://discord.gg/ejJ4dsg
// @namespace https://gist.github.com/Albirew/
// @grant none
// @include http://*
// @include https://*
// @run-at document-start
// @downloadURL https://gist.githubusercontent.com/Albirew/70167de32ecf5992c97c80b00584d4ee/raw/
// @updateURL https://gist.githubusercontent.com/Albirew/70167de32ecf5992c97c80b00584d4ee/raw/
// ==/UserScript==
document.querySelectorAll('button[contains(., 'disabled')]').map(el => el != null && el.disabled = false)
document.querySelectorAll('input[class="disabled"]').classList.remove("disabled")
(function() {
var form, input;
form = document.getElementsByTagName('form');
if(form) {
for(i = 0; i < form.length; i++) {
form[i].setAttribute('autocomplete', 'on');
}
input = document.getElementsByTagName('input');
for(i = 0; i < input.length; i++) {
if(input[i].type=='text' || input[i].type=='password') {
input[i].setAttribute('autocomplete', 'on');
}
}
}
}) ();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.