📅  最后修改于: 2022-03-11 15:03:39.957000             🧑  作者: Mango
var originalSetItem = localStorage.setItem;
localStorage.setItem = function(){
document.createEvent('Event').initEvent('itemInserted', true, true);
originalSetItem.apply(this, arguments);
}