Last active
November 2, 2019 21:20
-
-
Save ThomasG77/95e3cafa2348456a959dd986b680e461 to your computer and use it in GitHub Desktop.
Greasemonkey script to restore URL view in Google search
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 Change URL back | |
// @version 1 | |
// @include /(http|https):\/\/www\.google\.(ca|co\.in|co\.uk|com|com\.br|de|es|fr|it|pl|ru)\/search\?/ | |
// @grant none | |
// ==/UserScript== | |
Array.from(document.querySelectorAll('cite')).forEach(el => el.textContent = el.parentElement.parentElement.href); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment