amp-web-push-widget button.amp-subscribe { display: inline-flex; align-items: center; border-radius: 5px; border: 0; box-sizing: border-box; margin: 0; padding: 10px 15px; cursor: pointer; outline: none; font-size: 15px; font-weight: 500; background: #4A90E2; margin-top: 7px; color: white; box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.5); -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } .amp-logo amp-img{width:190px} .amp-menu input{display:none;}.amp-menu li.menu-item-has-children ul{display:none;}.amp-menu li{position:relative;display:block;}.amp-menu > li a{display:block;} /* Inline styles */ img.acss139cf{background-color:#0866FF;}img.acss6ea51{background-color:#12AF0A;}img.acss43e08{background-color:#888990;}img.acss69ec8{background-color:#1A1A1A;}img.acssc8f88{background-color:#0166ff;}div.acss138d7{clear:both;}div.acssf5b84{--relposth-columns:3;--relposth-columns_m:2;--relposth-columns_t:2;}div.acss8ffbb{aspect-ratio:1/1;background:transparent url(https://pc3mag.com/wp-content/uploads/2019/12/PhotoGrid_1575365799573_compress69-150x150.jpg) no-repeat scroll 0% 0%;height:150px;max-width:150px;}div.acss6bdea{color:#333333;font-family:Arial;font-size:12px;height:75px;}div.acssd8515{aspect-ratio:1/1;background:transparent url(https://pc3mag.com/wp-content/uploads/2022/10/Acer-全民開倉-p1-150x150.jpg) no-repeat scroll 0% 0%;height:150px;max-width:150px;}div.acss7adde{aspect-ratio:1/1;background:transparent url(https://pc3mag.com/wp-content/uploads/2017/12/maxresdefault-4-150x150.jpg) no-repeat scroll 0% 0%;height:150px;max-width:150px;}div.acssaacfa{aspect-ratio:1/1;background:transparent url(https://pc3mag.com/wp-content/uploads/2017/08/Google-Assistant-150x150.png) no-repeat scroll 0% 0%;height:150px;max-width:150px;} .ai-align-left * {margin: 0 auto 0 0; text-align: left;} .ai-align-right * {margin: 0 0 0 auto; text-align: right;} .ai-center * {margin: 0 auto; text-align: center; } .icon-widgets:before {content: "\e1bd";}.icon-search:before {content: "\e8b6";}.icon-shopping-cart:after {content: "\e8cc";}
即時新聞

瀏覽網站後回不到上一頁?Chrome 現在有治本方法!

平時上網的時候總會遇上一些會自動重新導向 URL 的網站,這些網站有一個很大的問題,就是不停按上一頁按鈕也不能回到之前的瀏覽的網頁,儘管 Chrome 用戶可以按緊上一頁按鈕離開,但這只是治標不治本的方案。

Google 稱呼瀏覽網頁時不能回到上一頁的問題做「history manipulation」,除了插入某頁面之外,有問題的網站可能會重新導向 10 多個網站 URL,將瀏覽用戶困住,防止他們按「上一頁」離開網站。

[the_ad_placement id=”ad2″]

對於這個問題,Google 工程師決定為 Chrome Chrome 尋求解決方案(1 , 2 , 3),可以防止網站騎劫瀏覽紀錄,包括重新導向 URL 令「上一頁」按鈕返回網站。在最近的 Chromium 的源代碼,有一項可以打擊有問題的網站騎劫瀏覽紀錄,Chrome 會偵測網站瀏覽紀錄是由用戶觸發或是網站自動觸發。

[the_ad_placement id=”ad2″]

目前這個功能依然在開發階段,或會在 2019 年第 1 季在 chrome://flag 開放試用,目前開發階段只能標記有問題的瀏覽紀錄,Chrome 團隊可以藉此分析有問題的網站,令未來有關功能可以真正阻擋網站去騎劫瀏覽紀錄。

[the_ad_placement id=”ad2″]

PLAN

曾是過去 PC3 雜誌記者,現時是 PC3 網站的編輯,渡過接近 10 年科技媒體生涯,至今依然為大家提供科技和生活資訊