make extension that modify a website content?

I want to make a chrome extension that modifies a website content, and that extension is linked with a website i developed
For example there is an extension called Honey that modifies amazon pages and tells you the prices changes.
enter image description here

enter image description here

Verify affiliate/ referral code is associated to an order fulfilled

I am trying to develop a chrome extension that would have cashback functionality. In order to do this, I am supposed to add referral codes or affiliate IDs to product listings on different eCommerce stores. For the sake of understanding, I shall take Amazon.com as one of the eCommerce stores where the content script may modify the product urls on listing pages.
The cashback would work the following way if user did buy from the affiliate ID/ referral code then part of earnings made against that transactions are to be given back to the user.

I dont have much knowledge about affiliates or referral code programs offered by eCommerce stores, I want to figure out a way to verify that a particular transaction/ order fullfilled was associated with the referral code or affiliate ID, this needs to be done in order to make sure that user is indeed eligible for the cashback.

Any help would be appreciated.

How to get around its security limitations and display a iframe?How to show amazon at google-chrome-extension?

Amazon refuses to show itself in iframe, how to get around its security limitations and display a iframe?How to show amazon at google-chrome-extension?

Is there a way to filter out Prime listings from my Amazon search results?

Is there a way to filter out Prime listings from my Amazon search results? I need this for faster product research but can’t find a way to do this.