javascript - google chrome extension rejected http request -


i've prepared chrome extension rejected published because of issues (they haven't specified wrong exactly). below message recieved them rejection:

your item "[name of extension]" [here kind of id] being taken down violates section of developer program policy relating malicious products obfuscating part of code. per our policies, possible, make of code visible in package can. if of app's logic hidden , appears suspicious, may remove it.

to have item reinstated, please make necessary changes ensure: of files , code included in item’s package. code inside package human readable (no obfuscated or minified code). avoid requesting or executing remotely hosted code (including referencing remote javascript files or executing code obtained xhr requests).

most don't part of code

$.get('http://mydomain/catalogue/message.php?date=' + today, function() {}) .done(function(responsemessage) {   chrome.notifications.create(     'reminder'     ,{type: 'basic'       ,title: responsetopic       ,iconurl: "small.jpg"       ,message: responsemessage}     ,function(notificationid) {}); }); 

this request suppose answer text message notify user. threat? can javascript injected way? if yes, can strip somehow?


Comments

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -