greg1024 wrote:試了很多種方法,其他...(恕刪) 按“減少顯示類似報導”就好了,他再出現你就多按幾次,直到看不到就好。Google會出現的東西,基本上都是跟著使用者的興趣在出現,然後越出現越極端,這也代表使用者本人可能也是政治狂熱份子吧...我的手機,google的功能幾乎沒啥去動他,也沒有設定同步,我都不理他那些功能,很多功能都是被我關掉,或是清空,因為我知道會發生像樓主這種事情,而且還無法刪除,只好從設定下手,興趣啥的都故意略過不理他,就讓他們認為我是個很無聊的人,這樣就好了。我連google助理都沒在理他了,從來沒有使用這個功能過。
我也是平常習慣用Google刷新聞受夠了一堆花錢買版位的垃圾媒體在那推播帶風向還不給隱藏我是用Chrome裝Tampermonkey擴充插件然後點新增腳本 複製貼上下面的code因為Google有時會改版 腳本我拿網路上的改一改加了註釋有興趣可以自行研究↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓// ==UserScript==// @name 封鎖特定關鍵字// @namespace http://tampermonkey.net/// @version 1.0// @description 封鎖包含特定關鍵字的網站// @author downy_stick// @match https://*/*// @grant none// ==/UserScript==(function() {'use strict';// 定義要封鎖的關鍵字var blockedKeywords = ["郭正亮","蔡正元","全球大視野","中天","中時","中國時報","新聞大白話","少康戰情室","TVBS 優選頻道- T觀點","Focus全球新聞 Focus Global News","金臨天下"];// 函數:封鎖包含特定關鍵字的連結及其父元素function blockLinks() {// 選擇頁面上的所有連結var links = document.querySelectorAll('a');// 迭代每個連結links.forEach(function(link) {// 檢查連結的文字或 href 是否包含任何被封鎖的關鍵字if (blockedKeywords.some(keyword => link.innerText.includes(keyword) || (link.href && link.href.includes(keyword)))) {// 移除連結及其父元素var parent = link;while (parent !== document.body) {parent = parent[removed];parent.remove();}}});// 這邊整個槓掉因為可能會刪到太多無辜的新聞版面 改用下面那串取代/*// 選擇頁面上的所有標題 (article)var titles = document.querySelectorAll('article');// 迭代每個標題titles.forEach(function(title) {// 檢查標題的文字是否包含任何被封鎖的關鍵字if (blockedKeywords.some(keyword => title.innerText.includes(keyword))) {// 移除標題及其父元素var parent = title;while (parent !== document.body) {parent = parent[removed];parent.remove();}}});*/// 選擇頁面上的其他元素 (div)var others = document.querySelectorAll('.vr1PYe, .a7P8l, .XlKvRb, .KDoq1, .MCAGUe, .m5k28');// 迭代每個標題others.forEach(function(other) {// 檢查標題的文字是否包含任何被封鎖的關鍵字if (blockedKeywords.some(keyword => other.innerText.includes(keyword) || (other.href && other.href.includes(keyword)))) {// 移除標題及其父元素var parent = other;while (parent !== document.body) {parent = parent[removed];parent.remove();}}});}// 最初執行封鎖函數//setTimeout(blockLinks, 3000);// 在整個頁面載入後執行封鎖函數= function() {blockLinks();// 設置 MutationObserver 以動態封鎖連結,以應對頁面內容變化var observer = new MutationObserver(blockLinks);// 定義觀察器的配置var config = { childList: true, subtree: true };// 開始觀察文件observer.observe(document.body, config);};// 間隔每3秒執行一次腳本var timer = setInterval(blockLinks, 3000);})();↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑