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/49330.html" target="_blank" data-bg="url(https://cdn1.nanbk.com/file/logo89495/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/49330.html" target="_blank" class=" list-title text-md overflowClip_1"> Memrise Monitor </a> <div class="mt-1"> <div class="list-subtitle text-muted text-xs overflowClip_1"> 设置学习活动目标并查看评论预测这个非官方扩展可帮助您跟踪您在 Memrise 上的进度。如果提供以下内容: - 设置学习活动目标,并查看您在过去一天、一周、一个月和/或一年中的维护情况- 预测视图,显示您种植的物品下一次需要审查的时间- 帮助您直接复习和学习课程的链接如果您有问题或建议,您可以在论坛帖子上留言:h </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/35098.html" target="_blank" data-bg="url(https://cdn1.nanbk.com/file/logo28361/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/35098.html" target="_blank" class=" list-title text-md overflowClip_1"> Multiple URL Opener </a> <div class="mt-1"> <div class="list-subtitle text-muted text-xs overflowClip_1"> 单击一次即可打开多个 URl。还支持延迟打开 URls。单击一次即可打开多个 URl。您还可以在打开每个 url 时添加延迟。如果延迟 = 0立即打开所有网址如果延迟 > 0在提到的延迟后打开每个网址- 都是这样的人! 0.5版---------------您现在可以从打开的选项卡中获取所有链接,并将它们放在多个 </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/37739.html" target="_blank" data-bg="url(https://cdn1.nanbk.com/file/logo39693/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/37739.html" target="_blank" class=" list-title text-md overflowClip_1"> Website read progress </a> <div class="mt-1"> <div class="list-subtitle text-muted text-xs overflowClip_1"> 显示阅读进度条此扩展提供了为您遇到的每个网站页面或在线文章添加水平或圆形阅读进度条的选项。网站阅读进度扩展衡量内容长度并考虑网络文章和帖子的各种元素,包括评论、相关内容、时事通讯等,以正确估计您的整体阅读进度和剩余内容的位置。这个有用的 chrome 扩展程序为在线读者提供渐进的反馈,以了解他们在阅读特定页面或长 </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/55848.html" target="_blank" data-bg="url(https://cdn1.nanbk.com/file/logo116201/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/55848.html" target="_blank" class=" list-title text-md overflowClip_1"> YouTube™ Redirector </a> <div class="mt-1"> <div class="list-subtitle text-muted text-xs overflowClip_1"> 自动将登录用户重定向到订阅页面。将登录用户从 youtube 主页重定向到他们的订阅页面的扩展程序。要启用扩展,用户必须在 youtube.com 上。单击扩展图标将显示带有扩展选项的菜单。 </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/50728.html" target="_blank" data-bg="url(https://cdn1.nanbk.com/file/logo96284/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/50728.html" target="_blank" class=" list-title text-md overflowClip_1"> Free Internet Marketing Training </a> <div class="mt-1"> <div class="list-subtitle text-muted text-xs overflowClip_1"> 网络营销人员的网络营销培训。免费网络营销培训扩展适用于现有或有抱负的在线营销人员。此扩展程序将提供 100% 免费的网络营销培训,主要由视频组成,但也将包含一些 Power Point 幻灯片、PDF 和音频以及可能的其他形式的媒体。本地、线下和在线/互联网/联属营销人员将从本次培训中受益。这个免费的网络营销培训 </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/34154.html" target="_blank" data-bg="url(https://cdn1.nanbk.com/file/logo23271/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/34154.html" target="_blank" class=" list-title text-md overflowClip_1"> Vimeo™视频下载 – 专业版 </a> <div class="mt-1"> <div class="list-subtitle text-muted text-xs overflowClip_1"> 一键下载Vimeo™视频,包括嵌入的Vimeo™视频支持从 vimeo.com 和嵌入Vimeo™视频的网站上 下载视频(嵌入网站如:Facebook、Twitter、Product Thinking 等)。并且支持使用chatGPT生成Vimeo视频的摘要。​如何下载vimeo视频?1. vimeo.com的视 </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="c539befb25" /><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/047d78808811cb8a4fe3b23ec86b1eee.js" data-minify="1" defer></script></body></html> <!--压缩前的大小: 54788 bytes; 压缩后的大小: 45501 bytes; 节约:16.95% --> <!-- This website is like a Rocket, isn't it? Performance optimized by WP Rocket. Learn more: https://wp-rocket.me -->