Created
March 23, 2010 04:58
-
-
Save llimllib/340849 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/background_page.html b/background_page.html | |
index 978409b..8a78c97 100644 | |
--- a/background_page.html | |
+++ b/background_page.html | |
@@ -38,6 +38,8 @@ | |
'border:1px solid #E3BE23;' + | |
'z-index:99999999;' + | |
'font-family:"Helvetica Neue", "Helvetica", "Arial", "Sans";' + | |
+ 'top:0px;' + | |
+ 'left:0px;' + | |
'}' + | |
'.internalVimiumHintMarker > .matchingCharacter {' + | |
'color:#C79F0B;' + | |
diff --git a/linkHints.js b/linkHints.js | |
index 2c085ff..0b70acc 100644 | |
--- a/linkHints.js | |
+++ b/linkHints.js | |
@@ -52,6 +52,7 @@ function buildLinkHints() { | |
// that if you scroll the page and the link has position=fixed, the marker will not stay fixed. | |
// Also note that adding these nodes to document.body all at once is significantly faster than one-by-one. | |
hintMarkerContainingDiv = document.createElement("div"); | |
+ hintMarkerContainingDiv.className = "internalVimiumHintMarker"; | |
for (var i = 0; i < hintMarkers.length; i++) | |
hintMarkerContainingDiv.appendChild(hintMarkers[i]); | |
document.body.appendChild(hintMarkerContainingDiv); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment