آخر الأخبار والمعلومات والقصص المخصّصة لمطوّري البرامج

تتيح لك المزامنة الدورية في الخلفية عرض محتوى جديد عند تشغيل تطبيق ويب تقدّمي أو خدمة صفحة مستندة إلى Worker. ويتم ذلك من خلال تنزيل البيانات في الخلفية عندما لا يكون التطبيق أو الصفحة قيد الاستخدام. بعد تثبيت مشغّل الخدمة، استخدِم Permissions API

  • JavaScript
  • CSS
  • HTML

Cecilia Cong

21 ديسمبر 2024

تساعد اختصارات التطبيقات المستخدمين على بدء المهام الشائعة أو المقترَحة بسرعة داخل تطبيق الويب. ومن خلال سهولة الوصول إلى هذه المهام من أي مكان يتم عرض رمز التطبيق، يمكنك تعزيز إنتاجية المستخدمين وزيادة تفاعلهم مع تطبيق الويب. يتمّ تشغيل قائمة

  • HTML
  • JavaScript

Francois Beaufort

18 نوفمبر 2024

اطّلِع على المثال أدناه لمعرفة التجربة التلقائية التي لا توفّر سياقًا كافيًا. للحصول على مربّع حوار لواجهة المستخدم Richer Install بدلاً من الطلب التلقائي الصغير العادي، أضِف حقلَي screenshots و description إلى بيان الويب. اطلع على مثال Squoosh.app

  • HTML
  • JavaScript

Adriana Jara

14 أغسطس 2024

Badges are used to convey non-urgent information to the user. For example, they are used to indicate the status of an app, or the number of unread items. The classic way of creating an app badge is to add a number to the favicon. On modern browsers,

  • JavaScript
  • CSS
  • HTML

Thomas Steiner

27 فبراير 2025

Sometimes you want to let users of your app select one of their contacts to message via an email or chat application, or help them discover which of their contacts have already joined a social platform. To get contacts from the address book, you need

  • CSS
  • JavaScript
  • HTML

Thomas Steiner

27 فبراير 2025

To make sure your browser supports the getScreenDetails() method, first check if it exists on the window object. Then, call window.getScreenDetails() to get attached screens. Adding an event listener to adapt to changed screen details allows you to

  • CSS
  • HTML
  • JavaScript

Palances Liao

27 فبراير 2025

Letting the user share the website they are on is a common web apps pattern that you can find on many news sites, blogs, or shopping sites. Since linking is one of the web's super powers, the hope is to acquire traffic from users who see the shared

  • JavaScript
  • HTML
  • CSS

Thomas Steiner

27 فبراير 2025