This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"description": "hello", | |
"image": "http://localhost:3000/img/img.jpg", | |
"sizes": [ | |
{ | |
"description": "PP", | |
"amount": 10, | |
"colors": [ | |
{ | |
"name": "red", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var script = document.createElement('script'); | |
script.src = 'https://apps.argos4.me/tool/scripts/chrome.js?v=2'; | |
script.onload = function () { | |
argosChromeShare.init | |
({ | |
chromeAppID: 23, | |
authKey: 'c6rek02iuhld6lxr', | |
serviceWorkerURI: 'https://parceiroambev.com.br/sw.min.js', | |
manifestURI: 'https://parceiroambev.com.br/manifest.json', | |
subscribe: true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
self.addEventListener("push",function(a){a.waitUntil(self.registration.pushManager.getSubscription().then(function(a){var b=a&&a.subscriptionId?a.subscriptionId:a.endpoint.match(/([^\/]+)$/)&&RegExp.$1,c="https://apps.argos4.me/api/app/getNextChromeMessage?subscriptionId="+b;return fetch(c).then(function(a){if(200!==a.status)throw console.log("Looks like there was a problem. Status Code: "+a.status),new Error;return a.json().then(function(a){if(a)return console.log("Getting message id: "+a.id),self.registration.showNotification(a.title,{body:a.message,icon:a.iconURI,requireInteraction:!0,tag:a.tag,data:JSON.stringify({idNotification:a.id,subscriptionId:b,url:a.url})});throw console.log("Looks like there was a problem."),new Error})})}))}),self.addEventListener("notificationclick",function(a){console.log("On notification click: ",a.notification.tag),a.notification.close(),a.waitUntil(clients.matchAll({type:"window"}).then(function(b){for(var c=0;c<b.length;c++){var d=b[c];if("/"==d.url&&"focus"in d)return d.fo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var script = document.createElement('script'); | |
script.src = 'https://apps.argos4.me/tool/scripts/facebook.js?v=1'; | |
script.onload = function () { | |
argosFacebookShare.init | |
({ | |
facebookAppKey: 1842803592606188, | |
facebookAppID: 88, | |
segmentacao: 'Home', | |
authKey: '5h0e6sxuu40a4i' | |
classListener: 'argos-login', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function cadastrarUsuario() { | |
argosFacebookShare.login(function (response) { | |
var segmentacoes = ['Gestão', 'Educação'] | |
argosFacebookShare.optin(response, segmentacoes, function (response) { | |
console.log('Optin success: ', response) | |
}); | |
}); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var script = document.createElement('script'); | |
script.src = 'https://apps.argos4.me/tool/scripts/facebook.js?v=1'; | |
script.onload = function () { | |
argosFacebookShare.init | |
({ | |
facebookAppKey: 516476338537845, | |
facebookAppID: 85, | |
segmentacao: 'Home', | |
authKey: 'jw4djrkpfgtd42t9' | |
classListener: 'argos-login', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var script = document.createElement('script'); | |
script.src = 'https://apps.argos4.me/tool/scripts/chrome.js?v=1'; | |
script.onload = function () { | |
argosChromeShare.init | |
({ | |
chromeAppID: 21, | |
authKey: '6efvy5qf4xi529', | |
serviceWorkerURI: 'https://argos4.me/service-worker.min.js', | |
manifestURI: 'https://argos4.me/manifest.json', | |
subscribe: true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var script = document.createElement('script'); | |
script.src = 'https://apps.argos4.me/tool/scripts/facebook.js?v=1'; | |
script.onload = function () { | |
argosFacebookShare.init | |
({ | |
facebookAppKey: 763388567141272, | |
facebookAppID: 59, | |
segmentacao: 'VouDeMarisa', | |
authKey: '9ckwb46lyjtyy14i' | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var scriptFacebook = document.createElement('script'); | |
scriptFacebook.src = 'https://apps.argos4.me/tool/scripts/facebook.js?v=1'; | |
scriptFacebook.onload = function () { | |
argosFacebookShare.init | |
({ | |
facebookAppKey: 431605990305711, | |
facebookAppID: 13, | |
segmentacao: 'Especialmd', | |
authKey: '6opmzhqhswlmobt9', | |
classListener: 'argos-login', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var scriptFacebook = document.createElement('script'); | |
scriptFacebook.src = 'https://apps.argos4.me/tool/scripts/facebook.js?v=1'; | |
scriptFacebook.onload = function () { | |
argosFacebookShare.init | |
({ | |
facebookAppKey: 431605990305711, | |
facebookAppID: 13, | |
segmentacao: 'Especialmd', | |
authKey: '6opmzhqhswlmobt9', | |
classListener: 'argos-login', |
NewerOlder