Skip to content

Instantly share code, notes, and snippets.

@emonkak
Last active January 18, 2020 02:58
Show Gist options
  • Save emonkak/936596f1939f0f548f69c42809805aae to your computer and use it in GitHub Desktop.
Save emonkak/936596f1939f0f548f69c42809805aae to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name Google Classic Search Results
// @version 0.0
// @author Shota Nozaki
// @match https://www.google.com/search*
// @match https://www.google.co.jp/search*
// @run-at document-start
// ==/UserScript==
(function() {
const style = document.createElement('style');
style.innerHTML = `
.r > a {
display: flex !important;
flex-direction: column-reverse !important;
}
.r > a:hover {
text-decoration: none !important;
}
.r > a:hover .LC20lb {
text-decoration: underline !important;
}
.TbwUpd + br,
.xA33Gc {
display: none !important;
}
.LC20lb {
margin-bottom: 0 !important;
}
.TbwUpd {
margin-bottom: 3px !important;
}
.iUh30 {
color: #006621 !important;
}
.B6fmyf {
position: relative !important;
top: -26px !important;
height: 0 !important;
}
`;
document.head.appendChild(style);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment