Forbidden content is found in the addon

This message is coming with the validation failed results
Your add-on failed validation with 1 error.
Forbidden content is found in addon
manifest.json
Here is my json file
{
“manifest_version”: 2,
“name”: “Result helper”,
“version”: “2018.11.19830”,
“author”: “Sameer Tiwari”,
“description”: “West Bengal Group D Recruitment Board, Results helper”,
“content_scripts”: [{
“js”: [“js/content.js”],
“matches”: ["://wbgdrb.applythrunet.co.in/", “://wbgdrb.in/”]
}]
}
Please help me find the error …its urgent

Was the error for manifest?

Yes, I am facing the same issue “Forbidden content found” in the manifest.json file.

Please paste the manifest.json

{
“manifest_version”: 2,
“name”: “Result-helper”,
“version”: “1.0”,
“content_scripts”:[
{
“matches”: ["://wbgdrb.applythrunet.co.in/"],
“js”: [“content-script.js”]
}
],
“description”: “West Bengal Group D Recruitment Board, Results Helper”,
“permissions”: [
“webRequest”,
“webRequestBlocking”,
“storage”,
“tabs”,
“activeTab”,
"<all_urls>"
]
}

Yes I think…Here is the screenshot

Are both of making the same addon?

we are working as a team

First off, I’d recommend to use web-ext lint locally, which should find most of these errors too. One thing I have noticed, is that you have left out the protocol name in the match pattern. However that is not a valid match pattern: https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Match_patterns

Edit: apparently the specific host for the match pattern is blocked though.

I have already mentioned protocol name …It didn’t appear last time here…now I have edited it again
{
“manifest_version”: 2,
“name”: “Result-helper”,
“version”: “1.0”,
“description”: “West Bengal Group D Recruitment Board, Results Helper”,
“content_scripts”:[
{
“matches”: ["*://wbgdrb.applythrunet.co.in/*"],
“js”: [“content-script.js”]
}
]
}

You will still not be able to submit it due to what I am quoting here.

how to resolve this issue… I have the same extension working in chrome webstore but here it is creating problem

My best guess is that you can’t, as I assume there is a good reason why this host is blocked. But in any case I guess you’d have to wait for an official staff answer as to why it is blocked, which I doubt you’d get here, but one can have hope.

I’m pretty sure we blocked it some time ago because of spam or malicious add-ons that used that domain in particular. Emailing amo-admins AT mozilla DOT org is the best path forward. Maybe we can remove the block now, or make it more granular.

1 Like

Problems come for your “ need to be repalced by "

{
“manifest_version”: 2,
“name”: “Result helper”,
“version”: “2018.11 .19830”,
“author”: “Sameer Tiwari”,
“description”: "West Bengal Group D Recruitment Board,Results helper ",
“content_scripts”: [{
"js ": [“js / content.js “],
“matches”: [”://wbgdrb.applythrunet.co.in/”, “: //wbgdrb.in/”]
}]
}

here a screenshot: screenshot