Ky sajt do të funksionojë me kufizime, teksa bëjmë mirëmbajtjen e tij për të përmirësuar punën tuaj. Nëse një artikull nuk e zgjidh problemin tuaj dhe dëshironi të bëni një pyetje, kemi bashkësinë tonë të asistencës, e gatshme për t’ju ndihmuar, te @FirefoxSupport në Twitter dhe/r/firefox në Reddit.

Kërkoni te Asistenca

Shmangni karremëzime gjoja asistence. S’do t’ju kërkojmë kurrë të bëni një thirrje apo të dërgoni tekst te një numër telefoni, apo të na jepni të dhëna personale. Ju lutemi, raportoni veprimtari të dyshimtë duke përdorur mundësinë “Raportoni Abuzim”.

Mësoni Më Tepër

Script is not working

  • Pa përgjigje
  • 0 e kanë hasur këtë problem
more options

Hi i have script

<script>

       (() => {
           const script = document.createElement("script");
           script.setAttribute("type", "text/javascript");
           script.src = "https://js.hsforms.net/forms/embed/v2.js";
           script.addEventListener("load", () => {
               hbspt.forms.create({
                   region: "na1",
                   portalId: "39672158",
                   formId: "892e2f84-627a-4c41-8f9e-642cb468a70c",
               });
           });


           document.head.append(script);
       })();
   </script>

I have contact the script provider team and it says that

For transparency, I'm going to relay what was shared in an internal inquiry:


Because it's an external feature of Firefox that is designed to disable exactly this kind of content (external tracking and forms), there isn't much we can do.

In Mozilla's docs they explicitly call out forms as one of the types of content this is designed to block which specifically mentions a few forms areas here.

Many websites load external ads, videos and other content with tracking code from other companies. For example, a website may embed a video from a video platform. The code that loads the video contains trackers. Blocking tracking content can make sites load much faster, but parts of pages might not work correctly or appear at all.


Tracking content can include:

Ads

Login fields

Forms

Payments

Comments

Videos and photos

Buttons

I can see this happening in the Private mode but can you see on your end, if following the settings in Firefox's documentation to disable this for all windows does the form appear in non-private mode? Hmm even after setting to custom and unchecking all the boxes the form script still doesn't load.

I added https://www.psbspeakers.com as an exception too but it doesn't appear to do the trick.

As far as this goes since this is something implemented by Firefox we're not able to overrule this on our end

so now what should i do

Hi i have script <script> (() => { const script = document.createElement("script"); script.setAttribute("type", "text/javascript"); script.src = "https://js.hsforms.net/forms/embed/v2.js"; script.addEventListener("load", () => { hbspt.forms.create({ region: "na1", portalId: "39672158", formId: "892e2f84-627a-4c41-8f9e-642cb468a70c", }); }); document.head.append(script); })(); </script> I have contact the script provider team and it says that For transparency, I'm going to relay what was shared in an internal inquiry: Because it's an external feature of Firefox that is designed to disable exactly this kind of content (external tracking and forms), there isn't much we can do. In Mozilla's docs they explicitly call out forms as one of the types of content this is designed to block which specifically mentions a few forms areas here. Many websites load external ads, videos and other content with tracking code from other companies. For example, a website may embed a video from a video platform. The code that loads the video contains trackers. Blocking tracking content can make sites load much faster, but parts of pages might not work correctly or appear at all. Tracking content can include: Ads Login fields Forms Payments Comments Videos and photos Buttons I can see this happening in the Private mode but can you see on your end, if following the settings in Firefox's documentation to disable this for all windows does the form appear in non-private mode? Hmm even after setting to custom and unchecking all the boxes the form script still doesn't load. I added https://www.psbspeakers.com as an exception too but it doesn't appear to do the trick. As far as this goes since this is something implemented by Firefox we're not able to overrule this on our end so now what should i do

Duhet të bëni hyrjen te llogaria juaj që t’i përgjigjeni postimeve. Ju lutemi, filloni me një pyetje të re, nëse nuk keni ende një llogari.