Skip to content

Instantly share code, notes, and snippets.

@Albirew Albirew/anti-disabled.js
Last active Mar 26, 2018

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
// @author sysadmin_fr | https://discord.gg/ejJ4dsg
// @grant none
// @include http://*
// @include https://*
// @run-at document-start
// @downloadURL https://gist.githubusercontent.com/Albirew/70167de32ecf5992c97c80b00584d4ee/raw/anti-disabled.js
// @updateURL https://gist.githubusercontent.com/Albirew/70167de32ecf5992c97c80b00584d4ee/raw/anti-disabled.js
// ==/UserScript==
document.querySelector('[type="password"]').disabled = false
document.querySelectorAll('button[contains(., 'disabled')]').map(el => el != null && el.disabled = false)
document.querySelectorAll('input[class="disabled"]').classList.remove("disabled")
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.