# Oneboxes مع المراسي تخفي المرساة

**URL:** <https://meta.discourse.org/t/oneboxes-with-anchors-hide-the-anchor/191125>\
**Category:** Feature\
**Created:** [20 مايو 2021، 9:11م UTC](https://meta.discourse.org/t/oneboxes-with-anchors-hide-the-anchor/191125 "2021-05-20T21:11:11Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![mbauman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mbauman/32/139835_2.png) [@mbauman](https://meta.discourse.org/u/mbauman)\
**Post date:** [20 مايو 2021، 9:11م UTC](https://meta.discourse.org/t/oneboxes-with-anchors-hide-the-anchor/191125/1 "2021-05-20T21:11:11Z")

</div>

عند كتابة onebox مع رابط — على سبيل المثال، رابط لتعليق معين في مشكلة على GitHub — فإن الـ onebox المُنشأة تحتوي على روابط متعددة:

> <https://github.com/discourse/discourse/pull/7666#issuecomment-497742621>
>
> You've signed the CLA, jjaffeux. Thank you! This pull request is ready for revie…w.

الرابط العلوي الصغير (باللون الرمادي؛ النص `github.com/discourse/discourse`) يحافظ على الرابط التكميلي (anchor)، بينما الرابط الكبير الأزرق الواضح يزيله. أفهم أنه بدون دعم خاص، فإن الـ onebox تصف الصفحة نفسها، لكنني كتبت وسم رابط (anchor tag) وأود أن يذهب معظم الأشخاص الذين ينقرون عليه إلى الرابط التكميلي. بالتأكيد، عندما يكون هناك عدد قليل من التعليقات، لا يمثل ذلك مشكلة كبيرة، لكن إذا كنت تحاول الربط إلى منتصف مشكلة معقدة، فإن فقدان السياق يصبح أمرًا جوهريًا.

سيكون طلب ميزة ثانوي هو إضافة دعم خاص للروابط التكميلية في تعليقات GitHub كما فعلتم [في ويكيبيديا](https://meta.discourse.org/t/support-wikipedia-anchors-in-onebox/19664) (لاحظ أن الـ oneboxes المُنشأة في ذلك الموضوع القديم مربكة لأن هيكل صفحة ويكيبيديا تغير منذ ذلك الحين، رغم أنها لا تزال تعمل):

> **[HTTP cookie | Secure cookie](https://en.wikipedia.org/wiki/HTTP_cookie#Secure_cookie)**
>
> A secure cookie can only be transmitted over an encrypted connection (i.e. HTTPS). They cannot be transmitted over unencrypted connections (i.e. HTTP). This makes the cookie less likely to be exposed to cookie theft via eavesdropping. A cookie is made secure by adding the Secure flag to the cookie.
> An http-only cookie cannot be accessed by client-side APIs, such as JavaScript. This restriction eliminates the threat of cookie theft via cross-site scripting (XSS). However, the cookie remains vulne...

---

_[View the full topic](https://meta.discourse.org/t/oneboxes-with-anchors-hide-the-anchor/191125)._
