如何屏蔽百度热点

125 阅读1分钟

To block Baidu News (百度热点) on the right sidebar of www.baidu.com, you can use uBlock Origin (recommended) or Stylus (CSS method). Here’s how:


Method 1: Using uBlock Origin (Best Solution)

uBlock Origin is a powerful ad-blocker that can remove page elements selectively.

Steps:

  1. Install uBlock Origin

  2. Open Baidu (www.baidu.com)

  3. Right-click the Baidu News sidebar"Block Element" (uBlock’s picker mode).

  4. Select the entire sidebar (it should highlight in red).

  5. Click "Create" to confirm.

  6. Refresh the page → The news sidebar should be gone!

Pros:

  • Works instantly, no coding needed.
  • Also blocks ads/trackers.

Cons:

  • May need adjustment if Baidu changes its layout.

Method 2: Using Stylus (CSS Injection)

If you prefer Stylus, you can hide the sidebar with CSS.

Steps:

  1. Install Stylus (Edge / Chrome)
  2. Click Stylus icon"Manage Styles""Write new style".
  3. Add this CSS:
    /* Block Baidu News sidebar */
    #content_right {
        display: none !important;
    }
    /* Optional: Expand main content to fill space */
    #content_left {
        width: 100% !important;
    }
    
  4. Save → Refresh Baidu.

Works reliably, but requires manual CSS tweaking.


Method 3: Using AdGuard (Alternative)

If uBlock doesn’t work, try AdGuard:

  1. Install AdGuard.
  2. Use its "Block Element" tool (similar to uBlock).

Which Method is Best?

  • For most users: uBlock Origin (easiest).
  • For long-term stability: Stylus CSS (if Baidu changes IDs, update the CSS).

Would you like help fine-tuning the CSS further? 😊