Quellcode durchsuchen

keysnail.js: Disable a key on feedly page

pull/1/head
10sr vor 9 Jahren
Ursprung
Commit
5d7bd76292
1 geänderte Dateien mit 9 neuen und 8 gelöschten Zeilen
  1. +9
    -8
      _keysnail.js

+ 9
- 8
_keysnail.js Datei anzeigen

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


Laden…
Abbrechen
Speichern