YouTube redirect to mobile

Redirect YouTube desktop site to mobile site

Instalar este script¿?
Script recomendado por el autor

Puede que también te guste youtube profile picture hd.

Instalar este script
// ==UserScript==
// @name        YouTube redirect to mobile
// @namespace   YouTube redirect to mobile
// @match       https://www.youtube.com/*
// @run-at      document-start
// @grant       none
// @version     1.2
// @description Redirect YouTube desktop site to mobile site
// ==/UserScript==

(function() {
    'use strict';
    
    // Check if the current URL is the desktop version of YouTube
    if (window.location.hostname === 'www.youtube.com') {
        // Redirect to the mobile version
        window.location.href = 'https://m.youtube.com' + window.location.pathname + window.location.search;
    }
})();
长期地址
遇到问题?请前往 GitHub 提 Issues,或加Q群1031348184

赞助商

Fishcpy

广告

Rainyun

注册一下就行

Rainyun

一年攒够 12 元