This is a discussion on Javascript/AJAX mini-browser...do-able?? within the AJAX Ideas forums, part of the General category; Hi! I want to make a web application that can do sentence diagramming (like we did in grade school). My server has a "dictionary" database that basically maps common words ...
|
|||||||
|
|
#1 (permalink) |
|
Junior Member
Join Date: Jan 2010
Posts: 1
Rep Power: 0 ![]() |
Javascript/AJAX mini-browser...do-able??
Hi!
I want to make a web application that can do sentence diagramming (like we did in grade school). My server has a "dictionary" database that basically maps common words in English to their part of speech (noun, verb, adjective, etc). I'd like for a user of my site to be able to go to any site with text content, say a news blog, highlight a sentence on the page, and then right click or something to activate a javascrpt program, which will communicate with my site via HTTP POST (or better yet, AJAX), and send back a diagrammed sentence of the selection (or, a minimum equivalent, just a list identifying the part of speech of each word). As far as I can tell, the big hurdle is: I need to run my javascript programs on other websites. Which is not possible of course. I thought about using iframes to do this, but if the src is from a different domain, you can't access or manipulate the child window's innerHTML, so that approach won't work. I was thinking I may be able to build a "browser within a browser" using Javascript. When a user comes to my site, clicks on "mini-browser", it will download javascript to the client which will basically act as a proxy browser. The user would be able to type in a URL or follow a link just as they would on Firefox or Explorer, except within this browser, my own Javascript/AJAX functions will be available that will let me add tags to the content of the web page being viewed, and POST to my server the information necessary to do the sentence diagramming. Is this a feasible approach? I have not been able to find anything like it, but I'm not really sure what it would be called so maybe I'm not doing the right searches. Anyways, I'm just curious how difficult this would be to implement, and what potential security or legal issues there could be. I tried to keep this brief, but if something isn't clear I can add more detail. Thanks! Helo |
|
|
|
| Sponsored Links | |
![]() |
| Bookmarks |
|
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Small Web Hosts Turning to 'Mini Clouds' | microbee | AJAX Help | 0 | 02-06-2009 02:09 AM |
| AJAX World RIA Conference - AJAX for Oracle: Building RIAs Without Browser Plug-ins | microbee | AJAX Help | 0 | 08-11-2008 06:50 PM |
| Good News for AJAX – The Browser Wars Are Back! | microbee | AJAX Help | 0 | 04-24-2008 02:24 PM |
| Ensure Ajax’s Browser Compatibility | microbee | AJAX Help | 0 | 01-15-2008 06:51 AM |
| The Browser, the Portal, and the Desktop Demo Live from AJAX World | microbee | AJAX Help | 0 | 12-04-2007 11:04 PM |