The outbound links version of the tracking code breaks links which 'break out' of an iframe.
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 38/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- html, javascript
調査の方向性
Start with the outbound-links.js script and reproduce the supplied HTML example in an iframe using an anchor with target="_top". Trace the click handling and verify that the link opens the Books Etc. site outside the surrounding iframe, as described under Expected behavior.
索引モデルが issue の本文から書いたものです。
説明
Bug report
The outbound link version of the tracking breaks the ability of links inside iframes to 'break out' of the iframe when you include target="_top" as one of the <a> tags attributes.
So for example if a HTML page with the following code was included as an iframe in another page, the "link to Books Etc." link would fail to 'break out' of the iframe and the Books Etc. site would be displayed framed within the surrounding page.
<html>
<head>
<title>An example of a link in an iframe</title>
<script async defer data-domain="example.test" src="https://plausible.io/js/plausible.outbound-links.js"></script>
</head>
<body>
<h2>Inside an iframe</h2>
<p>
This <a href="https://www.booksetc.co.uk/" target="_top">link to Books Etc.</a> as <code>target="_top"</code> and so clicking on it should break out of the surrounding page.
</p>
</body>
</html>
Expected behavior
The expected behaviour is that clicking on the Books Etc. link above would break out of the iframe and open the Books Etc. website without it being framed.
Environment
This problem affects multiple browsers e.g. latest versions of Firefox and Chrome.
- 主要言語
- Elixir
- スター
- 29.7k
- フォーク
- 1.9k
- 平均マージ
- 3日 22時間
- マージ済み PR(30日)
- 50
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
plausible/analytics のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 2 日以内に返信
-
ObanErrorReporter purges imported data when the cleanup worker crashes — silent loss of completed CSV imports対応中かも @EmmS21 が 96 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
plausible/analytics#5201 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
plausible/analytics#5200 · コメント 2 件 ·
メンテナーはふだん 2 日以内に返信
plausible/analytics の issue をすべて見る
似ている issue
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
MustacheCase/zanadir#403 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
taskforcesh/bullmq#5038 ·
メンテナーはふだん 1 日以内に返信
-
pip: same package pinned twice with different casing in pyproject.toml, only the first pin is updated対応中かも @v-abhishekbhaskar が 1 日前に担当しました。 オープンL: python L: ruby:bundler T: bug 🐞
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
dependabot/dependabot-core#16756 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
feat: signup pageオープンd: medium
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100