I'm writing an extension for Google chrome.
I'm trying to write a content script that will take the meta tags from the tab when the popup is clicked.
I have the following permissions in my manifest:
"content_scripts": [{
"js": ["src/js/DOMReader.js"],
"matches" : [
"*://*/*",
"http://*/*",
"https://*/*"
]
}],
"permissions": [
"unlimitedStorage",
"storage",
"notifications",
"activeTab",
"tabs",
"bookmarks",
"browsingData",
"identity",
"topSites",
"history"
]
Whenever I call the content script it returns the default error value, and when I look for it using the developer console sources tab I can't see my content scripts.
I can't properly debug my code because I can't even see the content script to know if anything is wrong. I just want to know why I can't even see my content script, and searching has shown me nothing.