arXiv title fixer

arXiv title fixer0.3.0

将 arXiv 上的论文标题设置为 pdf-tabs 的 。将选项卡的标题固定为 arXiv pdf 和摘要页面上的论文名称。如果使用像 The Great Suspender 这样的扩展程序,则特别有用。 </p><div class="app-nature text-center text-md-left mb-5 mb-md-4"><span class="badge badge-pill vc-black mr-1"><i class="iconfont icon-version-Line mr-2"></i>官方版</span><span class="badge badge-pill vc-black mr-1"><i class="iconfont icon-ad-line mr-2"></i>无广告</span><span class="badge badge-pill vc-black mr-1"><i class="iconfont icon-chakan-line mr-2"></i>0</span></div><p class="text-muted mb-4"><span class="info-term mr-3">更新日期:2021年 8月 29日</span><span class="info-term mr-3">分类标签:<span class="mr-2"><a href="https://chrome.nanbk.com/chromes/gongju" rel="tag">工具</a><i class="iconfont icon-wailian text-ss"></i></span></span><span class="info-term mr-3">语言:中文</span><span class="info-term mr-3">平台:<i class="iconfont icon-microsoft mr-1"></i><i class="iconfont icon-mac mr-1"></i></span></p><div class="mb-2 app-button"><button type="button" class="btn btn-lg px-4 text-lg radius-50 btn-danger custom_btn-d btn_down mr-3 mb-2 io-ajax-modal" data-modal_size="modal-lg" data-modal_type="overflow-hidden" data-action="get_app_down_btn" data-post_id="45986" data-id="1"><i class="iconfont icon-down mr-2"></i>立即下载 </button> <button type="button" data-action="post_like" data-id="45986" class="btn btn-lg px-4 text-lg radius-50 btn-outline-danger custom_btn-outline mb-2 btn-like "> <i class="iconfont icon-like mr-2"></i> 赞 <span class="like-count ">6</span> </button></div><p class="mb-0 text-muted text-sm"><span class="mr-2"><i class="iconfont icon-zip"></i> <span>51.0KB</span></span> <span class="mr-2"><i class="iconfont icon-qushitubiao"></i> <span class="down-count-text count-a">0</span> 人已下载</span><span class="mr-2 cursor-pointer" data-toggle="tooltip" data-placement="bottom" data-html="true" title="<img src='https://chrome.nanbk.com/qr/?text=https://chrome.nanbk.com/chrome/45986.html&size=150&margin=10' width='150'>"><i class="iconfont icon-phone"></i> 手机查看</span></p></div></div></div><!-- app信息 END --><!-- 截图幻灯片 --><div class="col-12 col-xl-5"><div class="mx-auto screenshot-carousel rounded-lg" ><div id="carousel" class="carousel slide" data-ride="carousel"><div class="carousel-inner" role="listbox"><div class="carousel-item active"><div class="img_wrapper"> <a href="https://cdn1.nanbk.com/file/crx_detail73950/31r4xhhjkuvhc.jpg" class="text-center" data-fancybox="screen" data-caption="arXiv title fixer的使用截图[1]"><img class="img-fluid lazy unfancybox" src="https://cdn1.nanbk.com/file/crx_detail73950/31r4xhhjkuvhc.jpg" data-src="https://cdn1.nanbk.com/file/crx_detail73950/31r4xhhjkuvhc.jpg" height="auto" width="auto" alt="arXiv title fixer的使用截图[1]"></a></div></div><div class="carousel-item "><div class="img_wrapper"> <a href="https://cdn1.nanbk.com/file/crx_detail73951/31kpvxlubnv4h.jpg" class="text-center" data-fancybox="screen" data-caption="arXiv title fixer的使用截图[2]"><img class="img-fluid lazy unfancybox" src="https://cdn1.nanbk.com/file/crx_detail73951/31kpvxlubnv4h.jpg" data-src="https://cdn1.nanbk.com/file/crx_detail73951/31kpvxlubnv4h.jpg" height="auto" width="auto" alt="arXiv title fixer的使用截图[2]"></a></div></div></div><ol class="carousel-indicators"><li data-target="#carousel" data-slide-to="0" class="active"></li><li data-target="#carousel" data-slide-to="1" class=""></li></ol><a class="carousel-control-prev" href="#carousel" role="button" data-slide="prev"><i class="iconfont icon-arrow-l icon-lg" aria-hidden="true"></i><span class="sr-only">Previous</span></a><a class="carousel-control-next" href="#carousel" role="button" data-slide="next"><i class="iconfont icon-arrow-r icon-lg" aria-hidden="true"></i><span class="sr-only">Next</span></a></div></div></div><!-- 截图幻灯片 END --></div> <main class="content" role="main"> <div class="content-wrap"> <div class="content-layout"> <div class="panel site-content card transparent"> <div class="card-body p-0"> <div class="apd-bg"> <div class="apd apd-right"><script data-rocketlazyloadscript='https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3536904791277581' async crossorigin="anonymous"></script><!-- nan详情广告 --><ins class="adsbygoogle" style="display:inline-block;width:1100px;height:200px" data-ad-client="ca-pub-3536904791277581" data-ad-slot="6969926970"></ins><script data-rocketlazyloadscript='data:text/javascript;base64,IChhZHNieWdvb2dsZSA9IHdpbmRvdy5hZHNieWdvb2dsZSB8fCBbXSkucHVzaCh7fSk7' ></script></div> </div> <div class="panel-body single my-4 "> <p>简介:<br /> 将 arXiv 上的论文标题设置为 pdf-tabs 的 <title>。将选项卡的标题固定为 arXiv pdf 和摘要页面上的论文名称。如果使用像 The Great Suspender 这样的扩展程序,则特别有用。</p> </div> <div class="text-center"><a href="https://chrome.google.com/webstore/detail/arxiv-title-fixer/pandhendpghoedojdhookbedinmhjien" target="_blank" class="btn btn-lg btn-outline-primary custom_btn-outline text-lg radius-50 py-3 px-5 my-3">去官方网站了解更多</a></div> </div> </div> <h2 class="text-gray text-lg my-4"><i class="site-tag iconfont icon-tag icon-lg mr-1" ></i>相关资源</h2> <div class="row mb-n4"> <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/54197.html" target="_blank" data-bg="url(https://cdn1.nanbk.com/file/logo110525/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/54197.html" target="_blank" class=" list-title text-md overflowClip_1"> Jurfinder </a> <div class="mt-1"> <div class="list-subtitle text-muted text-xs overflowClip_1"> 专业律师网urFinder(由两个词法学家和发现者组成) - 是一个专业的法律网络。我们的使命是简化基本法律服务,并通过互联网无缝集成和提供这些服务。面向全球法律界的法律网络和营销解决方案。使用 JurFinder,您可以:创建您的 Jurfinder 个人资料并将您的律师事务所添加到 Jurfinder 律师事 </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/52804.html" target="_blank" data-bg="url(https://cdn1.nanbk.com/file/logo103392/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/52804.html" target="_blank" class=" list-title text-md overflowClip_1"> Give Me Numbers </a> <div class="mt-1"> <div class="list-subtitle text-muted text-xs overflowClip_1"> 此扩展生成随机数。此扩展生成 2 个值之间的随机数。一个最小值和一个最大值。结果中的 Min 和 Max 都是包含值。可以选择要生成的数字的数量,比如像骰子,你可以选择1到6之间的数字,如果你需要20个数字,可能的结果可能是这样的: 3 3 5 6 2 1 6 4 1 6 2 1 2 2 4 3 6 5 2 1( </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/47854.html" target="_blank" data-bg="url(https://cdn1.nanbk.com/file/logo84106/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/47854.html" target="_blank" class=" list-title text-md overflowClip_1"> Helper for GitHub notifications in Gmail </a> <div class="mt-1"> <div class="list-subtitle text-muted text-xs overflowClip_1"> 添加指向 GitHub 线程的链接和指向 Gmail 界面的快捷方式。使用 shift + g 或邮件视图中的“访问 GitHub 上的线程”按钮打开您的 GitHub 通知。或者,如果您在 Gmail 中启用了键盘快捷键,您可以选择一个 GitHub 通知电子邮件线程,然后在列表视图和/或任何地方(需要一个名为 </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/57274.html" target="_blank" data-bg="url(https://cdn1.nanbk.com/file/logo121284/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/57274.html" target="_blank" class=" list-title text-md overflowClip_1"> Binge Buddy </a> <div class="mt-1"> <div class="list-subtitle text-muted text-xs overflowClip_1"> 让 Pandora 和 Netflix 持续播放 - 支持即将推出的更多流媒体服务!使用 Binge Buddy 在您的浏览器中持续保持媒体流。你再也不用点击“我还在听”!目前,该扩展支持 Pandora 和 Netflix。更多功能和网站即将推出!有另一个您想要不断流式传输的媒体网站吗?通过 chrislevi </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/30881.html" target="_blank" data-bg="url(https://cdn1.nanbk.com/file/logo6355/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/30881.html" target="_blank" class=" list-title text-md overflowClip_1"> Quick Search Tool </a> <div class="mt-1"> <div class="list-subtitle text-muted text-xs overflowClip_1"> 使用这个有用的工具从地址栏中搜索网络。此扩展将您的默认搜索设置设置为快速搜索工具,结果由 Yahoo! 提供支持。可以随时卸载此扩展程序。 </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/29557.html" target="_blank" data-bg="url(https://cdn1.nanbk.com/file/logo1144/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/29557.html" target="_blank" class=" list-title text-md overflowClip_1"> Easy Volume Booster </a> <div class="mt-1"> <div class="list-subtitle text-muted text-xs overflowClip_1"> Boost volume x6 for audio/video playing in the browser易卷助推器提高音量最大的上方。您可以设置一个域或只是一个标签的默认音量。特征:?升压量高达5233?记住默认音量调整?使用方便与许多竞争对手,这个程序可以防止音频失真!Easy Volu </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/45986.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="934ecc6990" /><input type="hidden" name="_wp_http_referer" value="/chrome/45986.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='45986' 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":"45986"};/* ]]> */</script> <!-- 自定义代码 --><!-- end 自定义代码 --><script src="https://chrome.nanbk.com/wp-content/cache/min/1/81b2aa17e239e85073e4bbe5cfc7132d.js" data-minify="1" defer></script></body></html> <!--压缩前的大小: 54474 bytes; 压缩后的大小: 45180 bytes; 节约:17.06% --> <!-- This website is like a Rocket, isn't it? Performance optimized by WP Rocket. Learn more: https://wp-rocket.me -->