PageSourceSearch

https://www.boostmobile.com/etc.clientlibs/dopweb/clientlibs/clientlib-modal-open.min.js

js boostmobile.com collected 2026-10-01 10:24:43 UTC 907 bytes, 26 lines download raw bytes

1//Multiple buttons Fuction
2function openModal(modal, buttonLink) {
3    const $modal = $('#'+modal);
4    $modal.css('visibility', 'visible');
5    $modal.addClass('md-show');
6    if (($modal).parents().find(".boost-infinite").length > 0 && buttonLink.length > 0 && buttonLink !== '#') {
7        setNewModalSubmitLink(buttonLink.startsWith("http") ? buttonLink : window.location.origin + buttonLink);
8    }
9}
10
11//Close modal by ESC
12function closeModal(){
13    const $modal = $('.cmp-modal');
14    $modal.css('visibility', 'hidden');
15    $modal.removeClass('md-show');
16    $modal.siblings('.open-modal.is-active').removeClass('is-active');
17    $('.open-modal .cmp-button').css('visibility', 'visible');
18}
19
20$(document).ready(function () {
21    $(document).keydown(function(event) { 
22    if ((event.keyCode === 27) && (document.getElementsByClassName('md-show').length === 1)) {
23        closeModal();
24    }
25  });
26});

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.