Skip to content

Sometimes the $removeparam= parameter does not work #1767

Description

@DeepChirp

Prerequisites

  • I performed a cursory search of the issue tracker to avoid opening a duplicate issue
  • The issue is not present after wholly disabling uBlock Origin ("uBO") in the browser
  • I checked the documentation to understand that the issue I report is not a normal behavior

I tried to reproduce the issue when...

  • uBO is the only extension
  • using a new, unmodified browser profile

Description

If the page is not reloaded and the link in the address bar is changed, the parameters in the address bar are not automatically cleared.

A specific URL where the issue occurs

https://www.baidu.com/s?wd=Test&rsv_spt=1&rsv_iqid=0xa83b935b000249f8&issp=1&f=8&rsv_bp=1&rsv_idx=2&ie=utf-8&rqlang=cn&tn=baiduhome_pg&rsv_enter=0&rsv_dl=tb&oq=Test&rsv_btype=t&rsv_t=01c48EfWFiNRaqUEe4zGwXwnOqY5SawI8LatW4wHB3AAVN9s5wUo2c27lp0&rsv_pq=bdd8c98800097d0c

Steps to Reproduce

  • Add the following rules
||baidu.com^$removeparam=/^rsv/
||baidu.com^$removeparam=cl
||baidu.com^$removeparam=f
||baidu.com^$removeparam=fr
||baidu.com^$removeparam=hisfilter
||baidu.com^$removeparam=inputT
||baidu.com^$removeparam=issp
||baidu.com^$removeparam=n_type
||baidu.com^$removeparam=oq
||baidu.com^$removeparam=p_from
||baidu.com^$removeparam=prefixsug
||baidu.com^$removeparam=rsp
||baidu.com^$removeparam=tn
  • Open this page
  • Click the search button in the search box
    2021-10-17_09-53-25

Expected behavior

The first time you open it, the page parameters are cleared. But after clicking the search button in the search bar, the page parameters will not be cleared.

Actual behavior

Web parameters should be cleaned whenever.

Configuration

No need

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions