Created
November 7, 2020 08:11
-
-
Save iriyak/37093e2f9f3297ca6ae6cf40ac40206f 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:( | |
() => { | |
const elm = document.getElementById('backgroundImage'); | |
if (elm) { | |
const params = new URLSearchParams(elm.src); | |
const url = params.get('chrome-untrusted://new-tab-page/custom_background_image?url'); | |
window.location.href = url; | |
} | |
} | |
)(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment