Browse Source

keysnail.js: Disable a key on feedly page

pull/1/head
10sr 10 years ago
parent
commit
5d7bd76292
1 changed files with 9 additions and 8 deletions
  1. +9
    -8
      _keysnail.js

+ 9
- 8
_keysnail.js View File

@@ -161,14 +161,15 @@ local["^https?://(www\.|cloud\.|)feedly\.com/"] = [
// ['x', function(ev, arg){
// ev.target.dispatchEvent(key.stringToKeyEvent("g", true));
// }],
['l', function(ev, arg){
var host = window.content.location.host;
if (host === "cloud.feedly.com" || host === "feedly.com") {
window.content.location.href = "http://" + host + "/#latest";
} else if (host === "www.feedly.com") {
window.content.location.href = "http://" + host + "/home#latest";
}
}],
// ['l', function(ev, arg){
// var host = window.content.location.host;
// if (host === "cloud.feedly.com" || host === "feedly.com") {
// window.content.location.href = "http://" + host + "/#latest";
// } else if (host === "www.feedly.com") {
// window.content.location.href = "http://" + host + "/home#latest";
// }
// }],
['a', null],
[['t', 'p'], function(ev, arg){
ev.target.dispatchEvent(key.stringToKeyEvent("t", true));
}],


Loading…
Cancel
Save