Ihsabha
AREN
IhsabhaIslamic Tools › Prayer Notification Widget

🔔 Prayer Notification Widget

Turn on live, in-browser alerts for every daily prayer time — Fajr, Dhuhr, Asr, Maghrib, and Isha — with an optional sound chime, a system notification, and a countdown to the next Salah, right on this page.

🕌 Prayer Times & Direction
🛡️ Reviewed by: Ihsabha Editorial Team · Method: Aladhan.com's astronomical prayer-time calculation service, the great-circle Qibla bearing formula from spherical trigonometry, and the classical three-part division of the night — no data ever leaves your browser except the optional live prayer-time lookup · Last updated: August 8, 2026
🔒 Privacy note: Everything on this page runs entirely inside your browser using client-side JavaScript. Nothing you type is ever uploaded, logged, or sent to any server.

How to use this tool

  1. Press "Use my current location", or enter your latitude and longitude manually.
  2. Choose your preferred calculation method and Asr juristic school.
  3. Keep the sound chime checkbox checked if you want an audible alert.
  4. Press "Enable Prayer Notifications for Today", and allow browser notifications if prompted.
  5. Keep this browser tab open — a banner, and optionally a system notification and sound, will appear the moment each remaining prayer time arrives.

Everything runs locally in your browser — no sign-up required, and no data is ever sent anywhere.

About this tool

Remembering the exact moment each of the five daily prayers begins is easy to lose track of during a busy day, especially once a browser tab is buried under other work. This widget solves that by fetching today's prayer times for your exact coordinates from the Aladhan calculation service, then setting a timer for every prayer still ahead of you. When each time arrives, the page shows an on-screen banner, and, if you allow it, your browser displays a system notification and plays a short audio chime through the Web Audio API, generated entirely in code with no sound file to download. Because everything runs from timers set the moment you press the button, notifications only fire while this browser tab stays open; closing the tab or restarting the browser clears every pending alert, so pressing the button again after reopening the page is needed each day. This straightforward, transparent approach avoids any background service, account, or app installation while still giving a genuinely useful, real-time reminder for the prayer that matters most: the next one.

How This Prayer Notification Widget Works, and Its One Real Limitation

Phone apps are not the only way to get reminded when a prayer time arrives. A single open browser tab, backed by a page like this one, can do the same job: fetch accurate prayer times for your exact coordinates, count down to the next one, and alert you the moment it arrives, with no installation and no account required.

Under the hood, the process is straightforward. Once you enter your location and press the button, the widget requests today's five prayer times from the Aladhan calculation service using the calculation method and Asr school you selected, the same trusted source used elsewhere on this site for prayer time lookups. For every prayer that has not yet passed, it sets a timer for the exact number of milliseconds remaining until that prayer begins.

When one of those timers fires, two things can happen depending on what your browser allows. A banner always appears directly on this page announcing that the prayer time has arrived, and, if you granted notification permission when prompted, your operating system also displays a standard desktop or mobile notification, the same kind any other website or app might show. An optional short chime, built entirely from a Web Audio API oscillator rather than a downloaded sound file, can play alongside either alert.

The one genuine limitation worth understanding clearly is that every timer lives only in your browser's memory for as long as this tab stays open. Closing the tab, closing the browser entirely, restarting your device, or even some mobile browsers going to sleep in the background for an extended period can clear those pending timers. There is no server quietly keeping track of your prayers in the background and pushing a notification to you later; everything happens locally, in real time, only while the page is actually open. That is by design: it keeps this tool simple, keeps your location entirely private, and avoids the account creation, app installation, or background service permissions that a persistent all-day notification system would otherwise require.

In practice, this makes the widget most useful as a companion for whatever you are already doing at your computer: open the page in the morning, press Enable once, and let the remaining prayers of the day quietly announce themselves in the background while you work, study, or browse, without needing to check a clock or a separate app every hour to see how much time is left.

Frequently asked questions

How do prayer notifications work on this page?

After you enter your location and press Enable, the widget fetches today's five prayer times from the Aladhan service and sets a countdown for each one still ahead of you. When a time arrives, it shows a banner on this page and, if permission was granted, a system notification from your browser.

Do I need to allow browser notifications for this to work?

No. Even without granting notification permission, the on-page banner and optional sound chime still appear the moment a prayer time arrives, as long as this browser tab remains open. Browser notification permission simply adds a system-level alert on top of that.

Will I still get notified if I close this browser tab?

No. All timers are set in your browser's memory the moment you press Enable, so closing the tab, closing the browser, or restarting your device clears every pending alert. You will need to reopen this page and press the button again to resume notifications.

Does this widget use my location for anything other than prayer times?

No. Your coordinates are used only to request today's prayer times from the Aladhan calculation service and are never stored, logged, or sent anywhere else. Nothing you enter on this page is uploaded to any server operated by this website.

Why did I not hear a sound when a prayer time arrived?

Make sure the sound chime checkbox is checked before pressing Enable, and that your device volume is turned up. Some browsers also require at least one click anywhere on the page before they allow any sound to play automatically, so clicking the Enable button itself normally satisfies that requirement.