Adapt to Screen

Make the computer version of the webpage use the phone

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name         Adapt to Screen
// @name:zh      适应屏幕
// @supportURL   https://github.com/rectcircle/adapt-to-screen
// @namespace    https://github.com/rectcircle/adapt-to-screen
// @license      MIT
// @version      1.0.0
// @description         Make the computer version of the webpage use the phone
// @description:zh      使电脑版网页适合手机查看
// @author       Rectcircle <[email protected]>
// @icon         
// @include      *
// @run-at       document-end
// ==/UserScript==

if (document.querySelector('meta[name="viewport"]')==null){
	var oMeta = document.createElement('meta');
	oMeta.name = "viewport";
	oMeta.content = "width=device-width, initial-scale=1.0";
	document.head.appendChild(oMeta);
}