您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
With this script you can select language via hash
当前为
// ==UserScript== // @name Pastebin selector language // @version 1.0 // @description With this script you can select language via hash // @author maxeo90 // @grant none // @namespace https://gf.zukizuki.org/users/88678 // ==/UserScript== (function () { 'use strict'; var not_find = 1 $('select[name=paste_format] option').each(function () { if (not_find && ($(this).html() + ' ').toUpperCase().indexOf(document.location.hash.substr(1).toUpperCase()) + 1) { $('select[name=paste_format]').val($(this).val()).change() not_find = 0; } }) }) ();