Last active
May 6, 2023 01:56
-
-
Save modeverv/2a77fbe414ced9940d556b2e892c5fe2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name ChatGPT moe | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://chat.openai.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=openai.com | |
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js | |
// @grant none | |
// ==/UserScript== | |
const NAME = "User" | |
$(function() { | |
function process() { | |
const cssString = ` | |
p,li,.flex.flex-col.items-start.gap-4.whitespace-pre-wrap,code,.markdown a { | |
color: white !important; | |
} | |
.hidden.flex-shrink-0.bg-gray-900 { | |
max-width:150px; | |
} | |
.m-auto { | |
margin-left:0; | |
} | |
img[alt="${NAME}"] { | |
visibility: hidden; | |
position: relative; | |
} | |
div.flex.flex-col.relative.items-end div.relative.flex:nth-child(1)::before { | |
content: ''; | |
visibility: visible; | |
position: absolute; | |
top: 0; | |
left: 0; | |
width: 100%; | |
height: 100%; | |
background-image: url('https://lovesaemi.daemon.asia/me.jpg'); | |
background-size: cover; | |
background-position: center; | |
} | |
div.flex.flex-col.relative.items-end div.relative.flex.p-1:nth-child(1)::before { | |
content: ''; | |
visibility: visible; | |
position: absolute; | |
top: 0; | |
left: 0; | |
width: 100%; | |
height: 100%; | |
background-image: url('https://lovesaemi.daemon.asia/moe_logo.png'); | |
background-size: cover; | |
background-position: center; | |
} | |
main { | |
background-image: url('https://lovesaemi.daemon.asia/moe_back.png'); | |
background-size: cover; | |
} | |
.flex.flex-col.items-center.text-sm { | |
background-color: transparent; | |
} | |
.dark .dark\\:bg-gray-800 { | |
background-color: transparent; | |
} | |
.bg-gray-50 { | |
background-color: transparent; | |
} | |
.dark .dark\\:bg-\\[\\#444654\\] { | |
background-color: transparent; | |
} | |
`; | |
const styleTag = $('<style></style>').html(cssString); | |
$('body').append(styleTag); | |
} | |
process(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment