web-monetization-projects icon indicating copy to clipboard operation
web-monetization-projects copied to clipboard

Extension icon state does not change when payment pointer changes

Open Danisco212 opened this issue 2 years ago • 2 comments

If the payment pointer url changes on the webpage, the extension state icon doesn't change unless the webpage is out of focus and refocused

Danisco212 avatar Aug 03 '22 07:08 Danisco212

Can you give an explicit example of a change?

sublimator avatar Aug 03 '22 08:08 sublimator

Changing the href through code something like this

const link = document.querySelector('link[rel="monetization"]')
 link.href= "https://google.com"

The icon remains with a full green icon, and the popup states it's still paying out image

Danisco212 avatar Aug 03 '22 09:08 Danisco212