13f21e71dd16

M1/QUA-001: resolve setNativeValue import/local declaration conflict

time
2026-05-16 03:50 UTC · 5 months ago
machine
koh2
parent
e48b2c96ca80
1 file src/content/index.ts+0 −9
src/content/index.ts+0 −9
@@ -275,15 +275,6 @@275275   });276276 }277277 278-function setNativeValue(el: HTMLInputElement, value: string): void {279-  const nativeSetter = Object.getOwnPropertyDescriptor(280-    HTMLInputElement.prototype, "value"281-  )!.set!;282-  nativeSetter.call(el, value);283-  el.dispatchEvent(new Event("input", { bubbles: true }));284-  el.dispatchEvent(new Event("change", { bubbles: true }));285-}286-287278 function findTOTPField(): HTMLInputElement | null {288279   const inputs = document.querySelectorAll<HTMLInputElement>("input");289280   for (const input of inputs) {

view file