AdguardTeam / AdguardTeam/AdguardForiOS

[iOS] YouTube mobile website layout breaks

オープン
#2,517 コメント 13 件 リアクション 0 件 担当者 1 名 @oksenina が担当を希望しています GitHub で見る
Priority: P4
主要言語
Swift
スター
1.7k
フォーク
240
PR マージ指標
30日以内にマージされた PR はありません

説明

Hello,

I am experiencing significant layout issues on the YouTube mobile website (m.youtube.com) when AdGuard is active on iOS. It seems the cosmetic filters are breaking the CSS layout.

**There are two main issues:**

1. Missing Top Navigation Bar (Header):
When watching a video or browsing, the entire top bar (YouTube logo, search icon, account menu) disappears completely.

2. Displaced Main Navigation Bar:
On the homepage, the main navigation bar (Home, Shorts, You) is in the wrong position.

• When AdGuard is enabled, this bar incorrectly jumps to the top of the screen (right under the search bar).

• When AdGuard is disabled, the bar stays at the bottom of the screen, which is its normal and expected position.

**Steps to reproduce:**

1. Enable AdGuard on iOS.

2. Open Safari and go to m.youtube.com.

3. Observe the top header (it will be missing in some views).

4. Go to the homepage and observe the position of the (Home, Shorts, You) navigation bar (it will be at the top instead of the bottom).

**Expected behavior:**

The top header should be visible, and the main navigation bar should remain at the bottom of the screen, just like when AdGuard is paused.

**Screenshots:**

![image](https://github.com/user-attachments/assets/ed311feb-5347-4934-8e62-14068869bdcd)

![image](https://github.com/user-attachments/assets/e63c356c-30a0-40ff-82f0-338ebe62d70d)

![image](https://github.com/user-attachments/assets/45b3b11f-45df-4873-afae-0914351ff8c7)

![image](https://github.com/user-attachments/assets/9dd2496c-55ee-44db-99c5-7df65a3f60ac)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。