更新 'SrcJyPublic.js'

master
src48597962 9 months ago
parent d08cfe694c
commit cff23c8619
  1. 2
      SrcJyPublic.js

@ -337,7 +337,7 @@ function getHistory(){
let h = []; 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 items = JSON.parse(fetch('hiker://history')).filter(v=> v.type!="网页浏览" && JSON.parse(v.params).title==MY_RULE.title).slice(0, 3);
items.forEach(item=>{ items.forEach(item=>{
let extra = JSON.parse(item.params).params; let extra = Object.assign({}, JSON.parse(item.params).params || {});
extra.cls = "historylist"; extra.cls = "historylist";
h.push({ h.push({
title: item.title, title: item.title,

Loading…
Cancel
Save