PageSourceSearch

https://quranacademy.io/assets/js/notification.min.js?v=1.1.8

js quranacademy.io collected 2026-09-24 21:57:56 UTC 1,080 bytes, 4 lines download raw bytes

1var NotificationType={News:'news',Info:'info',Success:'success',Warning:'warning',Error:'danger'}
2function notify(notificationType,notification,notificationCenter,append){notificationCenter=notificationCenter||"#main-notification-center";var icons={news:'fa fa-fw fa-bullhorn',info:'fa fa-fw fa-info-circle',success:'fa fa-fw fa-check-circle',warning:'fa fa-fw fa-exclamation-triangle',danger:'fa fa-fw fa-exclamation-circle'}
3var alert={news:'alert-info',info:'alert-info',success:'alert-success',warning:'alert-warning',danger:'alert-danger'}
4var dismiss=$('<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>');var icon=$('<span class="'+icons[notificationType]+'"></span>');var message=$('<span>'+notification+'</span>').css('margin-left',10);var notificationAlert=$('<div></div>').addClass("alert shake alert-dismissible "+alert[notificationType]).append(dismiss).append(icon).append(message);if(!append)$(notificationCenter).children().remove();$(notificationCenter).show().append(notificationAlert);}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.