Selaa lähdekoodia

keysnail.js: Disable a key on feedly page

pull/1/head
10sr 10 vuotta sitten
vanhempi
commit
5d7bd76292
1 muutettua tiedostoa jossa 9 lisäystä ja 8 poistoa
  1. +9
    -8
      _keysnail.js

+ 9
- 8
_keysnail.js Näytä tiedosto

@@ -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));
}],


Ladataan…
Peruuta
Tallenna