plug.dj script

Remove please donate advertismenet and make the chat big again.

目前為 2015-09-16 提交的版本,檢視 最新版本

  1. // ==UserScript==
  2. // @name plug.dj script
  3. // @namespace fdsfdsfds
  4. // @description Remove please donate advertismenet and make the chat big again.
  5. // @include https://plug.dj/*
  6. // @version 0.1
  7. // @grant none
  8. // @run-at document-end
  9. // ==/UserScript==
  10.  
  11. function waitAndRegister() {
  12. setTimeout(function(){
  13. if(typeof(API) === 'undefined' || API.enabled !== true) {
  14. waitAndRegister();
  15. } else {
  16. var donatebox = document.getElementById('donate-box');
  17. var donatebox_height = donatebox.offsetHeight;
  18. var chatbox = document.getElementById('chat-messages');
  19. chatbox.className = '';
  20. donatebox.style.display = 'none';
  21. var height = parseInt(chatbox.style.height.split('px')[0]) + donatebox_height;
  22. chatbox.style.height = height + 'px';
  23. }
  24. }, 1000);
  25. };
  26. waitAndRegister();

QingJ © 2025

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