標題標籤優化:完整的操作指南

[ad_1]

標題標籤優化:完整的操作指南

標籤對任何人都至關重要 <a href="https://www.searchenginejournal.com/5-things-every-seo-strategy-needs/210734/" data-wpel-link="external" target="_self" rel="nofollow external noopener noreferrer">SEO策略</a> 成功。</p> <p>標題標籤的丟失,重複和書寫不當都會對您的SEO結果產生負面影響。</p> <p>不要讓這種情況發生在您身上。</p> <p>本章將幫助您了解編寫和優化出色標題標籤的過程。</p> <p>什麼是標題標籤?</p> <p>的 <a href="https://www.searchenginejournal.com/important-tags-seo/156440/" data-wpel-link="external" target="_self" rel="nofollow external noopener noreferrer">標題標籤</a> 是存在於每個網頁頂部的HTML標記。它提供有關其所在頁面的主題主題的初始提示或上下文。</p> <p>標題標記在搜索引擎結果頁面(通常用作可單擊的鏈接)以及瀏覽器窗口中突出顯示。</p> <p>除了這兩個位置之外,用戶在著陸到該頁面時不會立即看到該頁面上其他網頁內容(例如,正文,圖像內容和其他方面)。</p> <p>標題標籤不是用戶在網頁上看到的視覺元素,因此有時可能會忽略標題標籤。</p> <p>同時,標題標籤本身對自然排名的影響很小。沒有一項是神奇或強大的項目-特別是在您的內容質量低下或您忽略了技術SEO的情況下。</p> <p>優化標題標籤進行搜索時,需要考慮以下八個重要方面。</p> <p>1.網站內頁面的上下文</p> <p>在編寫優化的標題標籤之前,您需要知道頁面在網站整體層次結構中的適合位置。</p> <p>主頁標題標籤將與博客文章或產品頁面大不相同。</p> <p>對於頁面很多的網站,提出不同頁面的標籤可能是具有挑戰性的。這就是為什麼映射您的網站並知道每個頁面適合您主題的內容很重要的原因。</p> <p>您進入網站的每個頁面越深,您可以並且應該就越具體。</p> <p>您可以重複單詞和短語,但是在進入您要訪問的站點的每一步中都應該更加詳細。</p> <p>具有相應上下文的網站不同級別的標題標籤的電子商務示例:</p> <ul> <li style="font-weight: 400;"> <p>主頁:The Man Registry贈送的伴郎禮物和獨特的男士禮物</li> <li style="font-weight: 400;"> <p>產品類別頁面:The Man Registry贈送給伴郎的燒烤用具和餐具禮品</li> <li style="font-weight: 400;"> <p>產品頁面:The Man Registry定製的5件燒烤用具</li> </ul> <p>2.頁面內的主題相關性</p> <p>了解頁面在網站整體層次結構中的位置的下一步是評估頁面上的內容。</p> <p>當標題標籤引入頁面主題並且在正文,圖像alt屬性,元描述,URL和頁面其他方面使用相同的重要關鍵字時,標題標籤對搜索引擎和用戶影響最大。</p> <p>如果編寫標題標籤會導致跳出率更高,並且與頁面主題的相關性更高,那麼在編寫標題標籤時忽略頁面內容是一種浪費的練習。</p> <p>您應該在title標籤中使用單詞,這些單詞也將在頁面的其他部分使用,以將主題關聯在一起。</p> <p>3.唯一標籤</p> <p>重複的標題標籤對搜索者或搜索引擎沒有幫助。</p> <p>如果您有重複的標籤,則會在 <a href="https://www.searchenginejournal.com/google-search-console-guide/209318/" data-wpel-link="external" target="_self" rel="nofollow external noopener noreferrer">Google Search Console</a> 或Bing網站管理員工具報告,您經常會發現搜索引擎選擇忽略標題標籤,而將其在頁面上找到的其他內容用於SERP中的藍色鏈接文本。</p> <p>當多個頁面具有相同標籤時,這些標籤對搜索引擎無用。</p> <p>您可以使用Google Search Console和Bing網站管理員工具中提供的數據來查找問題所在,並通過任意數量的頁面審核員和抓取工具運行自己的測試。</p> <p>如果您的網站中有重複的標籤,請向您的SEO行動計劃中添加編寫自定義標籤。</p> <p>4.儘可能使用動態選項</p> <p>如果您有一個大型網站,或者擁有大量動態數據的網站(例如電子商務網站),請找到對標籤進行語義編碼的方法。</p> <p>大多數內容管理系統和網站平台都會自動生成標題標籤。</p> <p>如果要覆蓋或自定義默認標題標籤,請與開發人員一起使用或在網站平台設置內找到方法,以添加更多詳細信息並在不同級別進行自定義。</p> <p>您可以擴展的越多,而不必手動管理數百或數千個標籤,效果越好。</p> <p>動態結構的示例可以在所有產品頁面標籤中包含一些標準文本,但是具有從資料庫填充的產品的特定名稱。</p> <p>例如,它可能是「[product_name] 括弧中的「 product_name」將是一個變數,它將使用資料庫中的實際產品名稱填充標題的該部分。</p> <p>在這種情況下,您不必手動編寫所有產品標題標籤,並且可以確保它們是唯一的。如果您擁有具有不同產品或屬性(例如不同顏色)的相同產品的情況,則還可以查看從資料庫添加更多變數的方法。</p> <p>5.搜索者意圖關鍵字的使用</p> <p>我們都可以聯繫到我們真正想要找到特定問題答案的時間,但是排名靠前的網站正在回答一個不同的問題。對於未引起注意的精彩內容也是如此。</p> <p>知道您的受眾正在搜索什麼以及他們如何搜索,對於標題標籤優化至關重要。</p> <p>如果您不知道人們在搜索時使用的單詞和短語,那麼您就有可能猜錯。</p> <p>不要跳過 <a href="https://www.searchenginejournal.com/seo-guide/complete-guide-keyword-research/" data-wpel-link="external" target="_self" rel="nofollow external noopener noreferrer">關鍵字研究</a> 或在優化標題標籤時忽略它。</p> <p>在當前基於上下文的SEO時代,您不必擔心關鍵字或短語的每個文字版本,但是您也不能忽略搜索者及其意圖。</p> <p>優化標題標籤的目標是使您使用的措詞與搜索內容相匹配,只要感知的意圖是頁面內容的重點即可。</p> <p>6. SERP中的號召性用語</p> <p>請記住,標題標籤將在搜索結果頁面(SERP)的藍色鏈接中顯示為文本。</p> <p>這是一個著名的房地產,此處顯示的信息極大地影響了搜索者決定是否點擊進入您的網站或移至下一個搜索結果的決定。</p> <p>您的重點必須放在回答搜索者的問題,需求或願望上。</p> <p>清楚了解您的頁面內容以及對您和您的訪問者而言預期的結果至關重要。</p> <p>如果您試圖在一個頁面上完成太多的業務目標,可能很難將重點足夠明確地放在行動呼籲(CTA)上。如果發現這種情況,請考慮將您的內容分成更多主題和頁面。</p> <p>就像編寫可靠的PPC文字廣告標題一樣,標題標籤需要與搜索者的意圖相匹配才能贏得他們的點擊。</p> <p>編寫標題標籤時,請記住該標籤被Google截斷為70-71個字元。用戶看不到超過該字元數的任何單詞。</p> <p>在其中輸入重要的單詞和短語。簡明扼要,直截了當,並優先考慮重要單詞,使其儘可能早地出現在標題標籤中。</p> <p>例如,您可能在首頁上的平均標題標籤為:「 The Man Registry贈送的伴郎禮物和獨特男人的禮物」。</p> <p>您可以測試更具實用性的語言,例如「在The Man Registry購買最好的伴郎和獨特的男士禮物」。</p> <p>7.不要太努力</p> <p>避免使用重複且垃圾的標題。</p> <p>抵制過度使用標題標籤的誘惑。</p> <p>搜索引擎專註於上下文-而不是原義關鍵字的使用,頻率和密度。</p> <p>選擇對頁面主題和意圖清晰的單詞,並在標題標籤中堅持使用。</p> <p>您可以使用頁面較長的表格區域來詳細說明和建立該上下文。</p> <p>危險的標題標籤的示例是:「伴郎禮物,伴郎禮物,男士禮物,獨特禮物」。</p> <p>過分重複單詞是發現麻煩的快速方法。</p> <p>8.透視標題標籤的影響</p> <p>不要過分強調標題標籤的重要性或影響力。</p> <p>儘管優化網站上的所有標題標籤可能會遇到一點麻煩,但您不能指望僅標題標籤是SEO成功的關鍵。</p> <p>整體搜索優化更為重要。</p> <p>在許多情況下,標題標籤優化只是您在SERP頂部的起點或切入點–進行細微調整,並花費大量時間專註於細微的措詞更改,以查看它們如何影響排名靠前的位置時間。</p> <p>結論</p> <p>標題標籤只是詳盡的SEO計劃的組成部分之一。</p> <p>在真空中,標題標籤不是重要的細節,但是在上下文中結合單個頁面中的所有其他頁面因素,以及與網站的所有頁面協同工作,可以成為獲得更多流量的成功因素。 。</p> <p>通過在SERP中使用CTA的直接影響來指示頁面內容,標題標籤可能會有所幫助。</p> <p>網站上的標題標籤問題,包括丟失,太短,重複,塞滿的標籤</p> <p>太多重複的單詞,或否則無濟於事,則可能表示SEO和總體用戶體驗不佳。</p> <p>因此,請確保標題標記在優化計劃中始終具有適當的位置。</p> <p>特色圖片來源:Paulo Bobita</p> </div> </div> </div> </div> </div> <aside id="secondary" class="cs-widget-area cs-sidebar__area"> <div class="cs-sidebar__inner"> <div class="widget_text widget custom_html-2 widget_custom_html"><div class="textwidget custom-html-widget"><a href="https://www.vultr.com/?ref=8945630-8H" data-wpel-link="external" target="_self" rel="nofollow external noopener noreferrer"><img src="https://wpjian.com/wp-content/uploads/2020/09/VULTR.jpg" width="100%" height="auto"></a></div></div><div class="widget widget_wpcc-2 widget_wpcc"> <div id="wpcc_widget_inner"> <span id="wpcc_original_link" class="wpcc_lang" ><a class="wpcc_link" href="https://wpjian.com/wordpress-seo/2020010229506.html" title="簡體中文" data-wpel-link="internal">簡體中文</a></span> <span id="wpcc_zh-tw_link" class="wpcc_current_lang" ><a class="wpcc_link" href="https://wpjian.com/zh-tw/wordpress-seo/2020010229506.html" title="繁体中文" data-wpel-link="internal">繁体中文</a></span> </div> </div><div class="widget powerkit_widget_posts-2 powerkit_widget_posts"> <div class="widget-body pk-widget-posts pk-widget-posts-template-default pk-widget-posts-template-list posts-per-page-6"> <ul> <li class="pk-post-item"> <article class="post-61438 post type-post status-publish format-standard has-post-thumbnail category-tips cs-entry cs-video-wrap" style=""> <div class="cs-entry__outer"> <div class="cs-entry__inner cs-entry__thumbnail cs-overlay-ratio cs-ratio-original"> <div class="cs-overlay-background cs-overlay-transparent"> <img width="150" height="97" src="https://wpjian.com/wp-content/uploads/2024/01/wordpress-theme-file-editor.webp.jpg" class="attachment-thumbnail size-thumbnail wp-post-image" alt="" decoding="async" loading="lazy" /> </div> <a class="cs-overlay-link" href="https://wpjian.com/zh-tw/tips/2024010561438.html" data-wpel-link="internal"></a> </div> <div class="cs-entry__inner cs-entry__content"> <h3 class="cs-entry__title"> <a href="https://wpjian.com/zh-tw/tips/2024010561438.html" data-wpel-link="internal">如何在沒有插件的情況下在 WordPress 中導入 CSV 文件</a> </h3> </div> </div> </article> </li> <li class="pk-post-item"> <article class="post-61410 post type-post status-publish format-standard has-post-thumbnail category-tips cs-entry cs-video-wrap" style=""> <div class="cs-entry__outer"> <div class="cs-entry__inner cs-entry__thumbnail cs-overlay-ratio cs-ratio-original"> <div class="cs-overlay-background cs-overlay-transparent"> <img width="150" height="67" src="https://wpjian.com/wp-content/uploads/2024/01/how-to-enable-maintenance-mode-in-wordpress.png" class="attachment-thumbnail size-thumbnail wp-post-image" alt="" decoding="async" loading="lazy" /> </div> <a class="cs-overlay-link" href="https://wpjian.com/zh-tw/tips/2024010561410.html" data-wpel-link="internal"></a> </div> <div class="cs-entry__inner cs-entry__content"> <h3 class="cs-entry__title"> <a href="https://wpjian.com/zh-tw/tips/2024010561410.html" data-wpel-link="internal">如何將 WordPress 置於維護模式(安全且簡單的方法)</a> </h3> </div> </div> </article> </li> <li class="pk-post-item"> <article class="post-61400 post type-post status-publish format-standard has-post-thumbnail category-tips cs-entry cs-video-wrap" style=""> <div class="cs-entry__outer"> <div class="cs-entry__inner cs-entry__thumbnail cs-overlay-ratio cs-ratio-original"> <div class="cs-overlay-background cs-overlay-transparent"> <img width="150" height="46" src="https://wpjian.com/wp-content/uploads/2024/01/how-to-add-images-708x218-1.jpg" class="attachment-thumbnail size-thumbnail wp-post-image" alt="" decoding="async" loading="lazy" /> </div> <a class="cs-overlay-link" href="https://wpjian.com/zh-tw/tips/2024010561400.html" data-wpel-link="internal"></a> </div> <div class="cs-entry__inner cs-entry__content"> <h3 class="cs-entry__title"> <a href="https://wpjian.com/zh-tw/tips/2024010561400.html" data-wpel-link="internal">如何向 WordPress 帖子添加多媒體</a> </h3> </div> </div> </article> </li> <li class="pk-post-item"> <article class="post-61390 post type-post status-publish format-standard category-tips cs-entry cs-video-wrap" style=""> <div class="cs-entry__outer"> <div class="cs-entry__inner cs-entry__content"> <h3 class="cs-entry__title"> <a href="https://wpjian.com/zh-tw/tips/2023092061390.html" data-wpel-link="internal">谷歌域名與WordPress集成:建立您的專業網站</a> </h3> </div> </div> </article> </li> <li class="pk-post-item"> <article class="post-61386 post type-post status-publish format-standard category-tips cs-entry cs-video-wrap" style=""> <div class="cs-entry__outer"> <div class="cs-entry__inner cs-entry__content"> <h3 class="cs-entry__title"> <a href="https://wpjian.com/zh-tw/tips/2023092061386.html" data-wpel-link="internal">了解WordPress社區:專訪揭示內部運作</a> </h3> </div> </div> </article> </li> <li class="pk-post-item"> <article class="post-61382 post type-post status-publish format-standard category-tips cs-entry cs-video-wrap" style=""> <div class="cs-entry__outer"> <div class="cs-entry__inner cs-entry__content"> <h3 class="cs-entry__title"> <a href="https://wpjian.com/zh-tw/tips/2023092061382.html" data-wpel-link="internal">Azure 提供的 WordPress 免費遊樂場</a> </h3> </div> </div> </article> </li> </ul> </div> </div><div class="widget_text widget custom_html-4 widget_custom_html"><div class="textwidget custom-html-widget"><script type="rocketlazyloadscript" async data-rocket-src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8713839794068339" crossorigin="anonymous"></script> <!-- block --> <ins class="adsbygoogle" style="display:inline-block;width:300px;height:250px" data-ad-client="ca-pub-8713839794068339" data-ad-slot="7982876503"></ins> <script type="rocketlazyloadscript"> (adsbygoogle = window.adsbygoogle || []).push({}); </script></div></div> </div> </aside> </div> <div class="cs-entry__post-related"> <h5 class="cs-section-heading cs-section-heading-common is-style-cnvs-block-section-heading-default halignleft "><span class="cs-section-subheadings">相關文章</span></h5> <div class="cs-entry__post-wrap"> <article class="cs-entry-default post-30489 post type-post status-publish format-standard has-post-thumbnail category-wordpress-seo cs-entry cs-video-wrap"> <div class="cs-entry__outer"> <div class="cs-entry__inner cs-entry__content"> <h2 class="cs-entry__title"><a href="https://wpjian.com/zh-tw/wordpress-seo/2020021830489.html" data-wpel-link="internal">協調SEO和PPC優化增長營銷的7種方法</a></h2> <div class="cs-entry__excerpt"> 協調SEO和PPC優化增長營銷的7種方法 薩巴搜索引擎優化(Saba SEO),20… </div> <div class="cs-entry__details "> <div class="cs-entry__details-data"> <div class="cs-entry__details-meta"> <div class="cs-entry__post-meta" ><div class="cs-meta-date">2020年2月18日</div></div> </div> </div> <div class="cs-entry__read-more"> <a href="https://wpjian.com/zh-tw/wordpress-seo/2020021830489.html" data-wpel-link="internal"> 閱讀更多 </a> </div> </div> </div> </div> </article> <article class="cs-entry-default post-8890 post type-post status-publish format-standard has-post-thumbnail category-wordpress-seo cs-entry cs-video-wrap"> <div class="cs-entry__outer"> <div class="cs-entry__inner cs-entry__content"> <h2 class="cs-entry__title"><a href="https://wpjian.com/zh-tw/wordpress-seo/201909178890.html" data-wpel-link="internal">如何釋放預先宣傳戰略的力量</a></h2> <div class="cs-entry__excerpt"> [ad_1] 內容推廣是數字營銷面臨的最大挑戰之一。 最近,即使對於流行的博客來說,… </div> <div class="cs-entry__details "> <div class="cs-entry__details-data"> <div class="cs-entry__details-meta"> <div class="cs-entry__post-meta" ><div class="cs-meta-date">2019年9月17日</div></div> </div> </div> <div class="cs-entry__read-more"> <a href="https://wpjian.com/zh-tw/wordpress-seo/201909178890.html" data-wpel-link="internal"> 閱讀更多 </a> </div> </div> </div> </div> </article> <article class="cs-entry-default post-2878 post type-post status-publish format-standard has-post-thumbnail category-wordpress-seo cs-entry cs-video-wrap"> <div class="cs-entry__outer"> <div class="cs-entry__inner cs-entry__content"> <h2 class="cs-entry__title"><a href="https://wpjian.com/zh-tw/wordpress-seo/201906042878.html" data-wpel-link="internal">如何使用資源和鏈接頁面獲取反向鏈接</a></h2> <div class="cs-entry__excerpt"> [ad_1] 鏈接建設 得到一個糟糕的說唱。這麼多,許多人試圖重新建立鏈接建設「鏈接… </div> <div class="cs-entry__details "> <div class="cs-entry__details-data"> <div class="cs-entry__details-meta"> <div class="cs-entry__post-meta" ><div class="cs-meta-date">2019年6月4日</div></div> </div> </div> <div class="cs-entry__read-more"> <a href="https://wpjian.com/zh-tw/wordpress-seo/201906042878.html" data-wpel-link="internal"> 閱讀更多 </a> </div> </div> </div> </div> </article> </div> </div> </div> </div> </main> <footer class="cs-footer cs-footer-one" data-scheme="default"> <div class="cs-container"> <div class="cs-footer__item"> <div class="cs-footer__col cs-col-left"> <div class="cs-footer__inner"> <div class="cs-logo"> <a class="cs-footer__logo cs-logo-once" href="https://wpjian.com/zh-tw/" data-wpel-link="internal"> WP建站 </a> </div> <div class="cs-footer__desc"> <p class="copyright">© 2019 - 2022 by <a href="https://wpjian.com/zh-tw/" data-wpel-link="internal">WPJIAN</a>. </p> </div> </div> </div> <div class="cs-footer__col cs-col-center"> </div> <div class="cs-footer__col cs-col-right"> <div class="cs-footer-social-links"> </div> </div> </div> </div> </footer> </div> </div> <script type="rocketlazyloadscript" id="rocket-browser-checker-js-after"> "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 id="rocket-preload-links-js-extra"> var RocketPreloadLinksConfig = {"excludeUris":"\/page\/|\/(?:.+\/)?feed(?:\/(?:.+\/?)?)?$|\/(?:.+\/)?embed\/|\/(index\\.php\/)?(.*)wp\\-json(\/.*|$)|\/refer\/|\/go\/|\/recommend\/|\/recommends\/","usesTrailingSlash":"","imageExt":"jpg|jpeg|gif|png|tiff|bmp|webp|avif|pdf|doc|docx|xls|xlsx|php","fileExt":"jpg|jpeg|gif|png|tiff|bmp|webp|avif|pdf|doc|docx|xls|xlsx|php|html|htm","siteUrl":"https:\/\/wpjian.com","onHoverDelay":"100","rateThrottle":"3"}; </script> <script type="rocketlazyloadscript" id="rocket-preload-links-js-after"> (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="rocketlazyloadscript" data-rocket-src="https://wpjian.com/wp-includes/js/imagesloaded.min.js?ver=5.0.0" id="imagesloaded-js" defer></script> <script type="rocketlazyloadscript" data-rocket-src="https://wpjian.com/wp-content/themes/networker/assets/vendor/flickity.pkgd.min.js?ver=1.1.4" id="flickity-js" defer></script> <script id="csco-scripts-js-extra"> var csLocalize = {"siteSchemeMode":"light","siteSchemeToogle":"1"}; var csco_mega_menu = {"rest_url":"https:\/\/wpjian.com\/wp-json\/csco\/v1\/menu-posts"}; </script> <script type="rocketlazyloadscript" data-rocket-src="https://wpjian.com/wp-content/themes/networker/assets/js/scripts.js?ver=1.1.4" id="csco-scripts-js" defer></script> </body> </html> <!-- WP Chinese Conversion Full Page Converted. Target Lang: zh-tw --> <!-- This website is like a Rocket, isn't it? Performance optimized by WP Rocket. Learn more: https://wp-rocket.me -->