Bing Minimalist Search Layout

Strips out padding, margins, logos and clipping rules on Bing search results for a clean, compact, full‑text view.

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

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

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

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

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

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.

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

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

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

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

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name        Bing Minimalist Search Layout
// @description Strips out padding, margins, logos and clipping rules on Bing search results for a clean, compact, full‑text view.
// @match       https://www.bing.com/search?*
// @exclude     https://www.bing.com/news/search?*
// @run-at      document-start
// @version 0.0.1.20250730102450
// @namespace https://greasyfork.org/users/1435046
// ==/UserScript==

(function () {
  const css = `
    /* Remove top padding on first result */
    #b_results > li:first-child,
    #b_results > li:first-child.b_bfb_mainline.b_ans:empty + li:not(.b_ans.b_topborder) {
      padding-top: 0 !important;
    }

    /* Remove padding on algorithmic results */
    #b_results > .b_algo {
      padding: 0 !important;
    }

    /* Remove padding on all other result items, ads, and age‑verification notices */
    #b_results > li,
    #b_results > [data-tag="ageverification.AVSignIn"],
    #b_results > [data-tag="ageverification.AVVerify"],
    #b_results > .b_ad {
      padding: 0 !important;
    }

    /* Remove padding from the content container */
    #b_content {
      padding: 0 !important;
    }

    /*  Add max-width to every result list item */
    #b_results > li {
      max-width: 290px !important;
    }

    #b_results .b_algo .b_tpcn .b_attribution {
      height: 0% !important;
    }

    /* Overwrite the webkit line clamp to show full text */
    #b_results .b_lineclamp2 {
      -webkit-line-clamp: unset !important;
      /* Removes the maximum-line count restriction */
    }

/* Hide the Bing logo area */
.b_logoArea {
  display: none !important;
}

/* Remove the max-width constraint */
.b_factrow.b_twofr ul:first-child {
  max-width: unset !important;
}

/* Allow normal wrapping */
.b_factrow.b_twofr ul li div {
  white-space: normal !important;
}

/* Remove padding on header */
#b_header {
  padding: 0 !important;
}

/* Remove margin on main content wrapper */
#b_tween.b_hidetoggletween ~ #b_mcw {
  margin: 0 !important;
}
    `;
  const style = document.createElement('style');
  style.textContent = css;
  document.head.appendChild(style);
})();