Extensions
: K-Meleon Forum
All about K-Meleon extensions.
Goto:
Forum List
•
Message List
•
Search
•
Log In
Your Name:
Subject:
Help information
BBcode help
Smileys help
[quote=snuz2] okay. did some research. i was somewhat mistaken, i used blur in an application where i used links, but styled to appear as normal text, to control focus in the page text. this does work. but the focus/blur only applies to html objects like buttons, text boxes and such. it has nothing to do with "static text" that appears on the page. the handling of which is browser dependent. mozilla browsers do have a documented method in js to copy whatever text is selected, which is how the km macro variable gets its information. but there is no documented controls to "release" a highlighted text area in js. unless mozilla documentation includes such a feature, i suppose it is impossible. another alternative is to simulate a mouseclick in a known safe area of the document to release the highlight, but I don't know of a way to trigger the event, at least through js. and... not sure how that would help anyway. since presumably you want different behavior depending upon whether the mouse gesture starts within the highlight or not. it is possible to find where the mouse is relative to the page. but standard javascript document object doesn't expose the location of the highlight only the contents. however, searching mozilla might reveal a special interface that's not part of standard js. why didn't i search mozilla myself? well, they have several documentation sites with similar names and I no longer remember which is the "good" one. it is possible that although gecko doesn't normally expose the highlight region to js, that it can be added in kmeleon. surely windows knows what part of the window is highlighted and if the mouse is in that region. really, we only need to know if the mousedown event happened in the highlight region. who cares? well, i think that gesture plus is a really good idea and should be km's standard interface. i'm sure others agree by looking at postings. i say "do not give up" ! if we ask nicely, maybe our developers will be able to expose this information in the next version so that gesture plus will be super capable. in any case, I only use page up/dn and open fg/bg parts of gesture plus, so i encourage you to release a "lite" version because it's so good.[/quote]
[Please Enable JavaScript]
K-Meleon forum is powered by
Phorum
.
Home/News
Screenshots
Download
Documentation
Resources
Get Involved
Forum
Bugs
Development