Page 2 of 2
Re: Web programming (Flexbox)
Posted: Fri Jan 10, 2020 5:29 pm
by Kwai chang caine
#Null wrote:What you can try to do is getting the src attribute of the iframe (the url) and load that as a page on its own
I have try and the site say to it's an old url and return to the index page, there are surely a protection against this way

Re: Web programming (Flexbox)
Posted: Fri Jan 10, 2020 6:34 pm
by Kwai chang caine
I have also try the DERREN idea
Code: Select all
var iframe = document.querySelector("iframe-page-content")
var actualDiv = iframe.querySelector("#ext-gen4")
console.log(actualDiv);
and i have "TypeError: iframe is null" error

Re: Web programming (Flexbox)
Posted: Sat Jan 11, 2020 10:28 am
by #NULL
iframe-page-content is an id, so you need to query for #iframe-page-content
..but I think this will work only if the main and iframe url have the same domain/protocol/port.
Re: Web programming (Flexbox)
Posted: Sat Jan 11, 2020 10:58 am
by Kwai chang caine
Thanks for try to help
Else have you another way for catch all the HTML or TEXT inside a page with login/password and JAVA or FLASH pluggin
In fact ...simply what the browser display, nothing more
Because finally, it's just what i want to do
When i think all the text is under my eyes.....watch me ..... and when i try just to copy/paste it, he do to me
And that .... since 7 years ago

Re: Web programming (Flexbox)
Posted: Sat Jan 11, 2020 11:07 am
by #NULL
Code: Select all
var iframe = document.querySelector("#iframe-page-content");
console.log(iframe);
var actualDiv = iframe.querySelector("#ext-gen4");
console.log(actualDiv);
Scrathpad deprecated
You can enter javascript directly in the console (Cntrl + Shift + K) in Firefox
Re: Web programming (Flexbox)
Posted: Sat Jan 11, 2020 12:18 pm
by Kwai chang caine
Yes, i have see this possibility

, at my mind less pratical, but with FF we are no choice
But if you needed a day to have a full copy of all the architecture of the DOM inspector of FF, like you see when you do F12, with all the texts, the tags, etc... inside
In fact all that you see in the page, but with programming way, how would you do ?
I know on Chrome we can select manually in the DOM inspector, the tag HTML en right click/copy, but i search to do that by programming
Have you an idea ?