Export or save html source including iFrame's html - html

In FireBug the HTML view displays the full html of the page including the html of the iFrames. Is there a way to save this same html view or using another FF extension to save the full html? Meaning the saved file will have the html, body and the rest of the dom for the iFrames. I know I can view and save the individual iFrames' HTML but I want everything in a single file.

You can crawl the DOM for all the iframes and then do httpRequest to capture the dom from each url in the src attribute of the iframe.

Related

In browser inspect element html code show in encrypted form or hide code

I have make new HTML template and Admin panel. I want no one see my HTML. If HTML show in browser inspect element in encrypted format and no one able to download my HTML code by browser.
My website in Laravel + HTML5.

How to get data from web page and preview them in my html page?

i need to get some data from external web page (specific text between and tags in this web page source code )
and then show this data in my html.
or get part of html code of another page
then put it in my html page by a button click for examle
This is really hard if it's somebody else's web page due to CORS. However, you should be able to if it's your web site.
Use XMLHttpRequest to get the page content.
Set the container element's .innerHTML to the textual representation of the HTML.

How to link internally on an html page to inside an object tag

I have a microsoft .doc file which I converted to html (by clicking save as html). That .doc file had within it internal links to other parts of the document, and thus the new html page did as well.
I then embeded this html file inside another one with a object tag. Now the links don't work. Why exactly is this and can it be fixed?

html desktop notification file complete html?

HTML5 desktop notifications have an HTML option where we can show an HTML page inside a notification. What I was wondering was, should the page to be shown inside the notification be a 'complete' html page or just a bunch of nodes?
By 'complete' I mean, should it have a doctype and head, body, and html tags? What about external JavaScript and CSS files? I have been showing it as a bunch of nodes for sometime and it does not seem to have any problems that way, but now as the app develops, the page is getting more sophisticated and I now need to move the CSS and JavaScript to their own external files.
According to W3C specification it is a separate window and therefore the content has to be complete html document

What are iframe alternatives?

Is iframe should not be used ever?
how screen reader behaves with
iframed content?
Without iframe how we can embed any
PHP page into asp.net based site?
What are cross browser alternatives?
I don't see why using an iframe is a problem.
If you can't use it then you could either use javascript to download and insert the generated html from the php page, or you could download the html in your asp.net server-side code and insert the html in a control.
Either approach should work well, but using javascript across domains is difficult.
If you go for the asp.net server-side approach you could do the following:
First insert an control where you want to include the html from the php page
In your Page_Load event use the WebClient to download the html as a string
Remove the <html>, <head> and <body> tags so that you only have the pure html markup. You may want to add any script- and css-references to your page if they are needed.
Assign the cleaned html to the Label controls Text property.
This will work, but there are a few points to make:
First you should consider if you trust the source of the php page. If you don't then you will want to do some extra cleaning of the html before displaying it
Second, you will probably want to cache the downloaded html so that you don't have to download it for each page view.