Eruda Loader

Load and setup Eruda, DOM plugin included

目前為 2020-07-18 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
Crystal-RainSlide
評價
0 0 0
版本
1.0
建立日期
2020-07-18
更新日期
2020-07-18
尺寸
1.0 KB
授權條款
未知
腳本執行於
所有網站

See https://eruda.liriliri.io/ and https://github.com/liriliri/eruda if you don't know what does this script do.

Unlike other scripts (1, 2, 3, 4), this script make use of the @require, instead of ask your browser to download Edura every time it loads. Ensures a faster and more stable loading.

This script use one space for it's -1 level indent, and the max width per line is 60 for the // ==UserScript== comment and 40 for the JavaScript code, should be suitable enough for editing on mobile. Code for default setting and custom style is included. Max log number is set to 256 to avoid performance issues.

Updating Eruda

As a side effect of using @require, if your UserScript manager don't update the @require itself, you have to manually update edura. Please refer to the document of your UserScript manager for the definite behavior, or "Should I update @require manually when using this UserScript manager".

Manually update

To manually update edura and the plugin(s), just add ?anything to the end of the @require URL, just like:

https://cdn.jsdelivr.net/npm/eruda?t=1595040000000

and save the script. for the next update, just remove the ?anything. For the later updates, just add it back, and remove, and...

Specific version

To get a specific version, just add @version to the end of the @require URL, just like:

https://cdn.jsdelivr.net/npm/[email protected]

and change the version code manually. Note that older versions support less or different default settings, you may need to write the config yourself.