[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 摘要。