Search Support

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.

Learn More

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

Can not find combination of settings to allow script execution on site https://281connections.us .

  • 6 uphendule
  • 1 inale nkinga
  • 9 views
  • Igcine ukuphendulwa ngu Craig (@FF)

more options

I have noticed some new behaviors of a website for which I am responsible. The behaviors started some time in the last six months or so. I just noticed them in the last week when I updated the website. The website is https://281connections.us/ and I am using using Firefox 71.0 on Ubuntu Mate 19.04 . . . Question 1 When accessing the hosted site, the script that toggles the menu to drop down is ignored (https://281connections.us/# ). (Using a Chromium browser, I can get the script to run by telling it to “load unsafe scripts”.) The script in question is run in Firefox without objection when the same code/site is invoked from files local to my machine. I can not find a setting in Firefox to allow the script to execute when invoked from hosted source. I have tried an assortment of settings changes, but can’t find anything that works. Can you help? Question 2 Javascript that runs a dynamic page (https://281connections.us/281connections_Wiki/South_Dakota_Families/Bates-Moodie/Fan/DynamicFan.html ) runs just fine using Firefox and the hosted website. However, when invoked on local files, it does not run. (It presents a large circle, but never fills it with information.) Is there a setting that will allow me to see dynamic page when invoked locally? (BTW, the behavior is identical using Chromium for what that is worth.)

Last note - disabling extensions does not affect the behaviors noted.

[Thanks for your consideration.]

I have noticed some new behaviors of a website for which I am responsible. The behaviors started some time in the last six months or so. I just noticed them in the last week when I updated the website. The website is https://281connections.us/ and I am using using Firefox 71.0 on Ubuntu Mate 19.04 . . . Question 1 When accessing the hosted site, the script that toggles the menu to drop down is ignored (https://281connections.us/# ). (Using a Chromium browser, I can get the script to run by telling it to “load unsafe scripts”.) The script in question is run in Firefox without objection when the same code/site is invoked from files local to my machine. I can not find a setting in Firefox to allow the script to execute when invoked from hosted source. I have tried an assortment of settings changes, but can’t find anything that works. Can you help? Question 2 Javascript that runs a dynamic page (https://281connections.us/281connections_Wiki/South_Dakota_Families/Bates-Moodie/Fan/DynamicFan.html ) runs just fine using Firefox and the hosted website. However, when invoked on local files, it does not run. (It presents a large circle, but never fills it with information.) Is there a setting that will allow me to see dynamic page when invoked locally? (BTW, the behavior is identical using Chromium for what that is worth.) Last note - disabling extensions does not affect the behaviors noted. [Thanks for your consideration.]

Isisombululo esikhethiwe

If you post a screenshot of the Web Console output for the local file that you are having issues with, we may be able to assist you with that as well. Just can't do it off of the limited information we have at the moment.

Funda le mpendulo ngokuhambisana nalesi sihloko 👍 1

All Replies (6)

more options

To answer your first question, it's being blocked because it's mixed content. If it's your website, you need to provide the HTTPS links to the scripts you are using, instead of the HTTP version. Firefox (and other browsers) don't allow HTTP content to run on an HTTPS website because it's a security issue and would negate the purpose of HTTPS to begin with.

You can disable mixed content blocking on specific websites by clicking the lock icon and disabling protection. See Mixed content blocking in Firefox.

However, the issue is quite easy to fix. For example, you are using the following code to load the jQuery library:

<script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-2.1.1.min.js"></script>

Just use the following instead:

<script type="text/javascript" src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-2.1.1.min.js"></script>

As for your second question, I'd recommend using the Firefox Web Console to see what the issue is. It will tell you why your script(s) isn't loading.

Hope this helps.

more options

Or leave out the protocol to make Firefox use the currently used protocol.

<script type="text/javascript" src="//ajax.aspnetcdn.com/ajax/jQuery/jquery-2.1.1.min.js"></script>
more options

Thanks for the replies! I am a super novice and using a template to gen the website, but this should give me enough information to make stabs at solutions.

more options

We should all live in fear! Thanks to your help a 70 year old guy with no formal training is editing html templates. (The solution to the first problem was easy as suggested. - In the next couple of days I'll take on the second problem.)

Thanks again.

more options

Isisombululo Esikhethiwe

If you post a screenshot of the Web Console output for the local file that you are having issues with, we may be able to assist you with that as well. Just can't do it off of the limited information we have at the moment.

more options

Hi Wesley (and cor-el),

Thanks for the kind offer. I believe that I figured out the second (local) problem using the console output as you suggested. Actually there were two. - use of a deprecated javascript command (//@ versus //#) and the need to set a Firefox config item - privacy.file_unique_origin. If you care, see the attached image and https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors/CORSRequestNotHttp?utm_source=devtools&utm_medium=firefox-cors-errors&utm_campaign=default .

I can fix the //# problem in the javascript code and report the issue upward to the responsible developer. The Firefox config item I can set when I want to do local debugging of the website before publication.

I will fix and report the first problem upward to the developer of that template as well.

I have not used the Mozilla Community before. I am very impressed with the response/help that I have gotten.

Regards & best wishes!

Craig