电信维基网优化

电信维基网去除遮挡的二维码

  1. // ==UserScript==
  2. // @name 电信维基网优化
  3. // @name:zh 电信维基网优化
  4. // @name:zh-CN 电信维基网优化
  5. // @name:en 电信维基网优化
  6. // @namespace ouka2020
  7. // @version 1.1
  8. // @description 电信维基网去除遮挡的二维码
  9. // @description:en remove QRCode
  10. // @author Ouka2020
  11. // @include *://www.telewiki.cn/*
  12. // @grant GM_addStyle
  13. // ==/UserScript==
  14. /* jshint esversion: 6 */
  15.  
  16. (function() {
  17. 'use strict';
  18.  
  19. let main = document.getElementById("line_question");
  20. if (main){
  21. main.parentNode.style.visibility="hidden";
  22. }
  23.  
  24. let welcome = document.getElementById("questionnaire_er_code");
  25. if (welcome){
  26. welcome.style.visibility="hidden";
  27. }
  28.  
  29. let list1 = document.getElementsByClassName("list1");
  30. if (list1){
  31. for (let item of list1){
  32. if (item.style.width != ""){
  33. item.style.width = "48%";
  34. }
  35. }
  36. }
  37.  
  38. let tbl = document.getElementById("mainTab");
  39. if (tbl){
  40. tbl.parentNode.style.width="100%";
  41. }
  42.  
  43. GM_addStyle ( `
  44. #gmcc {
  45. width: 98% !important;
  46. }
  47.  
  48. #order {
  49. width: 98% !important;
  50. }
  51.  
  52. .top {
  53. width: 100% !important;
  54. }
  55.  
  56. .right {
  57. width: calc(100% - 250px) !important;
  58. }
  59.  
  60. .copyright {
  61. width: 100% !important;
  62. }
  63.  
  64. .order_top {
  65. width: 100% !important;
  66. }
  67.  
  68. .msg {
  69. width: 100% !important;
  70. }
  71. `);
  72. })();

QingJ © 2025

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