topmonks / heureka-extension

Ověřte si běžnou cenu produktu bez nutnosti opouštět prohlížený e-shop
https://chrome.google.com/webstore/detail/jmhkgcmmgjblnkjkbgjggkaeifacakgi
18 stars 6 forks source link

Add general support for async loaded content (SPA) #29

Closed Strajk closed 3 years ago

Strajk commented 4 years ago

Add iTesco and Kosik

TLDR:

// OLD
if (!isProductPage) {
  console.log("Not a product page.");
  return; // Do not continue
}
// … do stuff

// NEW
document.arrive(scrawler.test, { existing: true }, async () => {
  // … do stuff  

2020-06-23 17 42 54

Strajk commented 4 years ago

image

is a must for this PR

Strajk commented 3 years ago

@junkycoder spring cleaning? :D

junkycoder commented 3 years ago

Jo, zrovna vykopavam webpack a sass :P

st 10. 2. 2021 v 12:05 odesílatel Strajk notifications@github.com napsal:

@junkycoder https://github.com/junkycoder spring cleaning? :D

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/topmonks/heureka-extension/pull/29#issuecomment-776630819, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJPV76Y3E7IFLXHDZMNVUDS6JR7BANCNFSM4OFZPCPQ .