Skip to content

[BUG]: Blocks Google AI Overviews with a "400 Malformed Request" Error #495

Description

@plantindesk

Description

When the extension is active, attempting to use Google AI mode results in a 400 error. That's an error. Your client's request is malformed or illegal. This causes the AI feature to fail to load.

Disabling the extension immediately resolves the issue, and the Google AI mode function works correctly.

Reproducible Steps

  1. Ensure the ClearURLs extension is installed and active.
  2. Navigate to Google Search (e.g., google.com).
  3. Toggle AI mode button.
  4. Perform search query
  5. The page may behave like this
Image

Error Logs:

  • The following error message was observed in the browser's developer tools (specifically in the context of the extension's background page) immediately after the failure:
[Error: No tab with id: 1218071573.
Context
_generated_background_page.html
Stack Trace
core_js/tools.js:277 (handleError)
Image

Environment

OS: Windows 11
Browser: Helium browser (ungoogled chromium fork)
Extension Version: 1.27.3 - (2025-02-05)

Activity

  1. huoyan1231 commented on Nov 21, 2025

    @huoyan1231

    same issue here
    tested on firefox and chrome

  2. Yeah-Jack commented on Dec 24, 2025

    @Yeah-Jack

    Also happens on Brave. Sometimes in the Google All search result page, the small AI Overview window works, but other times it does not.

    Image Image

    Very rough and probably wrong guess
    Maybe Google caches the AI response of highly popular search query so they can be instantly shipped with the search result. Unpopular search requests have to get first processed by Google's AI and can only then be sent back to the user. This would potentially also explain why for very specific queries, the results of AI overview takes a few seconds longer to load instead of being there instantly. So ClearURLs maybe blocks the request sent to Google's AI server?

  3. aplotor commented on Jan 10, 2026

    @aplotor

    +1. related / more generic solution: #478

  4. plantindesk commented on Jan 11, 2026

    @plantindesk
    Author

    What i am now thinking is that ClearURLs is not being maintained now, because if you see commits sequencially, its stopped

  5. Yeah-Jack commented on Jan 11, 2026

    @Yeah-Jack

    What i am now thinking is that ClearURLs is not being maintained now, because if you see commits sequencially, its stopped

    @plantindesk do you know any alternatives?

  6. bptrsn commented on Feb 14, 2026

    @bptrsn

    No update on this issue? It's been 3 months.

  7. aplotor commented on Feb 14, 2026

    @aplotor

    guys a (sort of) workaround is to use google's gemini on its dedicated site https://gemini.google.com/app in case anyone didnt know abt this

  8. plantindesk commented on Feb 18, 2026

    @plantindesk
    Author

    @aplotor gemini app is normal mode while ai mode is other thing

  9. plantindesk commented on Feb 18, 2026

    @plantindesk
    Author

    @bptrsn i think it is now unmaintained

  10. gkrawiec commented on Mar 16, 2026

    @gkrawiec

    It does seem like the project lost its maintainer. I hope somebody who knows this stuff takes over. There are bugs to fix, sites to add, and most importantly....features like domain whitelist to add. I was a great addon while it worked.

  11. plantindesk commented on Mar 28, 2026

    @plantindesk
    Author

    Forking and resolving the issues is only solution

  12. imjuzcy commented on Jun 7, 2026

    @imjuzcy

    For anyone who came here looking for a solution, I forked the rule repo, added the commit from #183 (credits to @aisamu) and deployed the rules with GitHub Pages. You can use the rules by changing the rule URL to https://imjuzcy.github.io/ClearURLs_Rules/data.minify.json and https://imjuzcy.github.io/ClearURLs_Rules/rules.minify.hash in Add-ons Manager (not the panel you get when you open the extension!) in Firefox or the equivalent to Chrome.

  13. gkrawiec commented on Jun 7, 2026

    @gkrawiec

    This worked. Thank you. You should fork the extension and add features to it. There are a lot of things its missing, like white/black listing domains.

    For anyone who came here looking for a solution, I forked the rule repo, added the commit from #183 (credits to @aisamu) and deployed the rules with GitHub Pages. You can use the rules by changing the rule URL to https://imjuzcy.github.io/ClearURLs_Rules/data.minify.json and https://imjuzcy.github.io/ClearURLs_Rules/rules.minify.hash in Add-ons Manager (not the panel you get when you open the extension!) in Firefox or the equivalent to Chrome.

  14. YamSol commented on Sep 28, 2026

    @YamSol

    So, it was documented as "disable 'filter' to fix it" on the troubleshooting page.

    In my case, removing the specific xmlhttprequest item from "Request types (expert level)" brings it back.

    font,image,imageset,main_frame,media,object,object_subrequest,other,script,stylesheet,sub_frame,websocket,xml_dtd,xslt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions