PageSourceSearch

https://embed-app.huvu.ai/storage/basset/vendor/backpack/crud/src/resources/assets/js/common.js?8b76a896a620

js huvu.ai collected 2026-09-26 07:50:22 UTC 458 bytes, 12 lines download raw bytes

1// Ajax calls should always have the CSRF token attached to them, otherwise they won't work
2$.ajaxSetup({
3    headers: {
4        'X-CSRF-TOKEN': document.querySelector('meta[name="csrf-token"]').content,
5    }
6});
7
8// Enable deep link to tab
9document.querySelectorAll('.nav-tabs a').forEach(e => {
10    if(e.dataset.name === location.hash.substring(1)) (new bootstrap.Tab(e)).show();
11    e.addEventListener('click', () => location.hash = e.dataset.name);
12});

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.