Chrome extension doesn't open H overlay on Reddit.com

オープン
#6,463 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
52/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
javascript
領域
frontend

調査の方向性

まず、再設計されたReddit UIのChromeで失敗を再現し、次にoverlayが機能するold RedditおよびFirefoxと比較します。拡張機能のoverlayの有効化とページのリサイズ動作を追跡します。現在のRedditで、old-Redditの設定を必要とせずにH overlayが正しく開けば完了です。

索引モデルが issue の本文から書いたものです。

説明

A few months back Reddit updated their web UI in a redesign and as a result, trying to activate the H overlay with the bookmarklet on Chrome (Version 126.0.6478.183 (Official Build) (64-bit)) no longer works.

When I attempt to activate it on most reddit pages, the web page moves over about 75 pixels as if it's resizing and going to open the H overlay, but the overlay fails and doesn't display at all. I'm using version 1.1497.0.0 (Official Build) of the Chrome H extension.

Going to one's Reddit Settings>>Preferences and toggling "Default to old Reddit" allows one to use H on it as expected. Because the old version of Reddit works and the new doesn't, I'm presuming there's some sort of conflicting .js at play in their new UI?

I don't see a similar issue with Reddit (new or old versions) using Firefox with the Unofficial Hypothesis extension by Diego de la Hera with version 1.470.0.2self from June 2022.

主要言語
Mustache
スター
743
フォーク
227
平均マージ
6分
マージ済み PR(30日)
1

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

hypothesis/client のほかの issue

hypothesis/client の issue をすべて見る

似ている issue

Web Dev の issue をもっと見る

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

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