PageSourceSearch

https://www.haberyazar.com/csrf.js

js haberyazar.com collected 2026-10-02 21:02:48 UTC 1,039 bytes, 25 lines download raw bytes

1(function(){
2    window.csrfToken = '132MCm7FXeAz2rfss4k4Z5ZLdjI7A4k4sL1pun6T';
3
4    function applyToken() {
5        if (typeof jQuery !== 'undefined') {
6            $('meta[name="csrf-token"]').attr('content', '132MCm7FXeAz2rfss4k4Z5ZLdjI7A4k4sL1pun6T');
7            $('input[name="_token"]').val('132MCm7FXeAz2rfss4k4Z5ZLdjI7A4k4sL1pun6T');
8            $.ajaxSetup({ headers: { 'X-CSRF-TOKEN': '132MCm7FXeAz2rfss4k4Z5ZLdjI7A4k4sL1pun6T' }});
9        }
10        else {
11            let meta = document.querySelector('meta[name="csrf-token"]');
12            if (meta) {
13                meta.setAttribute('content', '132MCm7FXeAz2rfss4k4Z5ZLdjI7A4k4sL1pun6T');
14            }
15            document.querySelectorAll('input[name="_token"]').forEach(function(input) {
16                input.value = '132MCm7FXeAz2rfss4k4Z5ZLdjI7A4k4sL1pun6T';
17            });
18        }
19    }
20    if (document.readyState === 'loading') {
21        document.addEventListener('DOMContentLoaded', applyToken, { once: true });
22    } else {
23        applyToken();
24    }
25})();

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.