Closed Guy-Adler closed 3 years ago
So somewhere, we've accidentally called the addScripts function multiple times.
The tab is causing a tab update 4 times taken from changeInfo
:
1: {
status: "loading"
url: "https://www.geo-fs.com/geofs.php"
}
2: {
favIconUrl: "https://www.geo-fs.com/favicon.ico"
}
3: {
title: "GeoFS - Fly in Your Web Browser"
}
4: {
status: "complete"
}
We can filter it and make only the last tab update triggers the scripts injection process, and it might fix the issue. trying it now.
Thanks! I'll work on a fix for this.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Describe the bug When loading geofs, the scripts are being inejcted four times
To Reproduce
console.log(name)
to the function defined in background.ts#141Expected behavior Each Script should only load once.
Actual behavior The scripts are loading multiple times, which might cause this bug to happen
Screenshots
Desktop (please complete the following information):