Yeah Insite, I got that one. I have been fiddling with the headers but I just can't get it right. This is a Post and does not need pre-flight from my understanding. That is because
"permissions": [
"activeTab",
"identity",
"identity.email",
"http://localhost/*.*",
"https://www.substantiator.com/*.*", <<<<<<<here
"https://substantiator.com/*",
"geolocation",
"storage",
"tabs"
],
So my plan right now is to use Wireshark (initially on the browser PC) to make sure than the headers are AOK. If that doesn't work, i will stick it up on the linux server through ssh. Something is strange, but I can't really see it since the payload is encrypted. I am getting the same strange error in Apache error.log
[client 69.124.178.164:49166] malformed header from script 'index.php': Bad header: {"0":["{choose}","IOS","Mac","
What does index.php have to do with this? That is my return buffer back to the extension, but why would it be in the header?
$this->output
->set_content_type('application/json')
->set_header("Access-Control-Allow-Origin", "*")
->set_output(json_encode($table));
proof that an old dog can learn new tricks