Commits

Anonymous committed 8ed169c

blacklisted google.com for firefox extension as well

  • Participants
  • Parent commits 069ad0c

Comments (0)

Files changed (1)

File firefox/chrome/content/load.js

 
 function onPageLoaded() {
 	var url = content.location.href;
+	// disable jknav for *.google.com sites
+	// (they usually have much better j/k navitation)
+	if (/google\.com/.test(url)) {
+		return false;
+	}
 	var jk = JK(content, {});
 	content.document.addEventListener("keydown", jk.nav, false);
 }