LOADING

Web Content Filter (within your Browser)

Web Content Filter (within your Browser)1.6.3

网站的内容过滤器,在 JavaScript 中模拟 dansguardian 的基于分数的过滤器。浏览器中基于规则的内容过滤器。规则取自 e2guardian:它有许多关键字,它试图在网页上找到这些关键字。对于找到的每个单词,分数都会增加。如果超过某个限制,该页面将被阻止。您可以通过管理存储设置值。您可以自定义阻

官方版无广告13

更新日期:2021年 8月 29日分类标签:语言:中文平台:

52.02KB 0 人已下载 手机查看

简介:
网站的内容过滤器,在 JavaScript 中模拟 dansguardian 的基于分数的过滤器。浏览器中基于规则的内容过滤器。规则取自 e2guardian:它有许多关键字,它试图在网页上找到这些关键字。对于找到的每个单词,分数都会增加。如果超过某个限制,该页面将被阻止。您可以通过管理存储设置值。您可以自定义阻止页面。请参阅 https://www.patreon.com/posts/web-content-1-3-20710067。

相关资源

Deep Link
用于链接到页面上特定元素的上下文菜单项。就像你熟悉和喜爱的“¶”图标一样......在任何地方。右键单击页面并选择“深层链接”以直接链接到最近的元素(如果可用)。 (http://the/page#nearest-section)
Peapix New Tab Background
使用漂亮的 Bing 主页图像自定义您的新标签背景。一个漂亮的新标签页,用必应主页图像替换新标签页背景。 [2019-12-20] - 新的用户界面布局。 - 添加您访问次数最多的网站。 - 轻松关闭网络搜索和访问最多的网站。 [2019-11-10] - 添加搜索框,支持谷歌、必应、百度、DuckDuckGo等
CloseTab
将“关闭选项卡”条目添加到页面上下文菜单CloseTab 使您可以通过在页面上的任意位置单击鼠标右键,然后按 pss 键来快速关闭网页。这避免了将鼠标光标移动到选项卡关闭图标的小点击目标的需要。关闭选项卡的键是可自定义的。
arXiv title fixer
将 arXiv 上的论文标题设置为 pdf-tabs 的 。将选项卡的标题固定为 arXiv pdf 和摘要页面上的论文名称。如果使用像 The Great Suspender 这样的扩展程序,则特别有用。 </div> </div> </div> </div> </div> </div> <div class="col-4 col-md-3 col-lg-2 pb-1"> <div class="card-app default list-item"> <div class="media p-0 app-rounded" style="background-image: linear-gradient(130deg, #f9f9f9, #e8e8e8);"> <a class="media-content" href="https://chrome.nanbk.com/chrome/38166.html" target="_blank" data-bg="url(https://cdn1.nanbk.com/file/logo41677/logo.jpg)" style="background-size: 100%"></a> </div> <div class="list-content text-center pt-2"> <div class="list-body "> <a href="https://chrome.nanbk.com/chrome/38166.html" target="_blank" class=" list-title text-md overflowClip_1"> Website to PDF </a> <div class="mt-1"> <div class="list-subtitle text-muted text-xs overflowClip_1"> 将整个网站转换为 PDF 文件您可以将整个网站(页数限制为 39)转换为一个 PDF 文件或进行打印。建议使用格式为 http://example.com/section1/partition2 的页面地址,只将页面转换为 section1/partition2。如果某些内容没有按预期工作,请添加 URL 地址和 </div> </div> </div> </div> </div> </div> <div class="col-4 col-md-3 col-lg-2 pb-1"> <div class="card-app default list-item"> <div class="media p-0 app-rounded" style="background-image: linear-gradient(130deg, #f9f9f9, #e8e8e8);"> <a class="media-content" href="https://chrome.nanbk.com/chrome/45039.html" target="_blank" data-bg="url(https://cdn1.nanbk.com/file/logo70188/logo.jpg)" style="background-size: 100%"></a> </div> <div class="list-content text-center pt-2"> <div class="list-body "> <a href="https://chrome.nanbk.com/chrome/45039.html" target="_blank" class=" list-title text-md overflowClip_1"> 1-Click Summarizer & Web Toolbar by Skim AI </a> <div class="mt-1"> <div class="list-subtitle text-muted text-xs overflowClip_1"> 我们的人工智能研究助理通过处理和总结新闻、研究和 PDF 来帮助您更快地完成工作每天有 50,000 个网站发布新闻、研究报告、博客和对您的工作至关重要的数据。你是怎么管理的?使用我们支持 AI 的 Web 工具栏,一键汇总新闻和 PDFS(文本)。双击浏览器中的句子以将其保存以供日后使用,并在带有引文的易于组织 </div> </div> </div> </div> </div> </div> </div> <!-- comments --><div id="comments" class="comments"> <h2 id="comments-list-title" class="comments-title h5 mx-1 my-4"> <i class="iconfont icon-comment"></i> <span class="noticom"> <a href="https://chrome.nanbk.com/chrome/50274.html#respond" class="comments-title" >暂无评论</a> </span> </h2> <div class="card"> <div class="card-body"> <div id="respond_box"> <div id="respond" class="comment-respond"> <form id="commentform" class="text-sm mb-4"> <div class="visitor-avatar d-flex flex-fill mb-2"> <img class="v-avatar rounded-circle" src="https://chrome.nanbk.com/wp-content/themes/onenav/images/gravatar.jpg"> </div> <div class="comment-textarea mb-3"> <textarea name="comment" id="comment" class="form-control" placeholder="输入评论内容..." tabindex="4" cols="50" rows="3"></textarea> </div> <div id="comment-author-info" class="row row-sm"> <div class="col-12 col-md-6 mb-3"><input type="text" name="author" id="author" class="form-control" value="" size="22" placeholder="昵称" tabindex="2"/></div> <div class="col-12 col-md-6 mb-3"><input type="text" name="email" id="email" class="form-control" value="" size="22" placeholder="邮箱" tabindex="3" /></div> </div> <div class="com-footer d-flex justify-content-end flex-wrap"> <input type="hidden" id="_wpnonce" name="_wpnonce" value="de22abfdc1" /><input type="hidden" name="_wp_http_referer" value="/chrome/50274.html" /> <a rel="nofollow" id="cancel-comment-reply-link" style="display: none;" href="javascript:;" class="btn btn-light custom_btn-outline mx-2">再想想</a> <button class="btn btn-dark custom_btn-d ml-2" type="submit" id="submit">发表评论</button> <input type="hidden" name="action" value="ajax_comment"/> <input type='hidden' name='comment_post_ID' value='50274' id='comment_post_ID' /><input type='hidden' name='comment_parent' id='comment_parent' value='0' /> </div> </form> <div class="clear"></div> </div> </div> <div id="loading-comments"><span></span></div> <div class="not-comment card"><div class="card-body nothing text-center color-d">暂无评论...</div></div> </div> </div></div><!-- comments end --> </div><!-- content-layout end --> </div><!-- content-wrap end --> </main></div> <div class="main-footer footer-stick container container-fluid customize-width pt-4 pb-3 footer-type-big"> <div class="footer-inner card rounded-xl m-0"> <div class="footer-text card-body text-muted text-center text-md-left"> <div class="row my-4"> <div class="col-12 col-md-4 mb-4 mb-md-0"> <a class="footer-logo" href="https://chrome.nanbk.com" title="片刻插件"> <img src="https://chrome.nanbk.com/wp-content/uploads/2023/08/template-1.png" class="logo-light mb-3" alt="片刻插件" height="40"> <img src="https://chrome.nanbk.com/wp-content/uploads/2023/08/template.png" class="logo-dark d-none mb-3" alt="片刻插件" height="40"> </a> <div class="text-sm">本站资源均来源网络,仅供学习交流,版权归原作者所有,不代表我站观点.若侵犯到您的权利,请及时联系我们删除.<br/><a href="https://chrome.google.com/webstore" target="_blank" rel="noopener">谷歌插件官方商店</a></div> </div> <div class="col-12 col-md-5 mb-4 mb-md-0"> <p class="footer-links text-sm mb-3"><a href="https://chrome.nanbk.com/links">友链申请</a><a href="https://chrome.nanbk.com/recommend">推荐插件</a><a href="https://chrome.nanbk.com/help">使用教程</a></p> <div class="footer-social"> <a class="rounded-circle bg-light" href="mailto:isnanyg@gmail.com" target="_blank" data-toggle="tooltip" data-placement="top" title="Email" rel="external noopener nofollow"> <i class="iconfont icon-email"></i> </a> </div> </div> <div class="col-12 col-md-3 text-md-right mb-4 mb-md-0"> </div> </div> <div class="footer-copyright text-xs"> Copyright © 2024 <a href="https://chrome.nanbk.com" title="片刻插件" class="" rel="home">片刻插件</a> <a href="https://beian.miit.gov.cn/" target="_blank" class="" rel="link noopener">湘ICP备18002965号-2</a>  </div> </div> </div></div></div><!-- main-content end --><footer> <div id="footer-tools" class="d-flex flex-column"> <a href="javascript:" id="go-to-up" class="btn rounded-circle go-up m-1" rel="go-top"> <i class="iconfont icon-to-up"></i> </a> <a href="javascript:" id="switch-mode" class="btn rounded-circle switch-dark-mode m-1" data-toggle="tooltip" data-placement="left" title="夜间模式"> <i class="mode-ico iconfont icon-light"></i> </a> </div></footer><script type="text/javascript" id="rocket-browser-checker-js-after">/* <![CDATA[ */"use strict";var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var RocketBrowserCompatibilityChecker=function(){function RocketBrowserCompatibilityChecker(options){_classCallCheck(this,RocketBrowserCompatibilityChecker),this.passiveSupported=!1,this._checkPassiveOption(this),this.options=!!this.passiveSupported&&options}return _createClass(RocketBrowserCompatibilityChecker,[{key:"_checkPassiveOption",value:function(self){try{var options={get passive(){return!(self.passiveSupported=!0)}};window.addEventListener("test",null,options),window.removeEventListener("test",null,options)}catch(err){self.passiveSupported=!1}}},{key:"initRequestIdleCallback",value:function(){!1 in window&&(window.requestIdleCallback=function(cb){var start=Date.now();return setTimeout(function(){cb({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-start))}})},1)}),!1 in window&&(window.cancelIdleCallback=function(id){return clearTimeout(id)})}},{key:"isDataSaverModeOn",value:function(){return"connection"in navigator&&!0===navigator.connection.saveData}},{key:"supportsLinkPrefetch",value:function(){var elem=document.createElement("link");return elem.relList&&elem.relList.supports&&elem.relList.supports("prefetch")&&window.IntersectionObserver&&"isIntersecting"in IntersectionObserverEntry.prototype}},{key:"isSlowConnection",value:function(){return"connection"in navigator&&"effectiveType"in navigator.connection&&("2g"===navigator.connection.effectiveType||"slow-2g"===navigator.connection.effectiveType)}}]),RocketBrowserCompatibilityChecker}();/* ]]> */</script><script type="text/javascript" id="rocket-delay-js-js-after">/* <![CDATA[ */(function() {"use strict";var e=function(){function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var t=function(){function r(e,t){n(this,r),this.attrName="data-rocketlazyloadscript",this.browser=t,this.options=this.browser.options,this.triggerEvents=e,this.userEventListener=this.triggerListener.bind(this)}return e(r,[{key:"init",value:function(){this._addEventListener(this)}},{key:"reset",value:function(){this._removeEventListener(this)}},{key:"_addEventListener",value:function(t){this.triggerEvents.forEach(function(e){return window.addEventListener(e,t.userEventListener,t.options)})}},{key:"_removeEventListener",value:function(t){this.triggerEvents.forEach(function(e){return window.removeEventListener(e,t.userEventListener,t.options)})}},{key:"_loadScriptSrc",value:function(){var r=this;document.querySelectorAll("script["+this.attrName+"]").forEach(function(e){var t=e.getAttribute(r.attrName);e.setAttribute("src",t),e.removeAttribute(r.attrName)}),this.reset()}},{key:"triggerListener",value:function(){this._loadScriptSrc(),this._removeEventListener(this)}}],[{key:"run",value:function(){RocketBrowserCompatibilityChecker&&new r(["keydown","mouseover","touchmove","touchstart"],new RocketBrowserCompatibilityChecker({passive:!0})).init()}}]),r}();t.run();}());/* ]]> */</script><script type="text/javascript" id="rocket-preload-links-js-extra">/* <![CDATA[ */var RocketPreloadLinksConfig = {"excludeUris":"\/(.+\/)?feed\/?.+\/?|\/(?:.+\/)?embed\/|\/(index\\.php\/)?wp\\-json(\/.*|$)|\/wp-admin|\/logout|\/wp-login.php","usesTrailingSlash":"","imageExt":"jpg|jpeg|gif|png|tiff|bmp|webp|avif","fileExt":"jpg|jpeg|gif|png|tiff|bmp|webp|avif|php|pdf|html|htm","siteUrl":"https:\/\/chrome.nanbk.com","onHoverDelay":"100","rateThrottle":"3"};/* ]]> */</script><script type="text/javascript" id="rocket-preload-links-js-after">/* <![CDATA[ */(function() {"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e=function(){function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var t=function(){function n(e,t){i(this,n),this.browser=e,this.config=t,this.options=this.browser.options,this.prefetched=new Set,this.eventTime=null,this.threshold=1111,this.numOnHover=0}return e(n,[{key:"init",value:function(){!this.browser.supportsLinkPrefetch()||this.browser.isDataSaverModeOn()||this.browser.isSlowConnection()||(this.regex={excludeUris:RegExp(this.config.excludeUris,"i"),images:RegExp(".("+this.config.imageExt+")$","i"),fileExt:RegExp(".("+this.config.fileExt+")$","i")},this._initListeners(this))}},{key:"_initListeners",value:function(e){-1<this.config.onHoverDelay&&document.addEventListener("mouseover",e.listener.bind(e),e.listenerOptions),document.addEventListener("mousedown",e.listener.bind(e),e.listenerOptions),document.addEventListener("touchstart",e.listener.bind(e),e.listenerOptions)}},{key:"listener",value:function(e){var t=e.target.closest("a"),n=this._prepareUrl(t);if(null!==n)switch(e.type){case"mousedown":case"touchstart":this._addPrefetchLink(n);break;case"mouseover":this._earlyPrefetch(t,n,"mouseout")}}},{key:"_earlyPrefetch",value:function(t,e,n){var i=this,r=setTimeout(function(){if(r=null,0===i.numOnHover)setTimeout(function(){return i.numOnHover=0},1e3);else if(i.numOnHover>i.config.rateThrottle)return;i.numOnHover++,i._addPrefetchLink(e)},this.config.onHoverDelay);t.addEventListener(n,function e(){t.removeEventListener(n,e,{passive:!0}),null!==r&&(clearTimeout(r),r=null)},{passive:!0})}},{key:"_addPrefetchLink",value:function(i){return this.prefetched.add(i.href),new Promise(function(e,t){var n=document.createElement("link");n.rel="prefetch",n.href=i.href,n.onload=e,n.onerror=t,document.head.appendChild(n)}).catch(function(){})}},{key:"_prepareUrl",value:function(e){if(null===e||"object"!==(void 0===e?"undefined":r(e))||!1 in e||-1===["http:","https:"].indexOf(e.protocol))return null;var t=e.href.substring(0,this.config.siteUrl.length),n=this._getPathname(e.href,t),i={original:e.href,protocol:e.protocol,origin:t,pathname:n,href:t+n};return this._isLinkOk(i)?i:null}},{key:"_getPathname",value:function(e,t){var n=t?e.substring(this.config.siteUrl.length):e;return n.startsWith("/")||(n="/"+n),this._shouldAddTrailingSlash(n)?n+"/":n}},{key:"_shouldAddTrailingSlash",value:function(e){return this.config.usesTrailingSlash&&!e.endsWith("/")&&!this.regex.fileExt.test(e)}},{key:"_isLinkOk",value:function(e){return null!==e&&"object"===(void 0===e?"undefined":r(e))&&(!this.prefetched.has(e.href)&&e.origin===this.config.siteUrl&&-1===e.href.indexOf("?")&&-1===e.href.indexOf("#")&&!this.regex.excludeUris.test(e.href)&&!this.regex.images.test(e.href))}}],[{key:"run",value:function(){"undefined"!=typeof RocketPreloadLinksConfig&&new n(new RocketBrowserCompatibilityChecker({capture:!0,passive:!0}),RocketPreloadLinksConfig).init()}}]),n}();t.run();}());/* ]]> */</script><script type="text/javascript" id="wp-postviews-cache-js-extra">/* <![CDATA[ */var viewsCacheL10n = {"admin_ajax_url":"https:\/\/chrome.nanbk.com\/wp-admin\/admin-ajax.php","post_id":"50274"};/* ]]> */</script> <!-- 自定义代码 --><!-- end 自定义代码 --><script src="https://chrome.nanbk.com/wp-content/cache/min/1/0577954e9275c38be1a3b7fbf0939af0.js" data-minify="1" defer></script></body></html> <!--压缩前的大小: 56045 bytes; 压缩后的大小: 46754 bytes; 节约:16.58% --> <!-- This website is like a Rocket, isn't it? Performance optimized by WP Rocket. Learn more: https://wp-rocket.me -->