11

I regularly need to fill in a form on our intranet but the devs for an unknown reason have disabled autocomplete on some of the text fields. This means I have to repeatedly type in entries.

I have asked them to disable autocomplete=off but they are ignoring me.

Is there a way to make the browser (Chrome) override the autocomplete=off so it can then remember my previously typed entries in an autocomplete selection list.

I have tried various extensions (Autofill, RoboForm) but I cant get them to do this somewhat simple thing. ChatGPT suggested I use the extension "Ignore X-Frame-Options Header" but still no luck

2 Answers2

7

The following Chrome extensions could help :

Force Autocomplete

Force autocomplete attribute in input fields to be on.

Force "autocomplete" attribute in input fields to be "on". Allows form fields to remember what you typed the next time you re-visit them.

Always Autocomplete

Changes webpage elements' autocomplete to be on. It helps you with enabling autofill feature for disabled web sites.

This extension automatically changes webpage elements' autocomplete to be on. It helps you with enableing autofill feature for disabled web sites. E.g. A website doesn't want the browser to remember your user name and password, now you have a choice there.

I would suggest not enabling the extension when consulting sensitive websites, such as your bank account.

harrymc
  • 498,455
5

You can use any extension that enables scripting specific websites, such as Tampermonkey, and use this or similar script:

let fields = document.querySelectorAll('[autocomplete="off"]');

[...fields].forEach((field) => { field.removeAttribute('autocomplete'); });

This finds all elements with autocomplete="off" HTML and removes the attribute from them. You can limit the script to a specific URL with the // @match metadata comment - e.g.:

// @match *.superuser.com/*

and also limit the HTML selector further if needed.

user985366
  • 105
  • 5
Destroy666
  • 12,350