Skip to content

Maiquinho/get-iframe-src

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Get Iframe Source Content

This JavaScript library helps you to extract the source content of an iframe.

Usage

1 - Default Mode

You can use this library on default mode just downloading this code and executing the index.html file, after that you can insert your iframe code on the input.

2 - Custom Mode

  1. You can download or clone this repository and copy just the script file: js/index.js.

  2. After that, add the script on your code calling it after the main html code and before the closing </body>, example:

    <script src="youtpath/js/index.js"></script>
    
  3. Add the data-action attribute on your input element, example:

    <input type="text" data-action="get-iframe-src" />
    

Enjoy it!

About

This JavaScript library helps you to extract the source content of an iframe.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published