I am currently developing an extension for Google Chrome.
My goal is to create a content script that can retrieve meta tags from the tab when the popup is clicked.
In my manifest, I have included the following permissions:
"content_scripts": [{
"js": ["src/js/DOMReader.js"],
"matches" : [
"*://*/*",
"http://*/*",
"https://*/*"
]
}],
"permissions": [
"unlimitedStorage",
"storage",
"notifications",
"activeTab",
"tabs",
"bookmarks",
"browsingData",
"identity",
"topSites",
"history"
]
Every time I call the content script, it returns the default error value. When I try to locate it using the developer console sources tab, I cannot find my content scripts.
It is frustrating because I am unable to debug my code properly without being able to see the content script. I just want to understand why my content script is not visible and my searches have not provided any answers.