ফায়ারফক্সে Web Push নোটিফিকেশন

ফায়ারফক্স যখন খোলা থাকে Web Push তখন ওয়েবসাইটকে ব্যবহারকারীদের নতুন বার্তা বা আপডেটেড কন্টেন্ট অবহিত করার অনুমতি দিয়ে থাকে । যখন ফায়ারফক্স খোলা থাকে,সেসময় যেসব ওয়েবসাইট অনুমতিটি গ্রহণ করে, সেগুলো আপনার ব্রাউজারে এবং স্ক্রিনে এসব নোটিফিকেশন প্রদর্শন করতে পারে। ব্যবহারকারীরা সহজেই এই নোটিফিকেশন allow অথবা disable করতে পারেন এবং কিভাবে নোটিফিকেশন প্রদর্শিত হয় তা নিয়ন্ত্রণ করতে পারেন ।

আপগ্রেড নোটিফিকেশন

ভার্সন 44 দিয়ে শুরু করা যাক,ফায়ারফক্স অন-স্ক্রিন বিজ্ঞপ্তি প্রদান করতে পারেন এমনকি যখন সে সাইটের লোডও করা হয়নি । এই Push API ব্যবহার করে ,W3C standard, যে কোন মুহুর্ত্বে Firefox একটি push মেসেজ পায় এবং নোটিফিকেশন প্রকাশ করতে পারে (যদি ব্যবহারকৃত দ্বারা অনুমতি প্রদান করা হয় )। এমনকি সাইটগুলো আপনাকে কোনো নোটিফিকেশন না দেখিয়ে ডাটা আপডেট করার জন্য Push ব্যবহার করতে পারে। আপনি যদি ইতিমধ্যে কোনো একটি সাইটকে নোটিফিকেশন দেখানোর অনুমতি দিয়ে থাকেন তবেও এই সাইটগুলো এই Push API ব্যবহারে সক্ষম ।

  1. ফায়ারফক্স মেনুতে New Fx Menu যান এবং OptionsPreferences সিলেক্ট করুন ।
  2. Content প্যানেল সিলেক্ট করুন এবং নটিফিকেশনের নিচে এই Choose এ ক্লিক করুন ।
    push content panel 44push content panel 44 winxp
  3. Alternatively, click the options in one of the notifications you receive.
    push notification menu

Web Push কি?

ওয়েব পুশ একটি ঐচ্ছিক বৈশিষ্ট্য যা ওয়েবসাইটগুলিকে আপনাকে বার্তা এমনকি পাঠাতে এমনকি যখন সাইটটি লোড করা হয়নি তখনো বার্তা পাঠানোর অনুমতি দিয়ে থাকে। সাইটগুলি আপনাকে বিজ্ঞপ্তি বা আপডেট তথ্য দিতে এই বৈশিষ্ট্য ব্যবহার করতে পারে।

For instance, you can subscribe to notifications from your favorite shopping websites which can notify you of new promotions or offers. You can subscribe to notifications from different websites. A concert site may offer you notifications for shows of your favorite band; you allow that site to notify you, and a week later you get a notification that your band is on tour.

You will only receive messages from sites for which you have granted permission.

How does it work?

Websites can install a Service Worker, a background web page with a limited set of functionality, that can subscribe to the push service. The website can then send a push message through Mozilla’s Web Push service to your browser, which can process that message and display a notification on your screen.

push notification 44

Clicking the notification can open a website or switch to that site’s tab if loaded.

What information do I share with a website?

A website that has been granted permissions can send you push messages when the site isn’t loaded. A quota limits the number of push messages without an on-screen notification that sites can send you. Websites that exceed the quota will have its push messaging disabled and the user must revisit the website again to resubscribe. Web Push does not directly allow websites to determine your IP address.

What information does Firefox use to provide Web Push?

Firefox maintains an active connection to a push service in order to receive push messages as long as it is open. The connection ends when Firefox is closed. On our server we store a randomized identifier for your browser, along with a randomized identifier for each site you authorize.

On Firefox for desktop, the push service is operated by Mozilla. Firefox for Android uses a combination of the Mozilla Web Push service and Google’s Cloud Messaging platform to deliver notifications to Firefox for Android.

In both cases, push messages are encrypted per the IETF spec and only your copy of Firefox can decipher them. The encrypted messages are stored on the server until they are delivered or expire.

How do I revoke Web Push permissions?

Web Push is always opt-in in Firefox. A site cannot send you push messages without your permission. To stop a specific site from sending you push messages:

  1. Go to the Firefox menu New Fx Menu and select OptionsPreferences.
  2. Select the Content panel and click the Choose button under Notifications.
  3. Select the site.
  4. Click Remove Site.

To stop all sites from sending you push messages, follow the above steps except, instead of selecting a specific site, click Remove All Sites. Websites will not be able to send you messages and will need to ask your permission to send them in the future.

How do I add Web Push to my website?

The Push API specification explains how to create a Service Worker and send push messages.

এই প্রবন্ধটি কি সহায়তাকারী?

দয়া করে অপেক্ষা করুন...

These fine people helped write this article:

Illustration of hands

স্বেচ্ছাসেবক

আপনার দক্ষতা বাড়ান এবং অন্যদের সাথে শেয়ার করুন। প্রশ্নের উত্তর দিন এবং আমাদের জ্ঞানের ভিত্তি উন্নত করুন।

আরও জানুন