PageSourceSearch

https://roadster.hu/assets/ca1ba504/f5aa21e1/js/mobile-promo.js

js roadster.hu collected 2026-09-24 23:20:31 UTC 658 bytes, 20 lines download raw bytes

1jQuery(document).ready(function ($) {
2    setBindEvents();
3    showPromo();
4});
5
6function setBindEvents() {
7    (jQuery)(".mobile-promo-box .close-btn").on('click', function (e) {
8        e.preventDefault();
9        jQuery.cookie('mobile-promo-box', 'seen', {expires: 1, path: '/'});
10        $('.mobile-promo-box').hide();
11        gtag('event', 'click', {'event_category': 'Mobil kiemelt cikkek', 'event_label': 'Close'});
12    });
13}
14
15function showPromo() {
16    if (jQuery.cookie('mobile-promo-box') !== 'seen') {
17        $('.mobile-promo-box').show();
18        gtag('event', 'click', {'event_category': 'Mobil kiemelt cikkek', 'event_label': 'Open'});
19    }
20}

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.