Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Submission Rejected - Contains minified or obfuscated code #96

Open
cihadturhan opened this issue Jun 9, 2018 · 6 comments
Open

Submission Rejected - Contains minified or obfuscated code #96

cihadturhan opened this issue Jun 9, 2018 · 6 comments

Comments

@cihadturhan
Copy link

Hello,

Today I submitted my extension to Chrome Web Store. But they respond me with the following:

Per our policies, where possible, make as much of your code visible in the
package as you can. If some of your app's logic is hidden and it appears to
be suspicious, we may remove it. During the course of a review, your item
was found to be suspicious and has one or more file(s) that contain
minified or obfuscated code which is not human readable.

Do you submit with dev or dist folder? It means anyone uses dist folder will have problems as it has obfuscated code. Please let me know if you used obfuscated code.

Thanks

@zabka229
Copy link

zabka229 commented Jun 15, 2018

Did you solved the problem?

@cihadturhan
Copy link
Author

I solved it by disabling uglfy feature on webpack dist config. After that, they accepted the extension. It’s very strange that there are plenty of extensions with minified code.
I’m on mobile so pardon for any typos.

@zabka229
Copy link

Did your bundle size increased a lot? :)

@cihadturhan
Copy link
Author

Hey @zabka229 I just saw your comment. It definitely increases ~300kb or more depending on your package.json. But that’s not a problem as chrome extension comes bundled and doesn’t load the file from any server.

@piavgh
Copy link

piavgh commented Feb 24, 2020

@cihadturhan : Hi, your post is from 2018. Do you have any problem with this issue since then?

I plan to create my extension, and I'm considering some boilerplates (React). Not sure if using React boilerplate causes me any trouble in the future, because I don't want to spend time building an extension and get rejected when I want to submit it to the store.

Another question: I see that this repository is not active since 2018. Are you using any newer (and better) boilerplate for chrome extension development? If yes, please suggest it to me.

Thank you.

@cihadturhan
Copy link
Author

@piavgh I had no problems since then. To be honest, I didn't add new features for a while.
See the extension: https://chrome.google.com/webstore/detail/clipboard-paste-anywhere/pbmkobomelmhlgfbfjohpblialcopjco?hl=en-US

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants