Updated Run JavaScript before change detection (markdown)

master
dgtlmoon 2022-11-06 16:11:30 +01:00
rodzic 418c15cb78
commit 9b21b1b18e
1 zmienionych plików z 21 dodań i 0 usunięć

@ -51,3 +51,24 @@ BestBuy will often ask for a 'local' or 'country' store, we simply click on the
In that above shared link, we will be watching BestBuy for changes in GTX 4090 graphic card prices
Or set these
**"Execute JavaScript before change detection"**
```
setInterval(function(){
document.evaluate("//div[@lang='en']//a[@class='us-link']", document, null, XPathResult.ANY_TYPE, null ).iterateNext().click();
},1000);
```
**CSS/JSON/XPATH Filter** to `.shop-sku-list-item`
**Remove Elements** (optional, to cut down noise) to
```
.image-link
.embedded-badge
.variation-info
.sku-list-item-compare-checkbox
```