var href = decodeURIComponent(document.querySelector('a[data-marker="phone-popup/call-button"]').href)
var phone = "tel:"+href.replace(/[^\+\d]/g,'');
console.log(phone);
i = JSON.parse(body)
vk.api.photos.saveMessagesPhoto({
photo: i.photo,
server: i.server,
hash: i.hash
}).then(...
vk.api.photos.saveMessagesPhoto(JSON.parse(body))
.then(...
const data = JSON.parse('{"server":855512,"photo":"[{\"markers_restarted\":true,\"photo\":\"c22e3f9d33:x\",\"sizes\":[],\"latitude\":0,\"longitude\":0,\"kid\":\"8019ffc4ac348457f7dd9bd97cc1e84c\",\"sizes2\":[[\"s\",\"1448cdf2f43b6bfc2c69b23e3fadf9999d168eaa17902475122f72d1\",\"6199139014163963043\",75,75],[\"m\",\"d450cbad628c66775c098e509763b1279248582c6a94aa0d9d7bc5ce\",\"-7040686322532315897\",130,130],[\"x\",\"b3582491d1603e9cf19732209c4a72c9443f0f9e9896a63dbe94bccd\",\"2952443394615334181\",400,400],[\"o\",\"d450cbad628c66775c098e509763b1279248582c6a94aa0d9d7bc5ce\",\"-7040686322532315897\",130,130],[\"p\",\"99e794bd090ad046413743c235ad1711fe24c8458759dcf91bf7b823\",\"-651280146773265070\",200,200],[\"q\",\"80351217a874568e7bbc939b86c48947de756e748c9ef8ebffcaecaf\",\"707388040665749392\",320,320],[\"r\",\"7fd0cf9f39ae5a470d92c232c9d67095210ee73ea28c70efa8bb6896\",\"-1901564412523184003\",400,400]],\"urls\":[],\"urls2\":[\"FEjN8vQ7a_wsabI-P635mZ0WjqoXkCR1Ei9y0Q/oxyCxBbEB1Y.jpg\",\"1FDLrWKMZndcCY5Ql2OxJ5JIWCxqlKoNnXvFzg/B42Cwhd1Sp4.jpg\",\"s1gkkdFgPpzxlzIgnEpyyUQ_D56YlqY9vpS8zQ/JdV-658v-Sg.jpg\",\"1FDLrWKMZndcCY5Ql2OxJ5JIWCxqlKoNnXvFzg/B42Cwhd1Sp4.jpg\",\"meeUvQkK0EZBN0PCNa0XEf4kyEWHWdz5G_e4Iw/UrVQOigw9vY.jpg\",\"gDUSF6h0Vo57vJObhsSJR951bnSMnvjr_8rsrw/kNc90qwl0Qk.jpg\",\"f9DPnzmuWkcNksIyydZwlSEO5z6ijHDvqLtolg/fQAI4j1JnOU.jpg\"],\"peer_id\":499337186}]","hash":"b4ca6a60b4d7e2e8c12ab85d6b8e2f34"}');
Uncaught SyntaxError: JSON.parse: expected ',' or '}' after property value in object at line 1 column 30 of the JSON data