Bing.com Customization

make bing.com less bloated with trash news and bad writers

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

ستحتاج إلى تثبيت إضافة مثل Stylus لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتتمكن من تثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

(لدي بالفعل مثبت أنماط للمستخدم، دعني أقم بتثبيته!)

// ==UserScript==
// @name         Bing.com Customization
// @namespace    http://tampermonkey.net/
// @version      2.14
// @description  make bing.com less bloated with trash news and bad writers
// @author       Philadelphia, USA
// @match        https://www.bing.com/
// @locale       english
// @grant        none
// ==/UserScript==

// how did i do this? https://somethingididnotknow.wordpress.com/2013/07/01/change-page-styles-with-greasemonkeytampermonkey/


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);
}

// remove the header links at the very top
addGlobalStyle('div#hp_sw_hdr {display: none !important;}');

// customize the search box, make it more subtle
addGlobalStyle('.b_searchboxForm, .b_searchbox { opacity: 0.55; box-shadow: none !important; }');
addGlobalStyle('.b_searchboxForm:hover, .b_searchbox:hover { opacity: 1 }');

// customize the 144px height bottom news bar on page load, nuke it.
addGlobalStyle('div#sc_md { display: none; }');
addGlobalStyle('div#hp_bottomCell { padding-top: 144px; }');

// could also customize news bar like below, but it's not as clean.
// addGlobalStyle('div#sc_md { position: relative; left: -9999px; }');