WordPress error "This widget requires javascript" - javascript

My wordpress Website https://www.paramountplus.com.au/ frontend not works in Internet explorer. When i login to admin section from IE i see this error "This widget requires javascript" and the wordpress dashboard menu not works.
Same website i upload in subdomain https://www.test.paramountplus.com.au/ where everything works fine.
I have uninstalled the wordpress from main domain and install a fresh wordpress for test, but same error in main domain.
Please help me to fix this error.

If it works in the other browsers it probably means that:
-you internet explorer version is really old
-you do not have some plugins or javascript enabled
So check for updates and then in settings look for the plugins section and enable javascript

Problem with IE, probably. If no JavaScript is executing, this might mean that the browser has JavaScript disabled. Check that first.

Related

Chrome fails to load TinyMCE in Wordpress

My visual editor in WordPress doesn't work and I figured out that was because my computer doesn't load the full tinymce folder. It only loaded "mce-view.js". In another computer, using Chrome, around 15 js elements were loaded.
How can I fix this problem?
Enabling NPAPI in Chrome Version 42 and later
As of Chrome Version 42, an additional configuration step is required to continue using NPAPI plugins.
In your URL bar, enter:
chrome://flags/#enable-npapi
Click the Enable link for the Enable NPAPI configuration option.
Click the Relaunch button that now appears at the bottom of the configuration page.
I FIXED IT.
So it turned out to be a conflict between my antivirus setting and WordPress.
I use Symantec Endpoint Protection and it sets my browser to Stealth Mode which makes some websites malfuction. All I need to do was go to Symantec -> Change Settings -> Network Threat Protection ---click on Configure Setting ---> On Firewall tab, uncheck "Enable Stealth Mode web browsing".
Good luck finding your solutions.
Ryan

why plugin blocked by Safari?

My plugin almost works fine in Safari for Mac, but sometimes it is blocked by Safari(see at Safari - Preferences - Security - Manage website setttings).
so my first question is how can I let my plugin be a "Allow Always" plugin in Safari without user's operation?
And when plugin is blocked, Safari will display a placeholder instead of the Internet plugin content. look here
so the second question is when Safari block my plugin(maybe user choosed), how to know it by JS?
Your comments above made it more clear what you were trying to accomplish. It has already been established that if your plugin is blocked than no code inside your plugin will be executed (for security reasons) but it is possible to let your website know if the plugin was loaded (or not loaded) using injected scripts. Here is an example on the Apple developer page showing how an injected script can access a JavaScript function.
In this document you will find everything you need to know about access and restrictions for your plugins and extensions
And this document will help you understand messaging and proxying between different components of your plugin and the website.

HTML5 website compatibility in Internet Explorer

I was going through a simple HTML5/CSS3 tutorial to build a basic website.I closely followed the tutorial to make myself understand the newly added tags use and developed what was taught online step-by-step.
However, the demo of the site I was creating worked fine on Internet-Explorer8 but when I completed my own development, though it worked fine in Chrome and Firefox but it didn't pick any design when I tried run it on Internet-Explorer8.
This however I understand is due to old versions of IE's not supporting newly added elements of HTML5 thus added a script HTML5shiv.js.
This should work fine however IE8 kept popping up the dialog box displaying that : It blocked some Active Content due to security reasons and if required, you can allow them to dosplay. This was never the case with the demo version of the website that I was making.
However, when I allowed the ActiveX controls in the IE8, everything worked fine.
The issue with me now is that if any of my website's user has disabled ActiveX-Controls in IE6,7 or 8, then my website would loose it''s designed structure. How can I get through it?
I assume you are loading html5shiv.js from a separate domain, if so try downloading it and hosting it with the rest of your website. This should solve your problem.
If you're developing your website locally (i.e. directly opened from a file on your computer), that can also cause this problem.
Update to users comment:
Hosting it should solve it. Instead of buying hosting though you could simply host on your localhost, to do that look into using something such as WAMP, or MAMP for Mac.
Alternatively, you can add <!-- saved from url=(0017)http://localhost/ --> to the top of your document which should disable the security policy. You can read more about that here.

Enable script run in web browser using java script codes

I designed a web page which contains some javascripts, but when I'm running the page in certain browsers like internet explorer my scripts get blocke and the browsers asks for manual enabling of the script in that browser
I need java script or jquery code for enabling script run in any browser automatically. Can anyone help me please?
Thank you
It is impossible for a website to turn on JavaScript if it is disabled in the browser.
Design your site with progressive enhancement and unobtrusive JavaScript in mind.
If, by "certain browsers like internet explorer", you mean "Internet Explorer will not run my code" (as opposed to "Browsers wil JS turned off will not run my code") then you may just need to learn how to write cross-browser compatible code.
Without a specific example of code that does not work (along with the specific error messages you receive), that topic is too broad to cover on StackOverflow.
Sounds like you are running the website locally, ie opening the file not serving it from a web server. Try running a local web server or hosting your site on a free online service and as long as the browser doesn't have JavaScript disabled the messages shouldn't show up.

How to sign script or webpage requiring UniversalXPConnect privilege

I have a website which uses some functionality implemented in the Firefox extension, which I developed. JavaScript script on one of my webpages requires UniversalXPConnect privilege for communicating with XPCOM component implemented in my Firefox extension.
By default, when my script tries to enable this privilege for accessing XPCOM component:
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
... the following error occurs:
Error: A script from "http://example.com" was denied UniversalXPConnect privileges.
To enable this privilege currently users need to manually edit "signed.applets.codebase_principal_support" setting in "about:config" Firefox page.
From this page: http://www.mozilla.org/projects/security/components/signed-scripts.html I learned that it is possible to explicitly sign my webpage containing script which requires this privilege. After I sign my script users will not need to manually edit above mentioned setting.
Website is hosted on Linux platform under Drupal CMS.
I would very much appreciate if you could give me detailed step-by-step instructions on how do I sign my script (what tools should I download, how to create certificate, etc.), such that after following your instructions editing about:config setting will not be necessary.
As of Firefox 16 signing the script will not likely work since support for universalXPconnect seems to have been removed and you should now use an add-on for added privileges although I don't know how. https://bugzilla.mozilla.org/show_bug.cgi?id=546848
EnablePrivilege is disabled in Firefox 15 and will be removed in Firefox 17.
check out this:
https://developer.mozilla.org/en-US/docs/Bypassing_Security_Restrictions_and_Signing_Code

Categories