您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Automatically opens the preview slider for all items.
当前为
// ==UserScript== // @id FeedlyautopreviewmodMod // @name Feedly Autopreview All Items // @version 1.0.1 // @grant GM_addStyle // @description Automatically opens the preview slider for all items. // @include http://feedly.com/* // @include https://feedly.com/* // @run-at document-end // @namespace https://greasyfork.org/users/4819 // ==/UserScript== var autopreviewmod = function () { this.initialize.apply(this, arguments); } autopreviewmod.prototype = { initialize:function () { } ,autopreview:function (item) { item.setAttribute("data-page-entry-action", "previewEntry"); } }; mo = new MutationObserver(function (mutations) { var autopreviewmodObj = new autopreviewmod(); mutations.forEach(function (mutation) { Array.prototype.slice.call(mutation.addedNodes).forEach(function (node) { if (node.tagName=="DIV" && (node.className=="u0Entry " || node.className=="u1Entry " || node.className=="u2Entry " || node.className=="u3Entry " || node.className=="u4Entry " || node.className=="u5Entry " || node.className=="u5Entry quicklisted")) { if(!node.getAttribute("data-alternate-link").contains("youtube.com")) { if(!node.getAttribute("data-alternate-link").contains("plurk.com")) { autopreviewmodObj.autopreview(node); }; }; }; }); }); }); mo.observe(document.getElementById("box"), {childList:true, subtree:true});