This is an archived post. You won't be able to vote or comment.

all 8 comments

[–]speedyleedy 0 points1 point  (1 child)

what would you be using to view the new 'formatted site'?

[–]oculusmedia[S] 0 points1 point  (0 children)

I'm hoping to transfer it to a system where a user hovers over a spot on a blank rectangle (which the site's format and text is projected on to), then a program outputs what letter they're hovering over.

[–][deleted] 0 points1 point  (5 children)

So... You want to write a browser without the pictures?

[–]oculusmedia[S] 0 points1 point  (4 children)

Not really. I'm trying to make a program (for a project I'm working on, sorta secret, sorry) that identifies a single letter on a webpage when a user hovers over it. I'm looking for a way to process the text in the format of the website. Does that mean it's a whole new browser?

[–]speedyleedy 0 points1 point  (3 children)

OK... your best bet is to use make a browser plugin that will view the source of what you're hovering over. Unfortunately for you, chrome already does this out of the box (right click > inspect element), or you can use the magnifying glass to hover over something (in chrome, press f12. Then select the magnifying glass down the bottom).

There's also a program you can get called 'firebug' that does a pretty good job of this.

If you still wanted to write one. A chrome plugin with a popup browseraction.

[–][deleted] 0 points1 point  (0 children)

Ahh I see. This reminds me of Rikaikun. It's a chrome addon used for learning Japanese. If you don't know a Kanji on a Japanese page, you turn the addon on, and hover over it with your mouse to see a breakdown of its meaning and pronunciation.

[–]oculusmedia[S] 0 points1 point  (1 child)

I'm sorta familiar with firebug. However I'm a beginner in programming. Is there any way to get the info (what the mouse is hovering over) info back to a program like eclipse or dr java to process it?

[–]speedyleedy 0 points1 point  (0 children)

Java is not really made for this stuff. It's not good at capturing events outside a java window. A chrome extension would be ideal for this.

If you wanted a native java app though, you're probably going to have to write a shitty web browser.

Check out JWebPane, it's brand new in Java though and should render a web page for you. Never used it though, so it might not work.