Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 950743
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T23:37:03+00:00 2026-05-15T23:37:03+00:00

I have an embed code that users will use to display content hosted on

  • 0

I have an embed code that users will use to display content hosted on my website on their own site (e.g. <iframe src="mysite/feed"></iframe>).

I want to use clippy to allow them to copy the embed code to their clipboard but in firefox this results in the iframe actually getting embedded in the page beside the clippy icon.

My site is written in PHP and I’m also using jquery.

Is there any way of escaping the embed code so that it doesn’t get embedded in my page but still copies to the clipboard correctly for the user?

Chrome is behaving correctly and not displaying the iframe, not tested in ie.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T23:37:03+00:00Added an answer on May 15, 2026 at 11:37 pm

    In order to display the html you’ll have to convert some characters to their entities ‘less than’ and ‘greater than’ on that line.

    &lt;iframe src="mysite/feed"&gt;&lt;/iframe&gt;
    

    This is the output of the above text:

    <iframe src=”mysite/feed”></iframe>

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a flash object embedded in my website with the embed code that
I have written a PHP function to take a video embed code that has
I am considering giving users code to embed certain javascript elements from my website.
I have Office 2003 VBA code that uses the technique described here to embed
I have some code that I am retrofitting to use an allocator instead of
I'm working on a community video site (Wordpress backbone) that will allow users to
I have tried to embed the icalendar code in a email to be sent
I have embeded a music in a webpage using this code: <embed src=upload/gnossiennes.mp3 autostart=true
Motorola phones do not have Verisign/Thawte root certificates for code signing. They only embed
I am trying to use R within a script that will act as a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.