1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-09 04:54:10 +01:00

openURLs -> vimperator.open(...)

Support for adding bookmark groups to QuickMarks
This commit is contained in:
Martin Stubenschrott
2007-07-27 18:49:08 +00:00
parent ae840402f1
commit bdc505a047
7 changed files with 103 additions and 82 deletions

View File

@@ -101,16 +101,17 @@ function Hints() //{{{
function genElemCoords(elem)
{
// NOTE: experiment for making the function faster, report problems
try {
var box = window.content.document.getBoxObjectFor(elem);
elem.absoLeft = box.x;
elem.absoTop = box.y;
elem.validCoord = elem.ownerDocument.validCoords;
} catch(e) {
elem.absoLeft = 0;
elem.absoTop = 0;
}
return;
// -> does not work on www.orf.at with frames
// try {
// var box = window.content.document.getBoxObjectFor(elem);
// elem.absoLeft = box.x;
// elem.absoTop = box.y;
// elem.validCoord = elem.ownerDocument.validCoords;
// } catch(e) {
// elem.absoLeft = 0;
// elem.absoTop = 0;
// }
// return;
if (typeof(elem.validCoord) != "undefined")
{
if (elem.validCoord == elem.ownerDocument.validCoords)