🎉 欢迎访问GreasyFork.Org 镜像站!本镜像站由公众号【爱吃馍】搭建,用于分享脚本。联系邮箱📮

Greasy fork 爱吃馍镜像

Greasy Fork is available in English.

📂 缓存分发状态(共享加速已生效)
🕒 页面同步时间:2026/01/29 05:59:41
🔄 下次更新时间:2026/01/29 06:59:41
手动刷新缓存

Printable Loop

Make Loop Pages printable

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

// ==UserScript==
// @name         Printable Loop
// @namespace    http://tampermonkey.net/
// @version      0.2
// @description  Make Loop Pages printable
// @author       Lars Corneliussen
// @match        https://loop.microsoft.com/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=microsoft.com
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    function addGlobalPrintStyle(css) {
        var head, style;
        head = document.getElementsByTagName('head')[0];
        if (!head) { return; }
        style = document.createElement('style');
        style.type = 'text/css';
        style.innerHTML = "@media only print {" + css + "}";
        head.appendChild(style);
    }

    addGlobalPrintStyle(".fui-Toolbar { display: none; }");
    addGlobalPrintStyle("#Sidebar { display: none; }");

    addGlobalPrintStyle("button { display: none!important; }");
    addGlobalPrintStyle("main>div:first-child { display: none; }");
    addGlobalPrintStyle(".___106fe2p { display: block; }");
    addGlobalPrintStyle("main { zoom: 0.8; position: inherit!important; }");
    addGlobalPrintStyle(".f10pi13n {position: inherit!important; }");
    addGlobalPrintStyle(".scriptor-pageFrame { max-width: 100%!important; margin: 0 0 0 0!important; }");
    addGlobalPrintStyle(".scriptor-canvas { overflow:visible!important; }");
    addGlobalPrintStyle("main { overflow:visible!important; }");
    addGlobalPrintStyle(".fui-FluentProvider>div:first-child>div:first-child { overflow-x:visible!important; }");
    addGlobalPrintStyle("div[role=button] { display: none; }");
    addGlobalPrintStyle("div[data-testid=AttributionButton] { display: block!important; }");
    addGlobalPrintStyle("div[data-testid=displayNameTextField] { display: block!important; }");
})();