1 2 3 4 5
<!doctype html> <input type=text> <script> SpecialPowers.wrap(window).InspectorUtils.addPseudoClassLock(document.querySelector("input"), ":disabled", true); </script>