kopia lustrzana https://github.com/dgtlmoon/changedetection.io
Updated Run JavaScript before change detection (markdown)
rodzic
418c15cb78
commit
9b21b1b18e
|
@ -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
|
||||
```
|
||||
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue