瀏覽代碼

keysnail.js: fix lsk for cloud.feedly.com

pull/1/head
10sr 11 年之前
父節點
當前提交
cc24275f4d
共有 1 個檔案被更改,包括 7 行新增2 行删除
  1. +7
    -2
      _keysnail.js

+ 7
- 2
_keysnail.js 查看文件

@@ -113,7 +113,7 @@ local["^http://w2.p2.2ch.net/p2/read.php"] = [

/////////////////////////////////////////
// feedly
local["^http://www.feedly.com/"] = [
local["^http://(www|cloud)\.feedly\.com/"] = [
['d', null],
['j', null],
['k', null],
@@ -130,7 +130,12 @@ local["^http://www.feedly.com/"] = [
// ev.target.dispatchEvent(key.stringToKeyEvent("g", true));
// }],
['l', function(ev, arg){
window.content.location.href = "http://www.feedly.com/home#latest";
var host = window.content.location.host;
if (host === "cloud.feedly.com") {
window.content.location.href = "http://" + host + "/#latest";
} else if (host === "www.feedly.com") {
window.content.location.href = "http://" + host + "/home#latest";
}
}],
[['t', 'p'], function(ev, arg){
ev.target.dispatchEvent(key.stringToKeyEvent("t", true));


Loading…
取消
儲存