Skip to content
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.

Mobile browsers have problems grabbing ASIN #28

Open
razorman8669 opened this issue Sep 15, 2021 · 0 comments
Open

Mobile browsers have problems grabbing ASIN #28

razorman8669 opened this issue Sep 15, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@razorman8669
Copy link
Member

the code
https://github.com/Purse/buywithbitcoin/blob/master/src/content/app/ProductApp.jsx#L34

    const asin = document.querySelector('#addToCart #ASIN').value;

fails on mobile browsers since amazon removes this element when rendering on mobile. we need another way to grab the ASIN so that we can add to cart.

This however, isn't really an issue, since the chrome/firefox extensions cannot (currently) be installed on mobile. However, once firefox allows installing any extension on mobile firefox, we should fix this bug.

@razorman8669 razorman8669 added the bug Something isn't working label Sep 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant