Skip to content

Instantly share code, notes, and snippets.

View jkbelarmino's full-sized avatar
🐞

Jean Kathlyn Belarmino jkbelarmino

🐞
  • N.A.
View GitHub Profile
@jkbelarmino
jkbelarmino / script.js
Created May 27, 2025 09:29
Fetch real-time stock data using Yahoo Finance API
const fetchStockData = async (symbol) => {
const url = `https://query1.finance.yahoo.com/v7/finance/quote?symbols=${symbol}`;
const response = await fetch(url);
const data = await response.json();
return data.quoteResponse.result[0];
};
fetchStockData("AAPL").then(stock => console.log(stock));
@jkbelarmino
jkbelarmino / manifest.json
Last active May 27, 2025 09:29
A minimal setup to kickstart Chrome extension development
{
"manifest_version": 3,
"name": "My Chrome Extension",
"version": "1.0",
"description": "A simple Chrome extension boilerplate.",
"permissions": ["storage", "activeTab", "scripting"],
"background": {
"service_worker": "background.js"
},
"action": {