when I run the app there is an array of URLs getting outputted in the console containing some of (not all) the website URLs that I have visited.
the console :
[HMR] Waiting for update signal from WDS...
Array(2)
0: "https://erpbasic.blogspot.com/2012/01/inheritance-advantages-and.html"
1: "https://dev.to/johnstonlogan/react-hooks-barney-style-1hk7"
length: 2
[[Prototype]]: Array(0)
the output is coming from a file called content.js line 11
the function that is outputting to the console is :
chrome.storage.sync.get(null, (res) => {
if(res.urls){
console.log(res.urls)
if(res.urls.includes(window.location.href)){
addStyleSheet()
}
else {
res.urls.forEach(element => {
if(element.includes(window.location.href)){
addStyleSheet()
}
});
}
}
});
it's not a file that is inside the project I think it's a react file why is this happening and how can I remove it.
Thank you!
CodePudding user response:
You may try to run it in a different browser . it will fix the issue :). this might be a case of extension on one of your browser which is adding its own css file which you are viewing in your console
cheers.
