Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function getPrices() {
- for (var i = 0; i < 35; i++) {
- chrome.runtime.sendMessage(
- {contentScriptQuery: "queryPrice", itemURL: skins[priceNumber]},
- price => {
- console.log(price);
- });
- priceNumber = priceNumber + 1;
- }
- ...
- }
Advertisement
Add Comment
Please, Sign In to add comment