Greasy Fork镜像 Syntax Highlighting

Add/edit scripts with syntax highlighting enabled by default

Verze ze dne 19. 12. 2015. Zobrazit nejnovější verzi.

// ==UserScript==
// @name        Greasy Fork镜像 Syntax Highlighting
// @namespace   chriskim06
// @description Add/edit scripts with syntax highlighting enabled by default
// @include     https://greasyfork.dpdns.org/en/scripts/*/versions/new
// @include     https://greasyfork.dpdns.org/en/script_versions/new
// @require     http://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js
// @version     1.0
// @grant       none
// @locale      en
// ==/UserScript==

this.$ = this.jQuery = jQuery.noConflict(true);

$(function() {
  var checkbox = $('#enable-source-editor-code');
  if (checkbox.length && !checkbox.is(':checked')) {
    checkbox.click();
  }
});
长期地址
遇到问题?请前往 GitHub 提 Issues,或加Q群1031348184

赞助商

Fishcpy

广告

Rainyun

一年攒够 12 元

云驰互联

云驰互联