Greasy Fork镜像 Control Panel

Moves the control panel to the right of the scripts listing as its own list group

目前為 2016-07-10 提交的版本,檢視 最新版本

// ==UserScript==
// @name        Greasy Fork镜像 Control Panel
// @namespace   chriskim06
// @description Moves the control panel to the right of the scripts listing as its own list group
// @include     https://gf.qytechs.cn/en/users/*
// @version     1.0.0
// @grant       none
// @locale      en
// ==/UserScript==

(function() {

  var section = document.querySelector('#control-panel');
  var panel = document.querySelector('#user-control-panel');
  var groups = document.querySelector('#script-list-option-groups');
  if (section !== null && panel !== null && groups !== null) {
    var div = document.createElement('div');
    div.className = 'list-option-group';
    div.innerHTML = 'Control Panel:';
    div.appendChild(panel.cloneNode());
    section.parentNode.removeChild(section);
    groups.insertBefore(div, groups.firstChild);
  }

})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址