当サイトはユーザー体験を改善するためのメンテナンスを実施中に機能が制限される予定です。記事を読んでもあなたの問題が解決せず質問をしたい場合は、Twitter の @FirefoxSupport、Reddit の /r/firefox で、サポートコミュニティが皆さんを助けようと待機しています。

Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

Script is not working

  • 返信なし
  • 0 人がこの問題に困っています
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

投稿に返信するには あなたのアカウントにログイン する必要があります。まだアカウントをお持ちでなければ、新しい質問を開始 してください。