Author: | Maiquinho |
---|---|
Views Total: | 120 views |
Official Page: | Go to website |
Last Update: | April 28, 2023 |
License: | MIT |
Preview:

Description:
get-iframe-src is an extra-light JavaScript that allows developers to get an iframe’s source URL without manual inspection and extraction.
How to use it:
1. Download and import the index.js into the document.
<script src="js/index.js"></script>
2. Add the data-action=”get-iframe-src” attribute to the input field which accepts the iframe code.
<input type="text" id="iframeCode" data-action="get-iframe-src" />
3. That’s it. Just paste your iframe code to the input field and the library will automatically extract and copy the source content to your source code.