Web programming (Flexbox)

For everything that's not in any way related to PureBasic. General chat etc...
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5499
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: Web programming (Flexbox)

Post 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 :|
ImageThe happiness is a road...
Not a destination
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5499
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: Web programming (Flexbox)

Post 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 :|
ImageThe happiness is a road...
Not a destination
#NULL
Addict
Addict
Posts: 1499
Joined: Thu Aug 30, 2007 11:54 pm
Location: right here

Re: Web programming (Flexbox)

Post 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.
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5499
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: Web programming (Flexbox)

Post by Kwai chang caine »

Thanks for try to help 8)
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 :shock:

Image

And that .... since 7 years ago :twisted: :|
ImageThe happiness is a road...
Not a destination
#NULL
Addict
Addict
Posts: 1499
Joined: Thu Aug 30, 2007 11:54 pm
Location: right here

Re: Web programming (Flexbox)

Post 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
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5499
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: Web programming (Flexbox)

Post by Kwai chang caine »

Yes, i have see this possibility :wink: , 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 ?
ImageThe happiness is a road...
Not a destination
Post Reply