Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
illegalsolutions authored Mar 27, 2022
0 parents commit 8094390
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
20 changes: 20 additions & 0 deletions content.js
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');
}
22 changes: 22 additions & 0 deletions manifest.json
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"]
}
]

}

0 comments on commit 8094390

Please sign in to comment.