fixes #9
This commit is contained in:
parent
cd868b3370
commit
194bbaf472
2 changed files with 4 additions and 2 deletions
|
@ -20,6 +20,7 @@ if (
|
|||
document.documentElement.dataset.fgdvcre = true;
|
||||
}`;
|
||||
document.documentElement.appendChild(script);
|
||||
script.remove();
|
||||
// make sure the script is injected
|
||||
if (document.documentElement.dataset.fgdvcre !== 'true') {
|
||||
document.documentElement.dataset.fgdvcre = true;
|
||||
|
@ -38,6 +39,7 @@ if (
|
|||
`
|
||||
});
|
||||
top.document.documentElement.appendChild(script);
|
||||
script.remove();
|
||||
}
|
||||
delete document.documentElement.dataset.fgdvcre;
|
||||
}
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
{
|
||||
"manifest_version": 2,
|
||||
"name": "User-Agent Switcher",
|
||||
"name": "User-Agent Switcher and Manager",
|
||||
"short_name": "useragent-switcher",
|
||||
"version": "0.2.3",
|
||||
|
||||
"description": "Spoofs User-Agent strings of your browser",
|
||||
"description": "Spoofs User-Agent strings of your browser with a new one globally, randomly or per hostname",
|
||||
|
||||
"permissions": [
|
||||
"tabs",
|
||||
|
|
Loading…
Reference in a new issue