I have a a button (in a simple index.html written with CSS, HTML, JQuery, and has ajax) that links to a PHP and python file. When you click it, it does stuff.
I would like to make this button accessible to anyone who I give permission to implement the button on their websites (not my other files, just the literal button) too. I want it to be called with one line of code, and then also pass a "key" (something I provide them), so I can control who can access the button.
I have no clue how to do this. I thought of just creating a super div to hold everything in index.html (but that doesn't solve my key problem, and is probably very inefficient).