Skip to content
GitHub no longer supports this web browser. Learn more about the browsers we support.

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Tampermonkey script to remove new 2020 design from Google with big opaque links
// ==UserScript==
// @name Google eyes-catching-design remover
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Will put a lower opacity on the url because since last update, it is too eye-catching for me
// @author Martin Ratinaud <martinratinaud@gmail.com>
// @include /^https?://.*\.google\..*/*/
// @grant none
// ==/UserScript==
// You're Remote and want to find your perfect spot on earth? Check out
// https://www.remote-family.com
function addGlobalStyle(css) {
var head, style;
head = document.getElementsByTagName('head')[0];
if (!head) { return; }
style = document.createElement('style');
style.type = 'text/css';
style.innerHTML = css;
head.appendChild(style);
}
(function() {
'use strict';
addGlobalStyle(`
.rc .r > a cite,
.rc .r > div {
opacity: 0.2;
}
.rc .r > a cite:hover,
.rc .r >div:hover {
opacity: 1;
}
`);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.