3 ms·
I'd be interested in seeing implementation examples of adding 3rd party data from one (3rd party) web source to another for form completion, if you have them pl
by pbhjpbhj 5y ago
I'd be interested in seeing implementation examples of adding 3rd party data from one (3rd party) web source to another for form completion, if you have them please?
Presumably this has to hack around cross-site restrictions nowadays (it's a couple of years since I did any website JavaScript).
- plorntus 5y agoExtensions can request a higher level of permisions so you typically wont run into that issue.
- CraigJPerry 5y agoHere's one i made just now: https://gist.github.com/craigjperry2/83b81b7eaf5cf68ca042a9a0c638a00e https://gist.github.com/craigjperry2/83b81b7eaf5cf68ca042a9a... 1. Clone that repo 2. Run my fake vendor app - in this case an html page with an empty text box - npx http-server 3. Add the browser extension - tested in firefox - then refresh the page Now you should see the title fields from https://jsonplaceholder.typicode.com/posts https://jsonplaceholder.typicode.com/posts in a dropdown that's now been added to the input field of the fake vendor app page.