embed any web page - html

i would like to embed the public view of my Google Scholar page into my personal webpage. I used the iframe tags, however the resulting box is just empty. What are the general rule where iframe tag applies?

Short answer: you cannot, because google refuses to allow other sites to embed its pages. Actually, if you are using a debugger, it should warn you that Google is using the same origin policy on its response:
Refused to display 'http://scholar.google.fr/...' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.

Want to know all about ? Follow the link below.
http://www.w3schools.com/tags/tag_iframe.asp
My opinion is to avoid iframes because of bookmarking and navigation.
Here are some alternatives
Alternatives to Iframe
http://icant.co.uk/articles/crossdomain-ajax-with-jquery/index.html

The way I solved this is by exporting all my publications from Google Scholar to a bib file then use bibbase.org to create a publications page using the generated bib file. You can embed the generated page into your website. Works fine and looks good.

Related

I want to use Google docs in django site is there any security issues with directly copying the iframe tag

I want to use Google docs in my django site by embedding it with iframe tag
Or the link provided by Google for embedding.
Is there any security threat by using this method of embedding.
It really depends what are you putting in IFRAME or if someone is putting your site in their IFRAME. if the foreign site is a "normal" site - no worries, but if you allow to anyone to put your site in IFRAME you can become part of unwanted site.
I personally use IFRAMEs only from my own other sites, where it can't be done differently or from extremely trusted sites (like Youtube). Also I prevent everyone to put my site in IFRAME.
There are tons of posts around, so I would recommend to take a look at the Google.

How to display popups inside iframe

I have some links from remote website [not in my control]. I am trying to display links given by remote website on my personal website. Remote website links contains pop ups.
I want the pop ups to display inside iframe windows. By default they open a popup inside the same windows and close my personal website.
I am using this code.
<iframe scrolling="no" name="popads" width="450" height="450" src="Remote Website"></iframe>
Thanks to give solutions for this problem.
If you are using jQuery, you can use jQuery Dialog. Its simple and clean.
https://jqueryui.com/dialog/
This cannot be done this way.
You cannot alter the way another website works. This would be called "cross-site-scripting"
You would have to download those sites to your webserver (for example with PHP), alter the code and then deliver them as yours FROM YOUR SERVER.
Then you can include those altered sites in your iframes.
(There are also online services for altering webpages, for example "Yahoo pipes")

Google Apps Script Html Service and Internet Explorer error "This content cannot be displayed in a frame"

I am finally getting my Google script to work. It works fine in Chrome. I am using htmlservice.createHtmlOutputFromFile and the site is obviously hosted on google sites.
But when I try the page in IE, I get
This content cannot be displayed in a frame
To help protect the security of information you enter into this website, the publisher of this content does not allow it to be displayed in a frame.
I tried adding in head tag
meta http-equiv="X-Frame-Options" content="allow"
but it made no difference.
Is there a javascript trick or a GAS library function I can use to try to get this to work cross browser?
Maybe your problem is related to cross domain cookies.
Check this answer maybe will work to you.

stackoverflow page not appearing inside iframe

I used to display web pages in iframes. But when I tried to display my stackoverflow user info in an iframe, it went wrong. The content is not getting displayed. What may be the possible reason (or reasons) for this behavior? How can I display my page in an iframe? Is it possible to display it in iframe with pure html or is there any need for javaScript or AJAX or something like that? If this is not possible, is there any workaround for this?
Here is a Live Demo.
A possible reason for this could be same as that of Google. As some sites do not allow their sites to be iframed.
To quote from #Daan:
Google uses an X-FRAME-OPTIONS HTTP header to disallow putting their pages in iframes: https://developer.mozilla.org/en/The_X-FRAME-OPTIONS_response_header
Could be a case with SO too.

How can I link to a public google profile through an iFrame?

As an example the following does not work
<iframe src="https://plus.google.com/110145602671775846965/about?hl=en" />
Even though I can visit the page directly. Is there any way of getting around this?
No, there is not. Like most Google applications, Google Plus uses the X-Frame-Options to block framing of pages on their site. This is a browser security mechanism; as such, there is no way to disable it.