PageSourceSearch

https://formbuilder.ai/js/user.js?v=1778637592

js formbuilder.ai collected 2026-10-05 12:06:25 UTC 1,043 bytes, 25 lines download raw bytes

1function isUserLoggedIn() {
2    if (document.cookie.split(';').some(c => c.trim().startsWith('_logged_in='))) return true;
3    return false;
4}
5
6document.addEventListener('DOMContentLoaded', function() {
7    if (isUserLoggedIn()) {
8        var container = document.querySelector('.add-li-dashboard');
9        if (container) {
10            var loginBtn = container.querySelector('.auth-login-btn');
11            var signupBtn = container.querySelector('.auth-signup-btn');
12            if (loginBtn) loginBtn.remove();
13            if (signupBtn) signupBtn.remove();
14
15            var locale = (typeof APP_LOCALE !== 'undefined' && APP_LOCALE !== 'en') ? APP_LOCALE + '/' : '';
16            var label = (typeof APP_DASHBOARD_LABEL !== 'undefined') ? APP_DASHBOARD_LABEL : 'Dashboard';
17
18            var link = document.createElement('a');
19            link.href = APP_FRONTEND_URL + locale + 'dashboard';
20            link.className = 'fb-header-signup';
21            link.textContent = label;
22            container.appendChild(link);
23        }
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.