hiresh / relaxmenow

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ExtensionPay.com Sample Extension

This is the ExtensionPay Manifest v3 sample extension. Use this as a template or minimal example of how to use the ExtPay JavaScript library in your extension — in background service workers, in the browser extension popup.html, and in content scripts.

To play with this extension, install it and click the extension icon to open the popup.

To install on Chrome

Open chrome://extensions/ and make sure Developer Mode is enabled in the top right corner. Then click the Load unpacked button and navigate to the sample extension folder. Once installed, click the extension's icon ("E") in the browser's top right toolbar to see popup.html. (It may be in the "puzzle piece" menu.)

Change the extension ID to test payments

You'll need to sign up for an account and register an extension on ExtensionPay.com to test payments.

Once you've done that, change the extension ID from sample-extension to your extension's ID in background.js, popup.js, and content.js.

About


Languages

Language:JavaScript 96.0%Language:CSS 2.8%Language:HTML 1.3%