|
|
|
@ -338,7 +338,8 @@ function getide(is) { |
|
|
|
|
//取前三历史记录
|
|
|
|
|
function getHistory(){ |
|
|
|
|
let h = []; |
|
|
|
|
let items = JSON.parse(fetch('hiker://history')).filter(v=> v.type!="网页浏览" && JSON.parse(v.params).title==MY_RULE.title).slice(0, 3); |
|
|
|
|
let ruleTitle = MY_RULE._title || MY_RULE.title; |
|
|
|
|
let items = JSON.parse(fetch('hiker://history')).filter(v=> v.type!="网页浏览" && JSON.parse(v.params).title==ruleTitle).slice(0, 3); |
|
|
|
|
items.forEach(item=>{ |
|
|
|
|
try{ |
|
|
|
|
let extra = JSON.parse(JSON.parse(item.params).params) || {}; |
|
|
|
|