0372552307

SEO, the secret to growing your business visibility

Search optimization: content, speed and links

Do you have an active business with an online presence? Would you like it to become better known?

Online marketing plays a major role in increasing your business visibility and creating added value for your customers. Unlike traditional marketing, online marketing is not limited by place or time, it is dialogue-driven, interactive, and highly relational, while any marketing strategy is designed directly around customers defined by specific traits.

If your business has a website, the most effective online promotion tools are search engines, as they can offer a reliable path to success. The people using them want information quickly in order to meet different needs.

What does your website represent for your business?

Your website represents your company, your online window that helps you build your image and sell your products and services. A website informs, reminds, and differentiates your company, your products, and your services.

How does a search engine work and how can you promote your business through it?

  1. A user searches for a term on a search engine (for example, Google).
  2. The search query is sent through a web server.
  3. The query reaches an index server that searches for results and then displays them to the user.

Currently, Google is the most widely used search engine.

If your goal is to increase your company's visibility through search engines, you should consider these 2 promotion tools:

  • SEO (Search Engine Optimization)
    You optimize your website content, and search engines rank it as high as possible in organic (unpaid) results.
  • SEM (Search Engine Marketing)
    You pay for ads, and search engines display them when people search for products or services similar to yours.

Why are SEO and SEM important?

  • A large share of website traffic comes from search engines;
  • They improve your brand image and reputation;
  • They help you reach an audience genuinely interested in your products or services;
  • ROI (Return on Investment) is better than in traditional promotion.

Do you have a modest marketing budget? Wondering what promotion options you have? SEO is the solution for cost-effective and efficient promotion!

No matter how small your marketing budget is, SEO (search engine optimization) is something you can afford to do. Do not ignore this online marketing tool that may become the secret of your success!

As a business owner, you should see SEO as a reliable way to achieve higher positions in search engine results. Your website visibility will increase significantly, and the users who reach it will be interested in your products, services, and the information you provide.

Traffic generated through SEO is high-quality traffic that can turn into conversions and revenue.

Although most search engines change their ranking algorithms periodically, several factors help secure a better position in the results list for your target searches, the most important being:

  • How often search terms appear on the page;
  • The number of websites that link to the page in question (backlinks);
  • Being listed in industry-specific portals;
  • Including the main search term in the page title (the tag);</li> <li>Alternative text for images (the alt attribute);</li> <li>The page description in <meta> tags (for example, <meta name="description" ...>). A strong meta description increases clicks from search results!</li> </ul> <p class="text-indent mb-1">SEO, this highly important online marketing discipline, can be structured into:</p> <ul class="mb-4"> <li><strong>On-Page SEO</strong>: Relevance - ranking signals on the website.</li> <li><strong>Off-Page SEO</strong>: Popularity - ranking signals pointing to the website.</li> </ul> <h2 class="mt-4">On-Page SEO</h2> <p class="mb-1"><strong>Components:</strong></p> <ul class="mb-4"> <li><strong>Keywords (search terms)</strong>: <ul> <li>transactional: Example: "seo price";</li> <li>informational: Example: "how to do seo";</li> <li>navigational: Example: "agentieseo.ro website", "agentieseo.ro".</li> </ul> › A keyword can be a word, a phrase, a question, a name, or a search expression!<br /> › Make sure the information on your website matches the user's needs!<br /> › SEO always starts with "keyword research"! </li> <li><strong>Website content</strong>:<br /> › Offer visitors interesting and original content with relevant answers!<br /> › Avoid duplicate content!<br /> › Create high-quality content that impresses both algorithms and people!<br /> › Update the information regularly! </li> <li>Website architecture and keyword mapping;</li> <li>User experience (UX);</li> <li>Website loading speed;</li> <li>URL structure;</li> <li>Mobile optimization (mobile friendly).</li> </ul> <h2 class="mt-4">Off-Page SEO</h2> <p class="mb-1"><strong>Components:</strong></p> <ul> <li>External links (domains that refer traffic to your website);</li> <li>Content sharing and virality.</li> </ul> <p class="text-indent">Off-Page SEO refers to the strategies you apply outside your website to achieve better organic rankings, especially earning quality links to your website.</p> <p class="text-indent">The main objective is for external links to come from pages with strong SEO value and to be natural, not just made to look natural!</p> <p class="text-indent">In conclusion, SEO includes all the methods used to move your website as high as possible in search engine results, especially on Google, for the searches made by your potential visitors.</p> <p class="text-indent">Because we want to be your partner on the road to success, we offer you <a href="/expunere-premium.asp" class="link-primary">Premium Exposure</a> which includes DoFollow links to your website in its benefits package (Off-Page SEO). ListaFirme can help you bring more high-quality traffic to your website! </p> </div> </div> </div> </main> <!-- Footer --> <footer class="navbar-bg-translucent text-center text-md-start text-light pt-4 pb-5 pb-md-2 d-print-none lf-footer"> <div class="container"> <div class="row gy-4"> <div class="col-md-9"> <div class="row gy-4"> <nav class="col-md-4 col-12" aria-label="Quick Links"> <p class="text-uppercase fw-bold mb-2 lf-footer__title">Quick Links</p> <ul class="list-unstyled lf-footer__links"> <li><a href="/resurse-afaceri.asp"><i class="fa-light fa-briefcase"></i>Business Resources</a></li> <li><a href="/specificatii/aplicatie-ios-android.asp"><i class="fa-light fa-mobile-screen"></i>iOS/Android App</a></li> </ul> </nav> <nav class="col-md-4 col-12" aria-label="Legal Documents"> <p class="text-uppercase fw-bold mb-2 lf-footer__title">Legal Documents</p> <ul class="list-unstyled lf-footer__links"> <li><a href="/specificatii/termeni.asp"><i class="fa-light fa-file-lines"></i>Terms and Conditions</a></li> <li><a href="/specificatii/date-personale-gdpr.asp"><i class="fa-light fa-shield-check"></i>Privacy / GDPR</a></li> <li><a href="/specificatii/termeni.asp#cookies"><i class="fa-light fa-cookie"></i>Cookie Policy</a></li> <li><a href="/specificatii/"><i class="fa-light fa-circle-info"></i>Other Details</a></li> </ul> </nav> <nav class="col-md-4 col-12" aria-label="Company"> <p class="text-uppercase fw-bold mb-2 lf-footer__title">Company</p> <ul class="list-unstyled lf-footer__links"> <li><a href="/specificatii/istoric.asp"><i class="fa-light fa-timeline"></i>History</a></li> <li><a href="/specificatii/echipa.asp"><i class="fa-light fa-users"></i>Team</a></li> <li><a href="https://jobs.borgdesign.ro/"><i class="fa-light fa-user-plus"></i>Careers</a></li> <li><a href="/contact.asp"><i class="fa-light fa-headset"></i>Support</a></li> <li><a href="/feedback.asp"><i class="fa-light fa-comment-dots" aria-hidden="true"></i>Feedback</a></li> <li><a href="/specificatii/presa.asp"><i class="fa-light fa-newspaper"></i>Press</a></li> </ul> </nav> </div> <div class="row mt-1"> <div class="col-12"> <div class="lf-footer__newsletter"> <p class="text-uppercase fw-bold mb-2 lf-footer__title">Social</p> <form class="input-group w-100 mb-2" method="post" action="/newsletter.asp" aria-label="Newsletter Subscription Form"> <span class="input-group-text text-light border-0 lf-footer__newsletter-icon"><i class="fa-light fa-envelope"></i></span> <input type="email" name="email" class="form-control" placeholder="Email Address" aria-label="Subscription Email Address" required autocomplete="on"> <button class="btn btn-outline-light" type="submit">Subscribe</button> </form> <p class="small mb-3 lf-footer__muted">Receive updates and useful information directly in your inbox.</p> <div class="social-icons lf-footer__social"> <a target="_blank" rel="noopener noreferrer" href="https://www.linkedin.com/company/listafirme-ro" aria-label="LinkedIn"><i class="fa-brands fa-linkedin-in"></i>LinkedIn</a> <a target="_blank" rel="noopener noreferrer" href="https://www.facebook.com/ListaFirmeCatalog" aria-label="Facebook"><i class="fa-brands fa-facebook-f"></i>Facebook</a> <a target="_blank" rel="noopener noreferrer" href="https://www.instagram.com/listafirme/" aria-label="Instagram"><i class="fa-brands fa-instagram"></i>Instagram</a> <a target="_blank" rel="noopener noreferrer" href="https://www.youtube.com/@ListaFirme-Ro" aria-label="YouTube"><i class="fa-brands fa-youtube"></i>YouTube</a> </div> </div> </div> </div> </div> <nav id="footer-solutii" class="col-md-3 col-12" aria-label="Solutions"> <p class="text-uppercase fw-bold mb-2 lf-footer__title">Solutions</p> <ul class="list-unstyled lf-footer__links"> <li><a href="/solutii/contabili.asp"><i class="fa-light fa-calculator"></i>Accountants</a></li> <li><a href="/solutii/credite.asp"><i class="fa-light fa-building-columns"></i>Credit Officers</a></li> <li><a href="/solutii/investitori.asp"><i class="fa-light fa-chart-line-up"></i>Investors / Business Analysts</a></li> <li><a href="/solutii/vanzari.asp"><i class="fa-light fa-handshake"></i>Sales / Business Development</a></li> <li><a href="/solutii/achizitii.asp"><i class="fa-light fa-truck-ramp-box"></i>Procurement</a></li> <li><a href="/solutii/anteprenori.asp"><i class="fa-light fa-lightbulb"></i>Entrepreneurs / Startups</a></li> <li><a href="/solutii/consultanti.asp"><i class="fa-light fa-file-invoice-dollar"></i>Tax Consultants</a></li> <li><a href="/solutii/brokeri.asp"><i class="fa-light fa-shield"></i>Insurance Brokers</a></li> <li><a href="/solutii/cercetare.asp"><i class="fa-light fa-magnifying-glass-chart"></i>Market Research</a></li> </ul> </nav> </div> </div> <div class="lf-sticky-toolbar d-print-none" role="toolbar" aria-label="Quick Actions"> <button class="btn lf-sticky-toolbar__btn" type="button" id="lfSupportTrigger" data-mdb-ripple-init title="Support" aria-label="Support"> <span class="lf-sticky-toolbar__icon" aria-hidden="true"> <i class="fa-light fa-headset"></i> </span> <span class="lf-sticky-toolbar__label">Support</span> </button> <button class="btn lf-sticky-toolbar__btn" type="button" data-mdb-ripple-init onclick="window.print();" title="Print as PDF" aria-label="Print as PDF"> <span class="lf-sticky-toolbar__icon" aria-hidden="true"> <i class="fa-light fa-file-pdf"></i> </span> <span class="lf-sticky-toolbar__label">PDF</span> </button> <button class="btn lf-sticky-toolbar__btn d-none" type="button" data-mdb-ripple-init id="btnScrollTopMF" onclick="scrollToTopMF()" title="Back to Top" aria-label="Back to Top"> <span class="lf-sticky-toolbar__icon" aria-hidden="true"> <i class="fa-light fa-arrow-up"></i> </span> <span class="lf-sticky-toolbar__label">Top</span> </button> </div> <div class="chat-popup form-container text-center lf-sticky-panel" id="LFChatForm"> <div id="aniaWindowResize" class="position-absolute top-0 start-0 w-100" style="height:9px;cursor:ns-resize;touch-action:none;z-index:2;" role="separator" tabindex="0" aria-orientation="horizontal" aria-controls="LFChatForm" aria-label="Resize the Ania window height" title="Drag the top edge to resize"> <span class="position-absolute top-0 start-50 translate-middle-x rounded-pill bg-secondary opacity-50" style="width:28px;height:3px;margin-top:2px;pointer-events:none;" aria-hidden="true"></span> </div> <div class="d-flex align-items-center gap-1 mb-2"> <p id="aniaWindowMove" class="h5 text-start mb-0 flex-grow-1 text-truncate" style="min-width:0;cursor:move;touch-action:none;user-select:none;" tabindex="0" aria-keyshortcuts="ArrowUp ArrowDown ArrowLeft ArrowRight" aria-describedby="aniaWindowMoveHint" title="Drag the title to move the window">Chat with Ania</p> <span id="aniaWindowMoveHint" hidden>Move the window by dragging the title or using the arrow keys. Hold Shift with an arrow key to move faster.</span> <a id="aniaWindowHelp" href="/chat-ania.asp" target="_blank" rel="noopener" class="btn btn-link btn-sm p-0 text-primary flex-shrink-0" data-mdb-ripple-init title="What ANIA can do" aria-label="What ANIA can do"><i class="fa-light fa-circle-question" style="font-size:14px;" aria-hidden="true"></i></a> <button id="aniaWindowReset" type="button" class="btn btn-link btn-sm p-0 text-body flex-shrink-0" data-mdb-ripple-init title="Reset position and size" aria-label="Reset position and size"><i class="fa-light fa-arrow-rotate-left" aria-hidden="true"></i></button> <button type="button" class="btn-close ms-1 flex-shrink-0" aria-label="Close" onclick="CloseChat()"></button> </div> <!-- Previous iframe URL, before binding the displayed support representative: <iframe src="[ASP: If true or Session("bid")=526 Then Response.Write "/aia-frame-r.asp" Else Response.Write "/aia-frame.asp" End If :ASP]" class="chat-iframe" title="[ASP:=ttd("Discută cu Ania","Chat with Ania","footer.inc.asp") :ASP]" loading="lazy"></iframe> --> <iframe src="/aia-frame-r.asp?support_id=3" class="chat-iframe" title="Chat with Ania" loading="lazy"></iframe> </div> <div id="manager-window" class="card bg-light border d-none lf-sticky-panel"> <div class="card-body"> <button id="closeCard" class="btn-close float-end" aria-label="Close"></button> <div class="chat-widget-container"> <div class="chat-widget-text"> <p class="heading contact-title text-center border-bottom pb-2 mb-3">Customer Support</p> </div> </div> <div class="chat-box-container"> <img src="https://listafirme.eu/platform-static/platform-images/echipa/mn4.webp" class="profile-img" alt="Mariana Trașcă"> <div class="chat-box-content"> <strong>Mariana Trașcă</strong><br>helps you<br> between 8 AM and 6 PM, Mon-Fri.<br><br> <div class="contact-info"> <a href="tel:0040372552307"><i class="fa-light fa-phone-volume"></i> 0372552307</a> <a href="mailto:mariana.trasca@listafirme.ro"><i class="fa-light fa-envelope"></i> mariana.trasca@listafirme.ro</a> <a title="Whatsapp" href="https://wa.me/40721324638"> <i class="fa-brands fa-whatsapp"></i> WhatsApp </a> </div> </div> <a id="aniachat" class="btn btn-outline-success w-100 mt-1" title="Artificial Intelligence"> Do you prefer AI? </a> </div> </div> </div> </footer> <!-- End Footer --> <script> (function () { var btn = document.getElementById('btnScrollTopMF'); if (!btn) return; function toggleScrollTopMF() { if (window.scrollY > 1400) { btn.classList.remove('d-none'); } else { btn.classList.add('d-none'); } } var initialScrollTopPending = false; function scheduleInitialScrollTopMF() { if (initialScrollTopPending) return; initialScrollTopPending = true; // Let the browser render before reading the initial scroll position. window.requestAnimationFrame(function () { window.requestAnimationFrame(function () { initialScrollTopPending = false; toggleScrollTopMF(); }); }); } window.addEventListener('scroll', toggleScrollTopMF, { passive: true }); window.addEventListener('pageshow', scheduleInitialScrollTopMF); // Immediate initialization forced layout while the page was still parsing. // toggleScrollTopMF(); scheduleInitialScrollTopMF(); })(); const managerWindow = document.getElementById('manager-window'); const closeButton = document.getElementById('closeCard'); const supportButton = document.getElementById('lfSupportTrigger'); const chatWidget = document.getElementById('LFChatForm'); const aniachat = document.getElementById('aniachat'); function PersistChatState(isOpen) { try { localStorage.setItem('lf_chat_open', isOpen ? '1' : '0'); } catch (e) {} } function RestoreChatState() { try { return localStorage.getItem('lf_chat_open') === '1'; } catch (e) { return false; } } function SetChatState(isOpen) { PersistChatState(isOpen); try { fetch('/ajax/chatstate.asp', { method: 'POST', headers: {'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'}, body: 'open=' + (isOpen ? '1' : '0') }); } catch (e) {} } if (supportButton) { supportButton.addEventListener('click', function (event) { event.stopPropagation(); if (chatWidget) chatWidget.style.display = "none"; managerWindow.classList.toggle('d-none'); SetChatState(false); }); } if (closeButton) { closeButton.addEventListener('click', function (event) { event.stopPropagation(); managerWindow.classList.add('d-none'); }); } if (aniachat) { aniachat.addEventListener('click', function (event) { event.stopPropagation(); managerWindow.classList.add('d-none'); if (window.AniaTrackOpen) window.AniaTrackOpen(); chatWidget.style.display = "block"; SetChatState(true); }); } document.addEventListener('click', function (event) { var target = event.target; var isNavigationClick = !!(target && target.closest && target.closest('a[href]')); if (managerWindow && !managerWindow.classList.contains('d-none')) { if (!managerWindow.contains(target) && !target.closest('#lfSupportTrigger')) { managerWindow.classList.add('d-none'); } } // Keep ANIA open on outside clicks; closing uses the explicit chat controls. /* if (chatWidget && chatWidget.style.display === 'block') { if (!isNavigationClick && !chatWidget.contains(target) && !target.closest('#lfSupportTrigger') && !target.closest('[data-open-chat]')) { chatWidget.style.display = 'none'; SetChatState(false); } } */ }); if (chatWidget && chatWidget.style.display !== 'block' && RestoreChatState()) { chatWidget.style.display = 'block'; } function OpenChat() { if (window.AniaTrackOpen) window.AniaTrackOpen(); document.getElementById("LFChatForm").style.display = "block"; if (managerWindow) managerWindow.classList.add('d-none'); SetChatState(true); } function CloseChat() { document.getElementById("LFChatForm").style.display = "none"; SetChatState(false); } window.OpenChat = OpenChat; window.CloseChat = CloseChat; </script> <script> (function (w, d) { if (w.LFfirebaseAuthLoader) return; var loaderState = { promise: null, auth: null }; var authButtons = []; var authStatus = []; var currentAttempt = null; // Pending Facebook credentials stay in this page memory only. var pendingFacebookLink = null; var attemptNumber = 0; var authTrace = function () {}; var authMessages = { conflict: "An account already exists for this email address. To link Facebook, confirm through Google using the same email address.", conflictOther: "An account already exists with this email address. Sign in using your previous sign-in method.", linkAction: "Confirm with Google and link Facebook", linkCancel: "Cancel linking", linkPending: "Confirming the Google account and linking Facebook...", linkMismatch: "The selected Google account does not match the Facebook email address or its email is not verified. Nothing was linked. Choose the Google account with the same email address.", linkUnavailable: "Linking could not be completed. Start Facebook sign-in again or use your existing sign-in method.", linkInUse: "This Facebook account is already linked to another account. The link was not changed. Use your existing sign-in method.", linkCancelled: "Facebook linking was cancelled. You can choose a sign-in method.", loading: "Preparing sign-in...", pending: "Sign-in is in progress...", retry: "If the window did not open, click the provider again to retry.", prepareError: "Sign-in could not be prepared. Click a provider to retry.", blocked: "The sign-in window was blocked. Click the provider again to retry.", closed: "Sign-in was closed. You can try again.", failed: "Sign-in failed. Please try again." }; function setAuthButtons(disabled) { authButtons.forEach(function (button) { button.disabled = disabled; button.setAttribute("aria-busy", disabled ? "true" : "false"); }); } function normalizeAuthEmail(value) { return typeof value === "string" ? value.trim().toLowerCase() : ""; } function showFacebookLink(message) { showAuthStatus(message, true); // Use the existing visible status area; do not add another menu or modal. var status = authStatus.filter(function (element) { return element.getClientRects().length > 0; })[0]; if (!status || !pendingFacebookLink) return; var confirm = d.createElement("button"); confirm.type = "button"; confirm.className = "btn btn-primary btn-sm mt-2"; confirm.textContent = authMessages.linkAction; confirm.addEventListener("click", function (event) { event.preventDefault(); event.stopPropagation(); loginWithProvider("google", true); }); var cancel = d.createElement("button"); cancel.type = "button"; cancel.className = "btn btn-link btn-sm mt-2"; cancel.textContent = authMessages.linkCancel; cancel.addEventListener("click", function (event) { event.preventDefault(); event.stopPropagation(); if (currentAttempt && !currentAttempt.allowRetry) return; if (currentAttempt) w.clearTimeout(currentAttempt.timer); currentAttempt = null; pendingFacebookLink = null; setAuthButtons(false); showAuthStatus(authMessages.linkCancelled); }); status.appendChild(d.createElement("br")); status.appendChild(confirm); status.appendChild(cancel); } function showAuthStatus(message, isError) { authStatus.forEach(function (element) { element.textContent = message; element.hidden = !message; element.classList.toggle("text-danger", !!isError); element.classList.toggle("text-muted", !isError); }); } var firebaseConfig = { apiKey: "AIzaSyD5X5uIrHZO6AxbRDq6atKDrXZz6cuQ63I", authDomain: "listafirme-153d1.firebaseapp.com", projectId: "listafirme-153d1", storageBucket: "listafirme-153d1.firebasestorage.app", messagingSenderId: "624356074668", appId: "1:624356074668:web:34b76d68c6f6f28d77eb09", measurementId: "G-75361DESMT" }; function loadExternalScript(src) { return new Promise(function (resolve, reject) { var existing = d.querySelector('script[src="' + src + '"]'); if (existing && existing.getAttribute("data-lf-failed") === "1") { existing.remove(); existing = null; } var timer = w.setTimeout(function () { fail(existing || script); }, 20000); function loaded(element) { w.clearTimeout(timer); element.setAttribute("data-lf-loaded", "1"); resolve(); } function fail(element) { w.clearTimeout(timer); if (element) element.setAttribute("data-lf-failed", "1"); reject(new Error("Nu s-a putut incarca scriptul: " + src)); } if (existing) { if (existing.getAttribute("data-lf-loaded") === "1") { w.clearTimeout(timer); resolve(); return; } existing.addEventListener("load", function () { loaded(existing); }, { once: true }); existing.addEventListener("error", function () { fail(existing); }, { once: true }); return; } var script = d.createElement("script"); script.src = src; script.async = true; script.onload = function () { loaded(script); }; script.onerror = function () { fail(script); }; d.head.appendChild(script); }); } function waitForAuthReady(auth) { return new Promise(function (resolve, reject) { var unsubscribe = null; var settled = false; var timer = w.setTimeout(function () { finish(new Error("Firebase initialization timed out.")); }, 20000); function finish(error) { if (settled) return; settled = true; w.clearTimeout(timer); if (unsubscribe) unsubscribe(); if (error) reject(error); else resolve(auth); } try { // The first auth-state notification waits for persistence and mobile popup setup. unsubscribe = auth.onAuthStateChanged(function () { finish(); }, finish); if (settled && unsubscribe) unsubscribe(); } catch (error) { finish(error); } }); } function ensureFirebaseAuthReady() { if (loaderState.promise) return loaderState.promise; loaderState.promise = loadExternalScript("https://www.gstatic.com/firebasejs/9.22.0/firebase-app-compat.js") .then(function () { return loadExternalScript("https://www.gstatic.com/firebasejs/9.22.0/firebase-auth-compat.js"); }) .then(function () { if (!w.firebase || !w.firebase.auth) { throw new Error("Firebase nu este disponibil."); } if (!w.firebase.apps || !w.firebase.apps.length) { w.firebase.initializeApp(firebaseConfig); } // Returning w.firebase.auth() alone did not wait for initialization. authTrace("sdk-loaded"); return waitForAuthReady(w.firebase.auth()); }) .then(function (auth) { loaderState.auth = auth; authTrace("auth-ready"); return auth; }) .catch(function (error) { loaderState.promise = null; throw error; }); return loaderState.promise; } function prepareAuth() { if (loaderState.auth) return Promise.resolve(loaderState.auth); if (!loaderState.promise) authTrace("prepare-start"); setAuthButtons(true); showAuthStatus(authMessages.loading); return ensureFirebaseAuthReady().then(function (auth) { setAuthButtons(false); showAuthStatus(""); return auth; }, function (error) { authTrace("prepare-error", null, error.code); setAuthButtons(false); showAuthStatus(authMessages.prepareError, true); return null; }); } function getRememberValue() { var rememberElem = d.getElementById("remember"); if (!rememberElem) return ""; if ((rememberElem.type || "").toLowerCase() === "checkbox") { return rememberElem.checked ? "on" : ""; } return rememberElem.value || ""; } function redirectWithToken(idToken) { w.location.href = "https://platform.listafirme.ro/callback.asp?lang=en&idToken=" + encodeURIComponent(idToken) + "&nexturl=" + encodeURIComponent(w.location.href) + "&remember=" + encodeURIComponent(getRememberValue()); } function createProvider(providerName) { switch ((providerName || "").toLowerCase()) { case "google": return new w.firebase.auth.GoogleAuthProvider(); case "facebook": return new w.firebase.auth.FacebookAuthProvider(); case "microsoft": return new w.firebase.auth.OAuthProvider("microsoft.com"); default: throw new Error("Provider necunoscut: " + providerName); } } function loginWithProvider(providerName, linkFacebook) { /* Previous flow: the cold SDK download delayed popup opening after the tap. return ensureFirebaseAuthReady() .then(function (auth) { return auth.signInWithPopup(createProvider(providerName)); }) .then(function (result) { return result.user.getIdToken(); }) .then(function (idToken) { redirectWithToken(idToken); }) .catch(function (error) { alert("Eroare: " + error.message); throw error; }); */ if (!loaderState.auth) { // Preparation never opens a popup later without a fresh user gesture. return prepareAuth(); } if (currentAttempt && !currentAttempt.allowRetry) { authTrace("duplicate-ignored", currentAttempt); return currentAttempt.promise; } if (linkFacebook && (providerName !== "google" || !pendingFacebookLink)) return Promise.resolve(null); if (!linkFacebook) pendingFacebookLink = null; if (currentAttempt) w.clearTimeout(currentAttempt.timer); var attempt = { id: ++attemptNumber, provider: providerName, allowRetry: false, facebookLink: linkFacebook ? pendingFacebookLink : null }; currentAttempt = attempt; setAuthButtons(true); showAuthStatus(attempt.facebookLink ? authMessages.linkPending : authMessages.pending); authTrace("popup-call", attempt); function failed(error) { w.clearTimeout(attempt.timer); if (currentAttempt !== attempt) { authTrace("old-error-ignored", attempt, error.code); return null; } authTrace("popup-error", attempt, error.code); currentAttempt = null; setAuthButtons(false); // Previously every conflict was hidden behind the generic failure message. if (error.code === "auth/account-exists-with-different-credential") { if (attempt.provider === "facebook" && error.credential && error.credential.providerId === "facebook.com" && normalizeAuthEmail(error.email)) { pendingFacebookLink = { credential: error.credential, email: normalizeAuthEmail(error.email) }; showFacebookLink(authMessages.conflict); } else { pendingFacebookLink = null; showAuthStatus(authMessages.conflictOther, true); } return null; } if (attempt.facebookLink) { if (error.code === "auth/popup-blocked" || error.code === "auth/popup-closed-by-user" || error.code === "auth/cancelled-popup-request" || error.code === "auth/link-email-mismatch") { showFacebookLink(error.code === "auth/link-email-mismatch" ? authMessages.linkMismatch : error.code === "auth/popup-blocked" ? authMessages.blocked : authMessages.closed); } else { pendingFacebookLink = null; showAuthStatus(error.code === "auth/credential-already-in-use" ? authMessages.linkInUse : authMessages.linkUnavailable, true); } return null; } var message = authMessages.failed; if (error.code === "auth/popup-blocked") message = authMessages.blocked; if (error.code === "auth/popup-closed-by-user") message = authMessages.closed; showAuthStatus(message, error.code !== "auth/popup-closed-by-user"); return null; } try { // Call Firebase in the click handler, with initialization already complete. var provider = createProvider(providerName); if (attempt.facebookLink) provider.setCustomParameters({ prompt: "select_account", login_hint: attempt.facebookLink.email }); var popupPromise = loaderState.auth.signInWithPopup(provider); } catch (error) { return Promise.resolve(failed(error)); } attempt.timer = w.setTimeout(function () { if (currentAttempt !== attempt) return; // Do not cancel a user who is still completing Google login or MFA. attempt.allowRetry = true; setAuthButtons(false); if (attempt.facebookLink) showFacebookLink(authMessages.retry); else showAuthStatus(authMessages.retry); authTrace("retry-available", attempt); }, 15000); attempt.promise = popupPromise.then(function (result) { if (currentAttempt !== attempt) return null; authTrace("credential-received", attempt); if (!attempt.facebookLink) return result.user.getIdToken(); // No second attempt may overlap a persistent account-link operation. w.clearTimeout(attempt.timer); attempt.allowRetry = false; setAuthButtons(true); showAuthStatus(authMessages.linkPending); var sameEmail = normalizeAuthEmail(result.user.email) === attempt.facebookLink.email; var googleProof = result.credential && result.credential.providerId === "google.com"; var existing = !result.additionalUserInfo || result.additionalUserInfo.isNewUser !== true; if (!sameEmail || result.user.emailVerified !== true || !googleProof || !existing) { return loaderState.auth.signOut().then(function () { throw { code: "auth/link-email-mismatch" }; }); } return result.user.linkWithCredential(attempt.facebookLink.credential).then(function (linked) { if (currentAttempt !== attempt) return null; pendingFacebookLink = null; // Firebase keeps the existing UID; the server callback validates the refreshed token. if (!linked.user || linked.user.uid !== result.user.uid) throw { code: "auth/link-identity-mismatch" }; return linked.user.getIdToken(true); }); }).then(function (idToken) { if (!idToken || currentAttempt !== attempt) return; w.clearTimeout(attempt.timer); attempt.allowRetry = false; setAuthButtons(true); authTrace("redirect:/callback.asp", attempt); redirectWithToken(idToken); }).catch(failed); return attempt.promise; } w.LFfirebaseAuthLoader = { preload: ensureFirebaseAuthReady, login: loginWithProvider }; w.preloadFirebaseAuth = function () { return ensureFirebaseAuthReady(); }; w.ensureFirebaseThenLogin = function (providerName) { return loginWithProvider(providerName); }; w.loginGoogle = function () { return loginWithProvider("google"); }; w.loginFacebook = function () { return loginWithProvider("facebook"); }; w.loginMicrosoft = function () { return loginWithProvider("microsoft"); }; function initAuthControls() { var menu = d.getElementById("loginmenu"); var toggle = d.getElementById("accountDropdown"); var outsideMenu = false; authStatus = Array.prototype.slice.call(d.querySelectorAll("[data-lf-auth-status]")); authButtons = Array.prototype.slice.call(d.querySelectorAll('button[onclick*="loginGoogle"], button[onclick*="loginFacebook"], button[onclick*="loginMicrosoft"]')).filter(function (button) { return !button.disabled || button.hasAttribute("data-lf-auth-button"); }); authButtons.forEach(function (button) { button.type = "button"; if (!menu || !menu.contains(button)) { outsideMenu = true; var status = d.createElement("div"); status.className = "small text-muted mt-2"; status.setAttribute("role", "status"); status.setAttribute("aria-live", "polite"); status.hidden = true; button.insertAdjacentElement("afterend", status); authStatus.push(status); } }); setAuthButtons(!loaderState.auth || !!currentAttempt); if (toggle && menu && menu.querySelector("[data-lf-auth-button]")) { toggle.addEventListener("click", prepareAuth); toggle.addEventListener("show.mdb.dropdown", prepareAuth); if (toggle.getAttribute("aria-expanded") === "true") outsideMenu = true; } if (outsideMenu) prepareAuth(); } if (d.readyState === "loading") d.addEventListener("DOMContentLoaded", initAuthControls); else initAuthControls(); })(window, document); </script> <!-- MDB JS 1--> <script src="https://listafirme.eu/platform-static/mdbuipro930/js/mdb.umd.min.js"></script> <script src="https://listafirme.eu/platform-static/js/script108.js?v=tooltip-p107-20261104-rel-p213-20261109-tab-p222-20261109-hints-p225-20261110-fav-p228-20261110-quote-p061-20261112"></script> <script> initTopStrip(); </script> <!-- Ania window gestures run after the shared scripts. --> <script> (function () { var panel = document.getElementById("LFChatForm"); var handle = document.getElementById("aniaWindowMove"); var edge = document.getElementById("aniaWindowResize"); var reset = document.getElementById("aniaWindowReset"); if (!panel || !handle || !edge || !reset || panel.hasAttribute("data-ania-window-ready")) return; var frame = panel.querySelector("iframe.chat-iframe"); if (!frame) return; panel.setAttribute("data-ania-window-ready", "1"); // Geometry is kept only in this document. Reloading restores the site layout. var properties = ["left", "top", "right", "bottom", "width", "height", "max-width", "box-sizing"]; var original = properties.map(function (name) { return { name: name, value: panel.style.getPropertyValue(name), priority: panel.style.getPropertyPriority(name) }; }); var originalFrameHeight = frame.style.getPropertyValue("height"); var originalFramePriority = frame.style.getPropertyPriority("height"); var mobileLayout = window.matchMedia("(max-width: 767.98px), (hover: none) and (pointer: coarse)"); var mobileAnchors = null; // Previous: var moveAttributes = ["tabindex", "aria-label", "aria-keyshortcuts", "title"].map(function (name) { // Keep the move description aligned with desktop/mobile availability. var moveAttributes = ["tabindex", "aria-describedby", "aria-keyshortcuts", "title"].map(function (name) { return { name: name, value: handle.getAttribute(name) }; }); var preferred = null; var gesture = null; var ignoreClickUntil = 0; function bounds() { var view = window.visualViewport; var width = view ? view.width : document.documentElement.clientWidth; var height = view ? view.height : window.innerHeight; var gutter = Math.min(12, width / 10, height / 10); var left = (view ? view.offsetLeft : 0) + gutter; var top = (view ? view.offsetTop : 0) + gutter; return { left: left, top: top, width: Math.max(1, width - 2 * gutter), height: Math.max(1, height - 2 * gutter) }; } function rect() { var value = panel.getBoundingClientRect(); return { left: value.left, top: value.top, width: value.width, height: value.height }; } function clamp(value, minimum, maximum) { return Math.min(Math.max(value, minimum), maximum); } function fit(value) { var area = bounds(); var width = Math.min(value.width, area.width); var maximumHeight = area.height; if (mobileLayout.matches && mobileAnchors) maximumHeight = Math.max(1, maximumHeight - mobileAnchors.bottom); var height = clamp(value.height, Math.min(260, maximumHeight), maximumHeight); if (mobileLayout.matches && mobileAnchors) { // Mobile resizing keeps the original bottom and right gaps. value = { left: area.left + area.width - mobileAnchors.right - width, top: area.top + area.height - mobileAnchors.bottom - height }; } return { left: clamp(value.left, area.left, area.left + area.width - width), top: clamp(value.top, area.top, area.top + area.height - height), width: width, height: height }; } function different(a, b) { return ["left", "top", "width", "height"].some(function (name) { return Math.abs(a[name] - b[name]) > 0.5; }); } function style(element, name, value, priority) { if (element.style.getPropertyValue(name) !== value || element.style.getPropertyPriority(name) !== (priority || "")) { element.style.setProperty(name, value, priority || ""); } } function pixels(value) { return (Math.round(value * 100) / 100) + "px"; } function fillFrame(height) { var outer = panel.getBoundingClientRect(); var inner = frame.getBoundingClientRect(); var computed = window.getComputedStyle(panel); var chromeHeight = inner.top - outer.top + (parseFloat(computed.paddingBottom) || 0) + (parseFloat(computed.borderBottomWidth) || 0); style(frame, "height", pixels(Math.max(0, height - chromeHeight)), "important"); } function limits() { var value = rect(); if (!value.height) return; var maximum = Math.max(1, value.top + value.height - bounds().top); edge.setAttribute("aria-valuemin", String(Math.round(Math.min(260, maximum)))); edge.setAttribute("aria-valuemax", String(Math.round(maximum))); edge.setAttribute("aria-valuenow", String(Math.round(value.height))); } function place(value, remember) { value = fit(value); if (remember) preferred = value; // The shared sticky-panel CSS uses !important for its default anchors. style(panel, "box-sizing", "border-box", "important"); style(panel, "right", "auto", "important"); style(panel, "bottom", "auto", "important"); style(panel, "left", pixels(value.left), "important"); style(panel, "top", pixels(value.top), "important"); style(panel, "max-width", pixels(bounds().width), "important"); style(panel, "width", pixels(value.width), "important"); style(panel, "height", pixels(value.height), "important"); fillFrame(value.height); limits(); } function end(event) { if (!gesture || (event && typeof event.pointerId === "number" && event.pointerId !== gesture.id)) return; var previous = gesture; gesture = null; if (previous.changed) ignoreClickUntil = Date.now() + 150; if (previous.framePointer) frame.style.setProperty("pointer-events", previous.framePointer, previous.framePointerPriority); else frame.style.removeProperty("pointer-events"); if (previous.cursor) document.body.style.setProperty("cursor", previous.cursor, previous.cursorPriority); else document.body.style.removeProperty("cursor"); if (previous.element.hasPointerCapture(previous.id)) previous.element.releasePointerCapture(previous.id); } function restore() { end(); preferred = null; mobileAnchors = null; original.forEach(function (item) { if (item.value) panel.style.setProperty(item.name, item.value, item.priority); else panel.style.removeProperty(item.name); }); if (originalFrameHeight) frame.style.setProperty("height", originalFrameHeight, originalFramePriority); else frame.style.removeProperty("height"); limits(); } function start(event, mode, element) { if (gesture || !event.isPrimary || event.button !== 0 || (mode === "move" && mobileLayout.matches)) return; var current = rect(); if (!current.width || !current.height) return; if (mobileLayout.matches && !mobileAnchors) { var area = bounds(); mobileAnchors = { right: Math.max(0, area.left + area.width - current.left - current.width), bottom: Math.max(0, area.top + area.height - current.top - current.height) }; } var fitted = fit(current); if (different(current, fitted)) place(fitted, true); current = rect(); gesture = { id: event.pointerId, mode: mode, element: element, x: event.clientX, y: event.clientY, start: current, before: preferred, changed: false, framePointer: frame.style.getPropertyValue("pointer-events"), framePointerPriority: frame.style.getPropertyPriority("pointer-events"), cursor: document.body.style.getPropertyValue("cursor"), cursorPriority: document.body.style.getPropertyPriority("cursor") }; frame.style.setProperty("pointer-events", "none", "important"); document.body.style.setProperty("cursor", mode === "move" ? "move" : "ns-resize", "important"); element.setPointerCapture(event.pointerId); event.preventDefault(); } function resizeFromTop(value, top) { var bottom = value.top + value.height; var minimum = Math.min(260, bottom - bounds().top); top = clamp(top, bounds().top, bottom - minimum); return { left: value.left, top: top, width: value.width, height: bottom - top }; } handle.addEventListener("pointerdown", function (event) { start(event, "move", handle); }); edge.addEventListener("pointerdown", function (event) { start(event, "resize", edge); }); window.addEventListener("pointermove", function (event) { if (!gesture || event.pointerId !== gesture.id) return; var dx = event.clientX - gesture.x; var dy = event.clientY - gesture.y; if (!gesture.changed && Math.abs(dx) < 3 && Math.abs(dy) < 3) return; gesture.changed = true; var value = gesture.start; if (gesture.mode === "move") place({ left: value.left + dx, top: value.top + dy, width: value.width, height: value.height }, true); else place(resizeFromTop(value, value.top + dy), true); event.preventDefault(); }); window.addEventListener("pointerup", end); window.addEventListener("pointercancel", end); window.addEventListener("blur", function () { end(); }); handle.addEventListener("lostpointercapture", end); edge.addEventListener("lostpointercapture", end); // A drag ending over the page must not trigger the existing outside-click close. window.addEventListener("click", function (event) { if (Date.now() < ignoreClickUntil) { event.preventDefault(); event.stopPropagation(); } }, true); window.addEventListener("keydown", function (event) { if (!gesture || event.key !== "Escape") return; var before = gesture.before; end(); if (before) place(before, true); else restore(); event.preventDefault(); event.stopPropagation(); }); handle.addEventListener("keydown", function (event) { if (mobileLayout.matches) return; var changes = { ArrowLeft: [-1, 0], ArrowRight: [1, 0], ArrowUp: [0, -1], ArrowDown: [0, 1] }; var change = changes[event.key]; if (!change) return; var value = rect(); var step = event.shiftKey ? 40 : 10; place({ left: value.left + change[0] * step, top: value.top + change[1] * step, width: value.width, height: value.height }, true); event.preventDefault(); event.stopPropagation(); }); edge.addEventListener("keydown", function (event) { if (["ArrowUp", "ArrowDown", "Home", "End"].indexOf(event.key) === -1) return; var value = rect(); if (mobileLayout.matches && !mobileAnchors) { var area = bounds(); mobileAnchors = { right: Math.max(0, area.left + area.width - value.left - value.width), bottom: Math.max(0, area.top + area.height - value.top - value.height) }; } var top = value.top + (event.key === "ArrowUp" ? -1 : 1) * (event.shiftKey ? 40 : 10); if (event.key === "Home") top = value.top + value.height - Math.min(260, value.top + value.height - bounds().top); if (event.key === "End") top = bounds().top; place(resizeFromTop(value, top), true); event.preventDefault(); event.stopPropagation(); }); reset.addEventListener("click", function (event) { restore(); event.stopPropagation(); }); function configureMoveHandle() { handle.style.cursor = mobileLayout.matches ? "default" : "move"; handle.style.touchAction = mobileLayout.matches ? "auto" : "none"; moveAttributes.forEach(function (item) { if (mobileLayout.matches || item.value === null) handle.removeAttribute(item.name); else handle.setAttribute(item.name, item.value); }); } mobileLayout.addEventListener("change", function () { restore(); configureMoveHandle(); }); configureMoveHandle(); function sync() { var value = rect(); if (!value.width || !value.height) { end(); return; } if (gesture) return; if (preferred) { var fitted = fit(preferred); if (different(value, fitted)) place(fitted, false); else fillFrame(value.height); } limits(); } window.addEventListener("resize", function () { end(); sync(); }); window.addEventListener("load", sync); if (window.visualViewport) { window.visualViewport.addEventListener("resize", function () { end(); sync(); }); window.visualViewport.addEventListener("scroll", sync); } // Reopening a moved window also checks the current screen boundaries. new MutationObserver(sync).observe(panel, { attributes: true, attributeFilter: ["style"] }); if (window.ResizeObserver) { var observer = new ResizeObserver(sync); observer.observe(panel); observer.observe(handle); } sync(); })(); </script> <script defer src="/ads/js/stats-client.js?v=stats-1"></script> <script defer src="/ads/js/loader.js?v=resize-20261109-1" data-ad-service="/ads/serve.asp" data-ad-dismiss="/ads/dismiss.asp" data-ad-status="/ads/status.asp" data-ad-storage="1"></script> </body> </html>