// ==UserScript== // @name 前台编辑文章入口 For Z-Blog // @namespace wdssmq // @include http://*/post/*.html // @version 1 // @grant none // @description 一定程度上防止稿件盗用 // @downloadURL none // ==/UserScript== $(function () { $('.js-edt').each(function () { var id = $(this).data('id'); $(this).html('[编辑]'); }); if($('#edtDateTime').length === 1) $('#edtDateTime').datetimepicker('setDate', (new Date())); });