bilibili动态首页布局优化

改变哔哩哔哩动态首页布局

目前為 2022-01-19 提交的版本,檢視 最新版本

  1. // ==UserScript==
  2. // @name bilibili动态首页布局优化
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1.2
  5. // @description 改变哔哩哔哩动态首页布局
  6. // @author tuntun
  7. // @match https://t.bilibili.com/*
  8. // @icon https://www.google.com/s2/favicons?domain=bilibili.com
  9. // @grant GM_addStyle
  10. // @license MIT
  11. // ==/UserScript==
  12.  
  13. (function () {
  14. "use strict";
  15. let styleStr = `
  16. .home-content {
  17. width: 1524px !important;
  18. }
  19. .center-panel {
  20. width: 1272px !important;
  21. }
  22. .right-panel {
  23. display: none !important;
  24. }
  25. .tab-bar {
  26. margin-bottom: 0px !important;
  27. }
  28. .content {
  29. display: flex !important;
  30. flex-wrap: wrap !important;
  31. justify-content: space-between !important;
  32. width:100% !important;
  33. }
  34. .content .card[data-v-76c52272] {
  35. width: 50% !important;
  36. height: calc(100% - 8px) !important;
  37. margin-top: 8px !important;
  38. }
  39. .new-notice-bar {
  40. margin-top: 8px !important;
  41. margin-bottom: 0px !important;
  42. flex-basis:100% !important;
  43. }
  44.  
  45. .content>div{
  46. width: 632px !important;
  47. }
  48. `
  49. let body = document.body;
  50. let styleDom = document.createElement('style');
  51. styleDom.innerHTML = styleStr;
  52. body.appendChild(styleDom);
  53. })();

QingJ © 2025

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