Click here to Skip to main content
15,891,184 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Create an JS plugin/embed on install on a website, it should be able to read
the URL and whenever the URL has a parameter ?iframe_url=https://example.com or
any other URL, it should inject an iFrame into the page and display the URL and show
a hover button on top of the iFrame.


What I have tried:

i couldn't understand diffrence between iframe and embeded plugin
Posted
Updated 15-Aug-22 3:13am

1 solution

An iframe is a HTML element. It's used as part of the HTML document that's loaded by the browser to render what the user sees on screen.

A plug-in is a piece of code, installed into the browser, that extends the functionality of the browser in some way, like injecting elements, i.e.: your iframe, into the HTML document that's loaded.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900