Skip to content

Instantly share code, notes, and snippets.

@llimllib
Created March 23, 2010 04:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save llimllib/340849 to your computer and use it in GitHub Desktop.
Save llimllib/340849 to your computer and use it in GitHub Desktop.
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