News:

Facebook killed the radio star. And by radio star, I mean the premise of distributed forums around the internet. And that got got by Instagram/SnapChat. And that got got by TikTok. Where the fuck is the internet we once knew?

Main Menu

Pulling text from Internet Explorer/FireFox/any browser

Started by wires, June 22, 2006, 03:48:27 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

wires

Is it possible to pull the entire page source from an external program?  If it is, any ideas how this can be done? :P

Sidoh

Quote from: WiReS on June 22, 2006, 03:48:27 PM
Is it possible to pull the entire page source from an external program?  If it is, any ideas how this can be done? :P

My best guess would be finding the URL of the page currently being viewed and then get the source through WinSock or INet, if you're using VB.

wires

Quote from: Sidoh on June 22, 2006, 04:03:43 PM
Quote from: WiReS on June 22, 2006, 03:48:27 PM
Is it possible to pull the entire page source from an external program?  If it is, any ideas how this can be done? :P

My best guess would be finding the URL of the page currently being viewed and then get the source through WinSock or INet, if you're using VB.
I thought about doing that too, but then after thinking about it some, it wouldn't work too well with dynamic websites.

rabbit

Hook the process and read the Gecko pane (Mozilla/Firefox/Opera) or the view pane (IE, AOL).

Sidoh

Quote from: WiReS on June 22, 2006, 04:07:46 PM
I thought about doing that too, but then after thinking about it some, it wouldn't work too well with dynamic websites.

It would work just fine if you took care to send all the correct headers, which wouldn't be too much of a chore.  Using another method would present the same "problem" if you don't want to content to change.

Warrior

I'd use Inet, simpler than hooking and same functionality.
One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

wires

I came up with a better idea on what I wanted to do without using a browser.  Though feel free to post any other ideas on how to go about doing this if you think of any, in case I ever want to come back later. :P

Sidoh

Let's hear it, Wires.  I highly suspect its a slightly modified version of one of the ideas already posted. =P

iago

I was going to ask what the ultimate goal was, since it sounded like you were doing it the hard way :P

I find that when somebody is asking me how to do something weird, the best question is "what is your ultimate goal?" and generally there's an easier way. 

wires

Quote from: Sidoh on June 22, 2006, 06:01:52 PM
Let's hear it, Wires.  I highly suspect its a slightly modified version of one of the ideas already posted. =P
It doesn't have anything to do with any of the ideas listed, don't even need to be connected.  I'll post what I'm working on in a few days whenever I get it fully working. :P

Quote from: iago on June 22, 2006, 06:58:14 PM
I was going to ask what the ultimate goal was, since it sounded like you were doing it the hard way :P

I find that when somebody is asking me how to do something weird, the best question is "what is your ultimate goal?" and generally there's an easier way. 
Basically I wanted to find text in the browser then have my program parse key words to do different operations.  I've pretty much given up on it for now.

EDIT: Either way, what I was trying to do before most likely violated the TOS. :\

Sidoh

Quote from: WiReS on June 22, 2006, 08:39:56 PM
EDIT: Either way, what I was trying to do before most likely violated the TOS. :\

I'm positive JynxBot is against WoW's ToS and you don't see MyndFyre throwing it in the trash bin, do you? =P

wires

Quote from: Sidoh on June 22, 2006, 08:59:03 PM
Quote from: WiReS on June 22, 2006, 08:39:56 PM
EDIT: Either way, what I was trying to do before most likely violated the TOS. :\

I'm positive JynxBot is against WoW's ToS and you don't see MyndFyre throwing it in the trash bin, do you? =P
I'm not talking about quitting the project, or against any of the Browser's TOS.  The idea was most likely against the website's TOS.  When I get my program working the way I want, I'll give more information about it. :P

Until then: http://www.x86labs.org:81/forum/index.php/topic,6386.0.html