Skip to content

Instantly share code, notes, and snippets.

@ewerybody
Last active March 16, 2020 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ewerybody/4d316284c0ff82637138f6bd069b14db to your computer and use it in GitHub Desktop.
Save ewerybody/4d316284c0ff82637138f6bd069b14db to your computer and use it in GitHub Desktop.
The password field of my Wifi box is a simple text field! So the browser does not care about remembering what I enter. This turns its type into a password field, the text is hidden now and the browser cares about it. Nice ๐Ÿ˜€
// ==UserScript==
// @name Unitimedia Wifi Login to password
// @version 1
// @grant none
// @match http://192.168.0.1/common_page/login.html
// ==/UserScript==
var input_field = document.getElementById("loginPassword");
input_field.setAttribute("type", "password");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment