What is the minimum chrome version required for chrome.extension.sendMessage? -


I tried to use chrome.extension.SendMessage in my extensions and troubled a lot of users who have the same chrome The version was not (v20.0.1132.47) as I tried to see the documentation here - but when this method is introduced, then nothing is showing signs.

Compare it to an incognito xnitax method that clearly indicates "This function was added to version 12.0.706.0 If you need this function, the manifest key, minimum_mark_version , It can be ensured that your extension will not run in an older browser version. "

Do anyone know what the minimum Chrome version is to use this method is ?

  • exists in Chrome .extension.SendMessage
  • but not

    and it has been introduced in Chrome 20. Before the update, cesendRequest and ceonRequest < / Code> could be used in the same way as cesendRequest as the sendMessage , but onRequest is slightly different.

      // Chrome 20+ Chrome.extension.onMessage.addListener (function) {var message = details. Message; // Any (string, object, ...) var sender = Details; Shenda; // Message sender type var send Response = description. SendResponse; // function}); // Chrome 19-chrome.extension.on request.adlist (message, sender, transmitted remittance) {// message, sender and dispatch dispatch defined in the parameter});    

Comments