a script for the gplex homepage, supporting every layout!
Google Background Restored by fishcelery4894official
Details
Authorfishcelery4894official
LicenseNo License
Categorygoogle.com
Created
Updated
Size5.6 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
built off of this script https://uso.kkx.one/style/77675
settings are included, featuring a few preset backgrounds and your own using an image link.
Source code
/* ==UserStyle==
@name Google Background Restored
@namespace github.com/openstyles/stylus
@version 1.2.0
@description A new userstyle
@author fishcelery4894official
@advanced dropdown myimg "Choose an image" {
Air_France_A380__1_2 "Air France" <<<EOT http://upload.wikimedia.org/wikipedia/commons/thumb/d/db/Air_France_A380_F-HPJA.jpg/1280px-Air_France_A380_F-HPJA.jpg EOT;
Crepuscular_Rays__1_ "Crepuscular Rays" <<<EOT http://upload.wikimedia.org/wikipedia/commons/b/b7/Crepuscular_rays_color.jpg EOT;
Linville_River__1920 "Linville River" <<<EOT http://upload.wikimedia.org/wikipedia/commons/thumb/a/a7/Linville_River-27527.jpg/1920px-Linville_River-27527.jpg EOT;
Cicindela_hybrida__2 "Cicindela hybrida" <<<EOT http://upload.wikimedia.org/wikipedia/commons/7/72/Cicindela_hybrida_Richard_Bartz.jpg EOT;
Unknown_Forest "Unknown Forest" <<<EOT http://co12.nevseoboi.com.ua/wallpapers/mix/1348039675-2912408-0288638_www.nevseoboi.com.ua.jpg EOT;
Pan_Lake "Pan Lake" <<<EOT https://imgproxy.nanxiongnandi.com/ftQSezZzk_uLuBnT2f0_zznfDH3V6S4j46cMg7DlFmk/w:1280/aHR0cHM6Ly9pbWcu/bmFueGlvbmduYW5k/aS5jb20vMjAxMzA5/L0ZyeWluZ1Bhbkxh/a2VfMTM2Nng3Njgu/anBn.jpg EOT;
Trestle_Bridge "Trestle Bridge" <<<EOT https://bingwallpaper.wordpress.com/wp-content/uploads/2014/01/trestle-bridge-on-the-virginia-creeper-trail-virginia.jpg EOT;
Icebergs "Icebergs" <<<EOT https://bingwallpaper.wordpress.com/wp-content/uploads/2013/12/ice-in-lake-sassolo-sambuco-valley-ticino-switzerland.jpg EOT;
Pandas "Pandas" <<<EOT https://s4.scoopwhoop.com/anj/Photo/3af058e4-6e4b-436f-b02d-ad5d8850d2f2.jpg EOT;
Cottage "Cottage" <<<EOT http://pic.sucaibar.com/pic/201306/28/b612c09b26.jpg EOT;
Cabin "Cabin" <<<EOThttps://bingwallpaper.wordpress.com/wp-content/uploads/2013/12/alex-cole-cabin-at-jim-bales-place-roaring-fork-motor-nature-trail-in-the-great-smoky-mountains-national-park-tennessee.jpg EOT;
Huangshan_Bridge "Huangshan Bridge" <<<EOT https://bingwallpaper.wordpress.com/wp-content/uploads/2013/12/bridge-in-the-huangshan-mountain-range-anhui-province-china.jpg EOT;
Red_Fox "Red Fox" <<<EOT https://mlbosgn4sfaa.i.optimole.com/YKQAibc.H8Ya%7E4bcb5/w:40/h:40/q:80/https:/i2.wp.com/www.hqwalls.com/wp-content/uploads/2013/01/Bing-wallpaper-2013-01-01.jpg?resize=40%2C40&ssl=1 EOT;
Hanukkah "Hanukkah" <<<EOT https://c2.staticflickr.com/6/5784/23071318653_06c58fe662_o.jpg EOT;
Petal_Lacewing "Petal Lacewing" <<<EOT http://pic.sucaibar.com/pic/201306/03/14423e9c37.jpg EOT;
Abstract_Cranes "Abstract Cranes" <<<EOT http://pic.sucaibar.com/pic/201306/03/36b284f78c.jpg EOT;
myimg-custom-dropdown "Custom" <<<EOT /*[[myimg-custom]]*\/ EOT;
}
@advanced text myimg-custom "Choose an image (Custom)" "https://example.com/image.png"
==/UserStyle== */
@-moz-document url("https://www.google.com/"), url-prefix("https://www.google.com/webhp"), url-prefix("https://www.google.com/imghp"),
url("https://www.google.de/"), url-prefix("https://www.google.de/webhp"), url-prefix("https://www.google.de/imghp") {
/* change Google main page background and stretch it to 100% width */
body
{
background-color: #000;
background-image:url(/*[[myimg]]*/) !important;
background-size:100% auto !important;
background-repeat: no-repeat;
background-attachment: fixed;
}
/* make Google search results background white, so it doesn't use the custom background */
div#cnt
{
background-color:#fff !important;
}
/* replace original Google logo with a translucent white logo */
#ugf-hp-logo
{
background-image:url(https://google.com/logos/classicplus.png) !important;
background-repeat:no-repeat !important;
background-position: center center !important;
}
#melvin-logo, #melvin-hp-logo {
content: url("https://google.com/logos/classicplus.png") !important;
}
#jfk-logo, #jfk-hp-logo {
content: url("https://google.com/logos/classicplus.png") !important;
}
#chopper-old-logo {
content: url("https://upload.wikimedia.org/wikipedia/commons/5/59/Empty.png?20091205084734") !important;
}
#modern-logo {
content: url("https://upload.wikimedia.org/wikipedia/commons/5/59/Empty.png?20091205084734") !important;
}
div.gp-pageination-inner {
content: url("https://google.com/logos/classicplus.png") !important;
}
div.ugf-tab-icon{
background: url("https://google.com/logos/classicplus.png") !important;
}
/* hide the original colorful logo */
#melvin-hp-logo {
display:none !important
}
/* make footer links, image search text, user account name white with some shadow */
div#ugf-hp-footer a
{
color:#eee !important;
text-shadow: 0.1em 0.1em 0.2em #000 !important;
}
#ugf-username-button, #ugf-email-button
{
color:#fff !important;
text-shadow: 0.1em 0.1em 0.2em #000 !important;
}
[layout="2014"] div.ugf-plus-button-text
{
color:#fff !important;
text-shadow: 0.1em 0.1em 0.2em #000 !important;
}
a.ugf-homepage-link
{
color:#fff !important;
text-shadow: 0.1em 0.1em 0.2em #000 !important;
}
div#waffle .gp-icon{
filter: invert(1);
}
div.ugf-plus-button-icon{
filter: invert(1);
}
div#ugf-account-button::after{
filter: invert(1);
}
a.ugf-hp-search-link span {
color:#fff !important;
text-shadow: 0.1em 0.1em 0.2em #000 !important;
}
div#ugf-hp-footer {
background: none;
}
#ugf-hp-buttons a {
background-color: transparent;
}
}