DIM icon indicating copy to clipboard operation
DIM copied to clipboard

[Request] Add Prefix to Loadout Name HTML Attribute

Open saxamaphone69 opened this issue 3 years ago • 0 comments

Proposed change

Currently when naming or renaming a loadout, due to the input field having a generic name, Chrome (might be other browsers too) will auto suggest things from other websites that also use a generic name attribute.

<input class="CmFsFmLf" name="name" minlength="1" maxlength="50" required="" type="text" placeholder="Loadout name" value="">

image

Changing [name="name"] to something else (e.g. name="dim-name") fixes the issue.

image

If I had to guess, changing this line should do it?

How does this fit into your workflow?

Since Destiny uses display capture when streaming on PC, there is a potential that when you Alt+Tab into DIM to make a new loadout, if you have ever entered personal information into another website that uses a generic [name=name] attribute, it would appear on stream.

I guess it also keeps things contained within DIM, so that loadout names wouldn't also start appearing on other websites.

saxamaphone69 avatar Aug 14 '22 06:08 saxamaphone69