erro "manifest_version": 2,

51 views
Skip to first unread message

JR souza

unread,
Oct 13, 2012, 4:36:30 PM10/13/12
to chromi...@chromium.org
Hello friends!

Friends need your help to solve a problem with my extension, the extension follows attachment to better understand my problem, what happens is that when I put the "manifest_version": 2, on file manifest.json this extension to load the feed more when I take the "manifest_version": 2, file manifest.json it works normal, the more accurate it works with "manifest_version": 2, to be able to send chome.

Thank you and I look
leitorrss.zip

PhistucK

unread,
Oct 14, 2012, 2:52:27 AM10/14/12
to JR souza, chromi...@chromium.org
You cannot use inline JavaScript inside of your HTML files.
Extract them to a separate JavaScript file (code.js, for example) and replace <script>...</script> with <script src="code.js"></script>.
Extract inline event listeners (<span onclick="...">), to addEventListener and similar.

PhistucK



--
You received this message because you are subscribed to the Google Groups "Chromium Apps" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msg/chromium-apps/-/SwpxG23PUo8J.
To post to this group, send email to chromi...@chromium.org.
To unsubscribe from this group, send email to chromium-app...@chromium.org.
For more options, visit this group at http://groups.google.com/a/chromium.org/group/chromium-apps/?hl=en.

JR souza

unread,
Oct 14, 2012, 10:42:47 AM10/14/12
to chromi...@chromium.org, JR souza
Friends normal to be carrying the script, so it does not work after I put the code "manifest_version": 2, on file manifest.json

PhistucK

unread,
Oct 14, 2012, 10:48:37 AM10/14/12
to JR souza, chromi...@chromium.org
You are really not clear, I cannot understand your reply...

PhistucK



JR souza

unread,
Oct 14, 2012, 11:07:32 AM10/14/12
to chromi...@chromium.org, JR souza


Em domingo, 14 de outubro de 2012 11h50min14s UTC-3, PhistucK escreveu:
You are really not clear, I cannot understand your reply...

PhistucK
The app works without the the normal code "manifest_version": 2,

so it stops working after I put the code "manifest_version": 2, on file manifest.json

PhistucK

unread,
Oct 14, 2012, 11:23:37 AM10/14/12
to JR souza, chromi...@chromium.org
Right, so I suggested the changes that would make it work with "manifest_version": 2.
The new version does not allow inline JavaScript. Extract it to external files, like I wrote.

PhistucK



JR souza

unread,
Oct 14, 2012, 12:38:44 PM10/14/12
to chromi...@chromium.org, JR souza
I do not know programming, if you can edit and append I'll be very happy or would you prefer to pay
leitorrss.zip

PhistucK

unread,
Oct 14, 2012, 1:21:03 PM10/14/12
to JR souza, chromi...@chromium.org
Then this is not the appropriate group for this discussion.
Learn some web development and search for help in general web development forums.

PhistucK



Reply all
Reply to author
Forward
0 new messages