[Broken Website] Firefox - toolstation

未关闭
#15,525 6 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 2 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
48/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
技术栈
typescript
领域
frontend, web-dev

调研方向

首先,在启用 Dark Reader 4.9.125 的 Firefox 和 Edge 中复现 https://www.toolstation.com/,按照列出的搜索、促销、导航和后退按钮步骤操作。检查浏览器扩展在网站搜索和客户端链接周围的行为;当搜索、项目链接、通过 logo 的导航以及后退导航都能在不刷新页面的情况下正确加载时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

Broken Website javascript
Prerequisites
  • I searched for any existing report about this website issue to avoid opening a duplicate.
  • I can reproduce this website issue in a new, unmodified web browser profile with Dark Reader installed as the only extension.
Website Issue Description

Dark reader breaks toolstation.com by preventing you from using the search bar. When you type something into the search bar, it does nothing. This happens no matter what part of the website you are on.

If you click on one of the image promos, they will work as intended and bring you to the list of items on promo.
However, if you try to click on the items, it does not load the page, but the link changes in the search bar. If you press F5 (refresh), it will then load the page; this behaviour also happens to any links on the website.
If you press the back button, it won't load any page other than the home page.

The issue affects all browsers, such as Edge, Firefox, etc

Website Address

https://www.toolstation.com/

Steps To Reproduce
  1. Have Dark reader installed and enabled (default settings)
  2. Go to https://www.toolstation.com/
  3. Try searching for an item on the website - the bug should occur
  4. Head back to the home page, click on a promo image, and it will load a list of items
  5. Click on any item the issue should occur.
  6. Try going back home by clicking the logo. This should show the link in the search bar, but won't load
Screenshots
Image Image
Operating System

Windows 11 Home 64-bit 25H2 (10.0, Build 26200) (26100.ge_release.240331-1435)

Web Browser name and version

Firefox 151.0.2 & Edge Version 148.0.3967.96

Dark Reader version

4.9.125

Additional Context

No response

主要语言
TypeScript
星标
22.6k
派生
2.8k
平均合并
1 天 17 小时
30 天内合并 PR
82

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

darkreader/darkreader 的其他 Issue

查看 darkreader/darkreader 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。