您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
让我们给B站界面变得现代一些吧
当前为
// ==UserScript== // @name bilbili界面美化 // @description 让我们给B站界面变得现代一些吧 // @namespace none // @version 1.0.2 // @author gogofishman // @license MIT // @match *://*.bilibili.com/video/* // @run-at document-start // @grant GM_addStyle // @grant unsafeWindow // ==/UserScript== /** *** */ (() => { // webpackBootstrap /** *** */ /** *** */ const __webpack_modules__ = ({ /***/ 257: /***/ ((module, __webpack_exports__, __webpack_require__) => { /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__), /* harmony export */ }); /* harmony import */ const _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(81); /* harmony import */ const _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /* #__PURE__ */__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ const _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(645); /* harmony import */ const _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /* #__PURE__ */__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__); // Imports const ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default())); // Module ___CSS_LOADER_EXPORT___.push([module.id, `body { overflow-x: hidden !important; } .video-container-v1 .left-container { display: grid; position: absolute !important; box-sizing: border-box; left: 0; width: 100%; padding-left: 20px; padding-right: 20px; background-color: white; z-index: 0 !important; } .bpx-player-container { box-shadow: 0 0 0 !important; -webkit-box-shadow: 0 0 0 !important; } #playerWrap { order: -1; background-color: black; height: calc(100vh - 108px - 64px) !important; min-height: 480px !important; z-index: 99 !important; } #bilibili-player { width: 100% !important; height: 100% !important; } #bilibili-player-placeholder { width: 150% !important; left: -20px !important; } #bilibili-player-placeholder-bottom { display: none !important; } #bottomDiv { display: flex; justify-content: center; }`, '']); // Exports /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___); /***/ }), /***/ 818: /***/ ((module, __webpack_exports__, __webpack_require__) => { /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__), /* harmony export */ }); /* harmony import */ const _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(81); /* harmony import */ const _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /* #__PURE__ */__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ const _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(645); /* harmony import */ const _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /* #__PURE__ */__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__); // Imports const ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default())); // Module ___CSS_LOADER_EXPORT___.push([module.id, `.video-container-v1 .right-container { z-index: -20; margin-left: 60px !important; } /*去广告*/ .video-card-ad-small { display: none !important; } #slide_ad{ display: none!important; }`, '']); // Exports /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___); /***/ }), /***/ 504: /***/ ((module, __webpack_exports__, __webpack_require__) => { /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__), /* harmony export */ }); /* harmony import */ const _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(81); /* harmony import */ const _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /* #__PURE__ */__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ const _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(645); /* harmony import */ const _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /* #__PURE__ */__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__); // Imports const ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default())); // Module ___CSS_LOADER_EXPORT___.push([module.id, `.mini-header { background-color: black !important; } .bili-header span { color: white !important; } .mini-header .right-entry .right-entry__outside .right-entry-icon { color: white !important; } .download-entry { display: none !important; } .mini-header__arrow { color: white !important; } .channel-panel__item span { color: inherit !important; }`, '']); // Exports /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___); /***/ }), /***/ 208: /***/ ((module, __webpack_exports__, __webpack_require__) => { /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__), /* harmony export */ }); /* harmony import */ const _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(81); /* harmony import */ const _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /* #__PURE__ */__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ const _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(645); /* harmony import */ const _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /* #__PURE__ */__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__); // Imports const ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default())); // Module ___CSS_LOADER_EXPORT___.push([module.id, `.video-title { font-size: 23px !important; color: black !important; font-weight: bold !important; } #leftDiv { width: 70vw; max-width: 1550px; } /*去广告*/ .video-container-v1 #bannerAd { display: none !important; } .reply-header .reply-notice { display: none !important; }`, '']); // Exports /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___); /***/ }), /***/ 746: /***/ ((module, __webpack_exports__, __webpack_require__) => { /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__), /* harmony export */ }); /* harmony import */ const _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(81); /* harmony import */ const _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /* #__PURE__ */__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ const _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(645); /* harmony import */ const _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /* #__PURE__ */__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__); // Imports const ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default())); // Module ___CSS_LOADER_EXPORT___.push([module.id, `.bpx-player-sending-area:before { display: none !important; } .bpx-player-sending-area { position: absolute; display: flex; width: 100%; justify-content: center; opacity: 0; transition: opacity 0.5s; } .bpx-player-sending-bar { width: 50vw !important; background: rgba(20, 20, 20, 0.7) !important; box-shadow: 0 2px 8px 5px rgba(20, 20, 20, 0.5) !important; padding-left: 50px !important; padding-right: 80px !important; border-radius: 0 0 25px 25px !important; z-index: 9999 !important; } .bpx-player-video-info { color: rgb(230, 230, 230) !important; } #sendingHover { position: absolute; height: 25%; width: 100%; } #sendingHover:hover .bpx-player-sending-area { opacity: 1 !important; } /*变色*/ .bpx-player-video-inputbar { background: rgba(20, 20, 20, 0.9) !important; border: 1.5px solid rgba(251, 114, 153, 0.8) !important; border-radius: 10px !important; } .bpx-player-sending-bar .bpx-player-video-inputbar .bpx-player-dm-input { color: rgb(251, 114, 153) !important; } .bui-button .bui-area { background-color: rgba(251, 114, 153, 0.8) !important; } .bpx-player-control-bottom-center .bpx-player-sending-bar { background: rgba(20, 20, 20, 0) !important; box-shadow: 0 0 0 0 !important; }`, '']); // Exports /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___); /***/ }), /***/ 645: /***/ ((module) => { /* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ module.exports = function (cssWithMappingToString) { const list = []; // return the list of modules as css string list.toString = function toString() { return this.map((item) => { let content = ''; const needLayer = typeof item[5] !== 'undefined'; if (item[4]) { content += '@supports ('.concat(item[4], ') {'); } if (item[2]) { content += '@media '.concat(item[2], ' {'); } if (needLayer) { content += '@layer'.concat(item[5].length > 0 ? ' '.concat(item[5]) : '', ' {'); } content += cssWithMappingToString(item); if (needLayer) { content += '}'; } if (item[2]) { content += '}'; } if (item[4]) { content += '}'; } return content; }).join(''); }; // import a list of modules into the list list.i = function i(modules, media, dedupe, supports, layer) { if (typeof modules === 'string') { modules = [[null, modules, undefined]]; } const alreadyImportedModules = {}; if (dedupe) { for (let k = 0; k < this.length; k++) { const id = this[k][0]; if (id != null) { alreadyImportedModules[id] = true; } } } for (let _k = 0; _k < modules.length; _k++) { const item = [].concat(modules[_k]); if (dedupe && alreadyImportedModules[item[0]]) { continue; } if (typeof layer !== 'undefined') { if (typeof item[5] === 'undefined') { item[5] = layer; } else { item[1] = '@layer'.concat(item[5].length > 0 ? ' '.concat(item[5]) : '', ' {').concat(item[1], '}'); item[5] = layer; } } if (media) { if (!item[2]) { item[2] = media; } else { item[1] = '@media '.concat(item[2], ' {').concat(item[1], '}'); item[2] = media; } } if (supports) { if (!item[4]) { item[4] = ''.concat(supports); } else { item[1] = '@supports ('.concat(item[4], ') {').concat(item[1], '}'); item[4] = supports; } } list.push(item); } }; return list; }; /***/ }), /***/ 81: /***/ ((module) => { module.exports = function (i) { return i[1]; }; /***/ }), /***/ 379: /***/ ((module) => { const stylesInDOM = []; function getIndexByIdentifier(identifier) { let result = -1; for (let i = 0; i < stylesInDOM.length; i++) { if (stylesInDOM[i].identifier === identifier) { result = i; break; } } return result; } function modulesToDom(list, options) { const idCountMap = {}; const identifiers = []; for (let i = 0; i < list.length; i++) { const item = list[i]; const id = options.base ? item[0] + options.base : item[0]; const count = idCountMap[id] || 0; const identifier = ''.concat(id, ' ').concat(count); idCountMap[id] = count + 1; const indexByIdentifier = getIndexByIdentifier(identifier); const obj = { css: item[1], media: item[2], sourceMap: item[3], supports: item[4], layer: item[5], }; if (indexByIdentifier !== -1) { stylesInDOM[indexByIdentifier].references++; stylesInDOM[indexByIdentifier].updater(obj); } else { const updater = addElementStyle(obj, options); options.byIndex = i; stylesInDOM.splice(i, 0, { identifier, updater, references: 1, }); } identifiers.push(identifier); } return identifiers; } function addElementStyle(obj, options) { const api = options.domAPI(options); api.update(obj); const updater = function updater(newObj) { if (newObj) { if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) { return; } api.update(obj = newObj); } else { api.remove(); } }; return updater; } module.exports = function (list, options) { options = options || {}; list = list || []; let lastIdentifiers = modulesToDom(list, options); return function update(newList) { newList = newList || []; for (let i = 0; i < lastIdentifiers.length; i++) { const identifier = lastIdentifiers[i]; const index = getIndexByIdentifier(identifier); stylesInDOM[index].references--; } const newLastIdentifiers = modulesToDom(newList, options); for (let _i = 0; _i < lastIdentifiers.length; _i++) { const _identifier = lastIdentifiers[_i]; const _index = getIndexByIdentifier(_identifier); if (stylesInDOM[_index].references === 0) { stylesInDOM[_index].updater(); stylesInDOM.splice(_index, 1); } } lastIdentifiers = newLastIdentifiers; }; }; /***/ }), /***/ 569: /***/ ((module) => { const memo = {}; /* istanbul ignore next */ function getTarget(target) { if (typeof memo[target] === 'undefined') { let styleTarget = document.querySelector(target); // Special case to return head of iframe instead of iframe itself if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) { try { // This will throw an exception if access to iframe is blocked // due to cross-origin restrictions styleTarget = styleTarget.contentDocument.head; } catch (e) { // istanbul ignore next styleTarget = null; } } memo[target] = styleTarget; } return memo[target]; } /* istanbul ignore next */ function insertBySelector(insert, style) { const target = getTarget(insert); if (!target) { throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid."); } target.appendChild(style); } module.exports = insertBySelector; /***/ }), /***/ 216: /***/ ((module) => { /* istanbul ignore next */ function insertStyleElement(options) { const element = document.createElement('style'); options.setAttributes(element, options.attributes); options.insert(element, options.options); return element; } module.exports = insertStyleElement; /***/ }), /***/ 565: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { /* istanbul ignore next */ function setAttributesWithoutAttributes(styleElement) { const nonce = true ? __webpack_require__.nc : 0; if (nonce) { styleElement.setAttribute('nonce', nonce); } } module.exports = setAttributesWithoutAttributes; /***/ }), /***/ 795: /***/ ((module) => { /* istanbul ignore next */ function apply(styleElement, options, obj) { let css = ''; if (obj.supports) { css += '@supports ('.concat(obj.supports, ') {'); } if (obj.media) { css += '@media '.concat(obj.media, ' {'); } const needLayer = typeof obj.layer !== 'undefined'; if (needLayer) { css += '@layer'.concat(obj.layer.length > 0 ? ' '.concat(obj.layer) : '', ' {'); } css += obj.css; if (needLayer) { css += '}'; } if (obj.media) { css += '}'; } if (obj.supports) { css += '}'; } const { sourceMap } = obj; if (sourceMap && typeof btoa !== 'undefined') { css += '\n/*# sourceMappingURL=data:application/json;base64,'.concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), ' */'); } // For old IE /* istanbul ignore if */ options.styleTagTransform(css, styleElement, options.options); } function removeStyleElement(styleElement) { // istanbul ignore if if (styleElement.parentNode === null) { return false; } styleElement.parentNode.removeChild(styleElement); } /* istanbul ignore next */ function domAPI(options) { if (typeof document === 'undefined') { return { update: function update() {}, remove: function remove() {}, }; } const styleElement = options.insertStyleElement(options); return { update: function update(obj) { apply(styleElement, options, obj); }, remove: function remove() { removeStyleElement(styleElement); }, }; } module.exports = domAPI; /***/ }), /***/ 589: /***/ ((module) => { /* istanbul ignore next */ function styleTagTransform(css, styleElement) { if (styleElement.styleSheet) { styleElement.styleSheet.cssText = css; } else { while (styleElement.firstChild) { styleElement.removeChild(styleElement.firstChild); } styleElement.appendChild(document.createTextNode(css)); } } module.exports = styleTagTransform; /***/ }), /** *** */ }); /** ********************************************************************* */ /** *** */ // The module cache /** *** */ const __webpack_module_cache__ = {}; /** *** */ /** *** */ // The require function /** *** */ function __webpack_require__(moduleId) { /** *** */ // Check if module is in cache /** *** */ const cachedModule = __webpack_module_cache__[moduleId]; /** *** */ if (cachedModule !== undefined) { /** *** */ return cachedModule.exports; /** *** */ } /** *** */ // Create a new module (and put it into the cache) /** *** */ const module = __webpack_module_cache__[moduleId] = { /** *** */ id: moduleId, /** *** */ // no module.loaded needed /** *** */ exports: {}, /** *** */ }; /** *** */ /** *** */ // Execute the module function /** *** */ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); /** *** */ /** *** */ // Return the exports of the module /** *** */ return module.exports; /** *** */ } /** *** */ /** ********************************************************************* */ /** *** */ /* webpack/runtime/compat get default export */ /** *** */ (() => { /** *** */ // getDefaultExport function for compatibility with non-harmony modules /** *** */ __webpack_require__.n = (module) => { /** *** */ const getter = module && module.__esModule /** *** */ ? () => (module.default) /** *** */ : () => (module); /** *** */ __webpack_require__.d(getter, { a: getter }); /** *** */ return getter; /** *** */ }; /** *** */ })(); /** *** */ /** *** */ /* webpack/runtime/define property getters */ /** *** */ (() => { /** *** */ // define getter functions for harmony exports /** *** */ __webpack_require__.d = (exports, definition) => { /** *** */ for (const key in definition) { /** *** */ if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { /** *** */ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); /** *** */ } /** *** */ } /** *** */ }; /** *** */ })(); /** *** */ /** *** */ /* webpack/runtime/hasOwnProperty shorthand */ /** *** */ (() => { /** *** */ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)); /** *** */ })(); /** *** */ /** *** */ /* webpack/runtime/nonce */ /** *** */ (() => { /** *** */ __webpack_require__.nc = undefined; /** *** */ })(); /** *** */ /** ********************************************************************* */ const __webpack_exports__ = {}; // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk. (() => { // CONCATENATED MODULE: ./src/func.js function Print(text) { console.log(`[B站美化] - ${text}`); } function sleep(ms) { return new Promise((resolve) => setTimeout(resolve, ms)); } /** * @param {function} element 返回指定元素的函数 * @param {function} action 执行动作,参数为element得到的元素,默认remove * @param {number} num action执行次数,默认1次,-1为不限定次数直到超时才停止 * @param {number} step 每次检查间隔时间 ms * @param {number} timeOut 超时时间 ms * @returns {Promise<void>} * @constructor */ async function WaitUntilAction( element, action = (element) => element.remove(), num = 1, step = 50, timeOut = 1000 * 10, ) { let count = 0; let _num = 0; const outCount = timeOut / step; try { while (count <= outCount) { count++; await sleep(step); const _c = element(); if (_c) { // 执行动作 action(_c); if (_num < num) { break; } _num++; } } } catch (e) { console.log('WaitUntilAction错误:', e); } } // CONCATENATED MODULE: ./src/script.js function script() { unsafeWindow.originSetSize = () => {}; unsafeWindow.setSize = () => {}; WaitUntilAction( () => document.getElementsByClassName( 'left-container scroll-sticky', ).length > 0, () => {}, ) .then(() => { const leftDiv = document.createElement('div'); leftDiv.id = 'leftDiv'; leftDiv.appendChild(document.getElementById('viewbox_report')); leftDiv.appendChild(document.getElementById('arc_toolbar_report')); leftDiv.appendChild( document.getElementsByClassName('left-container-under-player')[0], ); const bottomDiv = document.createElement('div'); bottomDiv.id = 'bottomDiv'; bottomDiv.appendChild(leftDiv); const right = document.getElementsByClassName( 'right-container is-in-large-ab', )[0]; bottomDiv.appendChild(right); right.style.zIndex = 1; const parentDiv = document.getElementsByClassName( 'left-container scroll-sticky', )[0]; parentDiv.appendChild(bottomDiv); const sendingHover = document.createElement('div'); sendingHover.id = 'sendingHover'; sendingHover.appendChild( document.getElementsByClassName('bpx-player-sending-area')[0], ); document.querySelector( 'div[class="bpx-player-primary-area"][aria-label="哔哩哔哩播放器"]', ) .appendChild(sendingHover); }); } // EXTERNAL MODULE: ./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js const injectStylesIntoStyleTag = __webpack_require__(379); const injectStylesIntoStyleTag_default = /* #__PURE__ */__webpack_require__.n(injectStylesIntoStyleTag); // EXTERNAL MODULE: ./node_modules/style-loader/dist/runtime/styleDomAPI.js const styleDomAPI = __webpack_require__(795); const styleDomAPI_default = /* #__PURE__ */__webpack_require__.n(styleDomAPI); // EXTERNAL MODULE: ./node_modules/style-loader/dist/runtime/insertBySelector.js const insertBySelector = __webpack_require__(569); const insertBySelector_default = /* #__PURE__ */__webpack_require__.n(insertBySelector); // EXTERNAL MODULE: ./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js const setAttributesWithoutAttributes = __webpack_require__(565); const setAttributesWithoutAttributes_default = /* #__PURE__ */__webpack_require__.n(setAttributesWithoutAttributes); // EXTERNAL MODULE: ./node_modules/style-loader/dist/runtime/insertStyleElement.js const insertStyleElement = __webpack_require__(216); const insertStyleElement_default = /* #__PURE__ */__webpack_require__.n(insertStyleElement); // EXTERNAL MODULE: ./node_modules/style-loader/dist/runtime/styleTagTransform.js const styleTagTransform = __webpack_require__(589); const styleTagTransform_default = /* #__PURE__ */__webpack_require__.n(styleTagTransform); // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./src/css/主界面.css const _ = __webpack_require__(257); // CONCATENATED MODULE: ./src/css/主界面.css const options = {}; options.styleTagTransform = (styleTagTransform_default()); options.setAttributes = (setAttributesWithoutAttributes_default()); options.insert = insertBySelector_default().bind(null, 'head'); options.domAPI = (styleDomAPI_default()); options.insertStyleElement = (insertStyleElement_default()); const update = injectStylesIntoStyleTag_default()(_/* default */.Z, options); /* harmony default export */ const css_ = (_/* default */.Z && _/* default */.Z.locals ? _/* default */.Z.locals : undefined); // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./src/css/弹幕栏.css const cjs_js_src_css_ = __webpack_require__(746); // CONCATENATED MODULE: ./src/css/弹幕栏.css const _options = {}; _options.styleTagTransform = (styleTagTransform_default()); _options.setAttributes = (setAttributesWithoutAttributes_default()); _options.insert = insertBySelector_default().bind(null, 'head'); _options.domAPI = (styleDomAPI_default()); _options.insertStyleElement = (insertStyleElement_default()); const _update = injectStylesIntoStyleTag_default()(cjs_js_src_css_/* default */.Z, _options); /* harmony default export */ const src_css_ = (cjs_js_src_css_/* default */.Z && cjs_js_src_css_/* default */.Z.locals ? cjs_js_src_css_/* default */.Z.locals : undefined); // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./src/css/右.css const dist_cjs_js_src_css_ = __webpack_require__(818); // CONCATENATED MODULE: ./src/css/右.css const css_options = {}; css_options.styleTagTransform = (styleTagTransform_default()); css_options.setAttributes = (setAttributesWithoutAttributes_default()); css_options.insert = insertBySelector_default().bind(null, 'head'); css_options.domAPI = (styleDomAPI_default()); css_options.insertStyleElement = (insertStyleElement_default()); const css_update = injectStylesIntoStyleTag_default()(dist_cjs_js_src_css_/* default */.Z, css_options); /* harmony default export */ const src_css_0 = (dist_cjs_js_src_css_/* default */.Z && dist_cjs_js_src_css_/* default */.Z.locals ? dist_cjs_js_src_css_/* default */.Z.locals : undefined); // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./src/css/导航栏.css const css_loader_dist_cjs_js_src_css_ = __webpack_require__(504); // CONCATENATED MODULE: ./src/css/导航栏.css const src_css_options = {}; src_css_options.styleTagTransform = (styleTagTransform_default()); src_css_options.setAttributes = (setAttributesWithoutAttributes_default()); src_css_options.insert = insertBySelector_default().bind(null, 'head'); src_css_options.domAPI = (styleDomAPI_default()); src_css_options.insertStyleElement = (insertStyleElement_default()); const src_css_update = injectStylesIntoStyleTag_default()(css_loader_dist_cjs_js_src_css_/* default */.Z, src_css_options); /* harmony default export */ const src_css_1 = (css_loader_dist_cjs_js_src_css_/* default */.Z && css_loader_dist_cjs_js_src_css_/* default */.Z.locals ? css_loader_dist_cjs_js_src_css_/* default */.Z.locals : undefined); // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./src/css/左.css const node_modules_css_loader_dist_cjs_js_src_css_ = __webpack_require__(208); // CONCATENATED MODULE: ./src/css/左.css const src_css_options_0 = {}; src_css_options_0.styleTagTransform = (styleTagTransform_default()); src_css_options_0.setAttributes = (setAttributesWithoutAttributes_default()); src_css_options_0.insert = insertBySelector_default().bind(null, 'head'); src_css_options_0.domAPI = (styleDomAPI_default()); src_css_options_0.insertStyleElement = (insertStyleElement_default()); const src_css_update_0 = injectStylesIntoStyleTag_default()(node_modules_css_loader_dist_cjs_js_src_css_/* default */.Z, src_css_options_0); /* harmony default export */ const src_css_2 = (node_modules_css_loader_dist_cjs_js_src_css_/* default */.Z && node_modules_css_loader_dist_cjs_js_src_css_/* default */.Z.locals ? node_modules_css_loader_dist_cjs_js_src_css_/* default */.Z.locals : undefined); // CONCATENATED MODULE: ./src/index.js // ==UserScript== // @name bilbili界面美化 // @namespace none // @version 1.0.2 // @author gogofishman // @license MIT // @match *://*.bilibili.com/video/* // @run-at document-start // @grant GM_addStyle // @grant unsafeWindow // ==/UserScript== // 不加载iframe if (window === window.parent) { Print('加载脚本'); window.onload = script; } })(); /** *** */ })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址