Discussions » Creation Requests
Underlining Google Search Result Titles
Here are the scripts I found that doesn't work anymore:
// ==UserScript==
// @name Google links old style
// @include http://www.google.*/
// @include http://www.google.*/?*
// @include http://www.google.*/#*
// @include http://www.google.*/search*
// @include http://www.google.*/webhp*
// @include https://www.google.*/
// @include https://www.google.*/?*
// @include https://www.google.*/#*
// @include https://www.google.*/search*
// @include https://www.google.*/webhp*
// @include https://encrypted.google.*/
// @include https://encrypted.google.*/?*
// @include https://encrypted.google.*/#*
// @include https://encrypted.google.*/search*
// @include https://encrypted.google.*/webhp*
// @grant GM_addStyle
// ==/UserScript==
+function(){
var links = '#res h3.r a';
var items = 'li.g';
var s = document.createElement('style');
s.textContent = links+'{text-decoration:underline!important;font-size:16px!important;}'+items+'{margin-bottom:12px;!important}';
document.head.appendChild(s);
}();
// ==UserScript==
// @name Google Restore Underline
// @namespace GRU
// @description Restores underlining to Google title results.
// @version 122.13.15.0145
// @run-at document-ready
// @include http://www.google.*/*
// @include https://www.google.*/*
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js
// @author drhouse
// @icon https://www.google.ca/images/google_favicon_128.png
// ==/UserScript==
$(document).ready(function () {
$('#res a').css('text-decoration','underline');
});
// ==UserScript==
// @name Underline Google Search Result Links
// @namespace http://userstyles.org
// @description Adds the underline back to links in Google search results
// @author jengolbeck
// @homepage https://userstyles.org/styles/99209
// @include http://www.google.com*
// @include https://www.google.com*
// @run-at document-start
// @version 0.20140313175851
// ==/UserScript==
(function() {var css = [
"@namespace url(http://www.w3.org/1999/xhtml);",
"#rcnt a { ",
" text-decoration : underline !important",
"}"
].join("\n");
if (typeof GM_addStyle != "undefined") {
GM_addStyle(css);
} else if (typeof PRO_addStyle != "undefined") {
PRO_addStyle(css);
} else if (typeof addStyle != "undefined") {
addStyle(css);
} else {
var node = document.createElement("style");
node.type = "text/css";
node.appendChild(document.createTextNode(css));
var heads = document.getElementsByTagName("head");
if (heads.length > 0) {
heads[0].appendChild(node);
} else {
// no head yet, stick it whereever
document.documentElement.appendChild(node);
}
}
})();
S.O.S.
Please help...
// ==UserScript==
// @name Google links old style
// @include http://www.google.*/
// @include http://www.google.*/?*
// @include http://www.google.*/#*
// @include http://www.google.*/search*
// @include http://www.google.*/webhp*
// @include https://www.google.*/
// @include https://www.google.*/?*
// @include https://www.google.*/#*
// @include https://www.google.*/search*
// @include https://www.google.*/webhp*
// @include https://encrypted.google.*/
// @include https://encrypted.google.*/?*
// @include https://encrypted.google.*/#*
// @include https://encrypted.google.*/search*
// @include https://encrypted.google.*/webhp*
// @grant none
// ==/UserScript==
+function(){
var s = document.createElement('style');
s.textContent = '#res h3,#res a{text-decoration:underline!important;}';
document.head.appendChild(s);
}();
don't know if any bug
isnt this a css thing?
whhy want underline? it bad
Array.from(document.getElementsByClassName("LC20lb")).forEach(e => {
e.style.textDecoration = "underline"
})
Underlining Google Search Result Titles
Hello.
Can someone maybe please create a script for google's underlining search result titles ?
All of the scripts that exist doesn't work anymore since recently when google changed something..