Forbidden content is found in the addon


(Sameertiwari74) #1

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


(erosman) #2

Was the error for manifest?


(Sanjaychandak95) #3

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


(erosman) #4

Please paste the manifest.json


(Sanjaychandak95) #5

{
“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>"
]
}


(Sameertiwari74) #6

Yes I think…Here is the screenshot


(erosman) #7

Are both of making the same addon?


(Sameertiwari74) #8

we are working as a team


(Martin Giger) #9

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.


(Sameertiwari74) #10

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”]
}
]
}


(Martin Giger) #11

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


(Sameertiwari74) #12

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


(Martin Giger) #13

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.


(Jorge) #14

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.


(Leonardo Sedevcic) #15

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