Greasy Fork is available in English.
Force code wrapping and unset chat message display
当前为
// ==UserScript==
// @name allenai css
// @description Force code wrapping and unset chat message display
// @match https://playground.allenai.org/*
// @version 0.0.1.20250722170745
// @namespace http://greasyfork.icu/users/1435046
// ==/UserScript==
(function() {
const style = document.createElement('style');
style.textContent = `
:root {
color-scheme: light dark !important;
}
header>div.MuiToolbar-root {
background-color: revert !important;
}
body,
div.MuiPaper-root {
background-color: revert !important;
}
div.MuiBackdrop-root.MuiModal-backdrop {
background-color: rgba(0, 0, 0, 1);
}
.chat-message {
display: revert !important;
}
code {
white-space: pre-wrap;
}
.MuiBox-root {
padding: revert !important;
}
button[aria-label="Scroll to bottom"] {
display: none !important;
}
div.MuiBox-root[id="icon"] {
display: none !important;
}
form>div.MuiStack-root {
gap: revert !important;
}
svg {
color: initial !important;
}
`;
document.head.appendChild(style);
})();