Greasy Fork is available in English.

게시판 » 개발

Can You Display A Field From A Linked Page Without Visiting The Link?

§
작성: 2021-12-11

Hello, I am wondering if this is possible with user script.

I have a webpage which links to different stores for a product and each store page contains a stock tracker. Is it possible to display the stock next to each link without having to visit each store page? For Example:

Currently:
Main.website:
Buy Super Awesome Product at:
Webstore1.website
Webstore2.website
Webstore3.website

Webstore1.website:
Stock: 0
Webstore2.website:
Stock: 3
Webstore3.website:
Stock: 1

What I am trying to accomplish:
Main.website:
Buy Super Awesome Product at:
Webstore1.website 0
Webstore2.website 3
Webstore3.website 1

§
작성: 2021-12-11

Is it possible to display the stock next to each link without having to visit each store page?

Scripts can do some kind of "quick visits" in background, so technically answer is "no", but considering what you meant it's "yes" I guess

§
작성: 2021-12-11

This may be easier for you, but idk:

https://www.google.com/search?q=js+xmlhttprequest

댓글 남기기

댓글을 남기려면 로그인하세요.