Changed Wikipedia to desktop webpage in Google search r###lts

Changed Wikipedia to desktop webpage in Google search r###lts.


Install this script?
// ==UserScript==// @name         修正Google搜尋中的維基百科為桌面版網頁// @name:en      Changed Wikipedia to desktop webpage in Google search r###lts// @namespace    http://tampermonkey.net/// @version      1.1// @description  修正Google搜尋中的維基百科為桌面版網頁。// @description:en  Changed Wikipedia to desktop webpage in Google search r###lts.// @author       vincent8914// @match        https://www.google.com/search*// @match        https://www.google.com.tw/search*// @grant        none// @license      MIT// ==/UserScript==(function() {const regexp = /m.wikipedia.org/g;var searchR###lts = document.querySelectorAll('.yuRUbf');for(let i = 0; i < searchR###lts.length; i++){if(regexp.test(searchR###lts[i].innerHTML)){searchR###lts[i].innerHTML = searchR###lts[i].innerHTML.replace(regexp, 'wikipedia.org');}}})();