revBrowser, browserOver, and context menus
Posted: Sun Apr 11, 2010 5:49 am
There may be a way to do this already but I missed it...
The browserOver message is interesting, but limited as it only returns div id tags, which may or may not be of interest when visiting an unknown site, especially since so many are used purely for CSS, not informational purposes. I would like to ask for it to also return href tags - I am building a research tool, and having this would greatly simplify the collection of related links under researcher control rather than just brute forcing them all (most useless) from the HTML source.
Related to this (actually even better), has anyone seen a simple way to add a context menu item to the browser engine that can return info to the stack - I'd love to have a "browserContextMenu menuText, dataContainedInElementUnderMouse" message. It would be able to get more than what is displayed as text using selection, ie the entire href element as opposed to just the displayed text, and allow the user to trigger the collection rather than letting browserOver do it automagically at every div as they moused around - I want to right click on something on a visited page and pop up a window to add some notes for later investigation.
Thanks, Walt
The browserOver message is interesting, but limited as it only returns div id tags, which may or may not be of interest when visiting an unknown site, especially since so many are used purely for CSS, not informational purposes. I would like to ask for it to also return href tags - I am building a research tool, and having this would greatly simplify the collection of related links under researcher control rather than just brute forcing them all (most useless) from the HTML source.
Related to this (actually even better), has anyone seen a simple way to add a context menu item to the browser engine that can return info to the stack - I'd love to have a "browserContextMenu menuText, dataContainedInElementUnderMouse" message. It would be able to get more than what is displayed as text using selection, ie the entire href element as opposed to just the displayed text, and allow the user to trigger the collection rather than letting browserOver do it automagically at every div as they moused around - I want to right click on something on a visited page and pop up a window to add some notes for later investigation.
Thanks, Walt