Jump to content

Search the Community

Showing results for tags 'script'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 4 results

  1. Looking for some help on a recently developed issue. Editor will not load. Theme: DMS2 Error from: Chrome - Inspector - console view Error message: Refused to execute script from 'http://xxxx.xxx/wp-content/themes/dms/dms/editor/js/gettext.js/?ver=4.9.7' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled. Occurs on all sites on same server. WP versions to 4.9.5, 4.9.6, 4.9.7 = same behavior. Worked properly on these same versions until 07/04/2018. No new plugins. Isolating plugins offers same behavior. Server vendor reports no changes, patches, etc. Server re-starts no impact. Thank you.
  2. [Solved] Generated google analytics tags

    Hi everyone, what happens is that the web page metrosalarmas.com has a google tags which I have not attacked where I can look to remove those tags and be able to locate the correct ones.
  3. We are getting the following errors on our website when viewing it in IE7: "Stop Running This Script? A script on this page is causing Internet Explorer to run slowly. If it continues to run, your computer might become unresponsive. Yes / No" The two pages we notice the error on most are: home.primesourcesystems.com/directory home.primesourcesystems.com/fyi-archive Our main sites have pages that are similar, but they don't seem to have this same problem. Are we doing something wrong? PLEASE NOTE: These links are to pages on our intranet site, We have only enabled public access to them untill we can get this problem solved. Then we will be restricting access to only the people in our home office and to registered users and admins.
  4. Take a look at my site http://tinyurl.com/cosv8ge I'm trying to change the position of a custom script that I installed into the header scripts. The script displays a custom greeting on the site depending on the time of day. I want the greeting to be above the telephone number in the header but i'm struggling to achieve this. The script is as follow: <span class="xdate"><?php echo date('l jS F Y'); ?></span> <script language="Javascript" type="text/javascript"> <!-- var day = new Date(); var hr = day.getHours(); if (hr <= 11) { document.write("Good Morning..."); } else if (hr > 11 && hr < 17) { document.write("Good Afternoon..."); } else { document.write("Good Evening..."); } //--> </script> Can anyone help? thanks James UK
×