Prayer times widget
Shows today's Fajr, Sunrise, Dhuhr, Asr, Maghrib and Isha for a city, with the next prayer highlighted. The times use the same calculation methods as the Munādī app. Copy the code below into your page and change the city.
To change the city, replace london in the code with one of: london, birmingham, manchester, new-york, chicago, houston, los-angeles, dearborn, toronto, paris, berlin, istanbul, cairo, riyadh, dubai, karachi, lahore, delhi, mumbai, dhaka, jakarta, kuala-lumpur, sydney, johannesburg, lagos. For another place, use lat, lon and tz instead, for example ?lat=51.5&lon=-0.12&tz=Europe/London&name=Your%20town.
Add &method=karachi to choose a calculation method, and &madhab=hanafi for the later Asr. Methods: muslim_world_league, north_america, egyptian, karachi, umm_al_qura, dubai, moon_sighting_committee, kuwait, qatar, singapore, turkey, tehran. Add &h24=1 for a 24-hour clock. If you do not pass a method, the widget uses the Muslim World League method, or the common local method for the cities where the city pages describe one. Calculated times can differ from your local mosque's timetable, so choose the method your mosque follows.
Qibla finder widget
A city list and a Use my location button that show the bearing and distance to the Kaʿbah, with a small needle. Add ?city=london to preselect a city.