Skip to content

Instantly share code, notes, and snippets.

View qavan's full-sized avatar
🏳️‍🌈
looked evangelion

Nikolay qavan

🏳️‍🌈
looked evangelion
View GitHub Profile
chrome.runtime.onMessage.addListener(
async data => {
let textWhatIGot = data.text;
if (data.action === "prod") {
const response = await fetch("https://1c.codepool.ru/api/info", {
method: "POST",
headers: {
"Content-Type": "application/json;charset=utf-8",
},
body: JSON.stringify({
# Created by https://www.gitignore.io/api/node,macos,visualstudiocode
### macOS ###
# General
.DS_Store
.AppleDouble
.LSOverride
# Icon must end with two \r