-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 8094390
Showing
2 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/*document.querySelectorAll('input').forEach( input => { | ||
input.setAttribute("autocomplete", "off") | ||
});*/ | ||
|
||
function delay(time) { | ||
return new Promise(resolve => setTimeout(resolve, time)); | ||
} | ||
|
||
function AutocompleteOFF(tagi) { | ||
eleme = document.getElementsByTagName(tagi); | ||
for (index = 0; index < eleme.length; ++index) { | ||
eleme[index].setAttribute("autocomplete", "off") | ||
} | ||
} | ||
|
||
//AutocompleteOFF('input'); | ||
|
||
document.onmousemove = function makeOK() { | ||
AutocompleteOFF('input'); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"manifest_version": 3, | ||
|
||
"name": "Autocomplete OFF", | ||
"description": "Saving streamers privacy for autocomplete attribute.", | ||
"version": "1.0", | ||
|
||
"permissions": [ | ||
"activeTab", | ||
"http://*/*", | ||
"https://*/*", | ||
"file:///*/*" | ||
], | ||
|
||
"content_scripts": [ | ||
{ | ||
"matches": ["http://*/*", "https://*/*", "file:///*/*"], | ||
"js": ["content.js"] | ||
} | ||
] | ||
|
||
} |