Created
February 16, 2022 07:46
-
-
Save miyaoka/248e78eeb5c24cab6fd7c50f3daadffd 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
javascript: (function () { | |
const container = document.querySelector("body"); | |
const img = container.querySelector("img"); | |
img.style.position = 'absolute'; | |
const l = img.cloneNode(); | |
l.style = | |
"position: absolute;z-index: 1;left: 0px;bottom: 0px;width: auto;height: auto;transform: scale(0.5) translate(0,50%)"; | |
const r = img.cloneNode(); | |
r.style = | |
"position: absolute;z-index: 1;bottom: 0px;transform: scale(.5) translate(-561px,50%);mix-blend-mode: difference;width: auto;height: auto;"; | |
container.appendChild(l); | |
container.appendChild(r); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment