Title: Javascript errors on the console
Last modified: July 27, 2023

---

# Javascript errors on the console

 *  Resolved [scooterlord](https://wordpress.org/support/users/scooterlord/)
 * (@scooterlord)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/javascript-errors-on-the-console-2/)
 * Hello, I am getting the following js errors – plugin works as expected, but still:
 * The resource from “[https://translate.googleapis.com/element/TE_20200210_00/e/js/element/element_main.js](https://translate.googleapis.com/element/TE_20200210_00/e/js/element/element_main.js)”
   was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: 
   nosniff).
 * The resource from “[https://translate.googleapis.com/translate_static/css/translateelement.css](https://translate.googleapis.com/translate_static/css/translateelement.css)”
   was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: 
   nosniff).
 * The resource from “[https://translate.googleapis.com/translate_static/js/element/main.js](https://translate.googleapis.com/translate_static/js/element/main.js)”
   was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: 
   nosniff).
 * On other occasions I get the following:
 * [https://translate.googleapis.com/element/TE_20200210_00/e/js/element/element_main.js](https://translate.googleapis.com/element/TE_20200210_00/e/js/element/element_main.js)–
   not found
 * [https://translate.googleapis.com/translate_static/js/element/main.js](https://translate.googleapis.com/translate_static/js/element/main.js)–
   not found
   [https://translate.googleapis.com/translate_static/css/translateelement.css](https://translate.googleapis.com/translate_static/css/translateelement.css)–
   not found
    -  This topic was modified 2 years, 10 months ago by [scooterlord](https://wordpress.org/support/users/scooterlord/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjavascript-errors-on-the-console-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [edo888](https://wordpress.org/support/users/edo888/)
 * (@edo888)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/javascript-errors-on-the-console-2/#post-16928046)
 * Hi,
 * Please post your website address, so I can check it for you.
 * Thanks! 🙂
 *  Thread Starter [scooterlord](https://wordpress.org/support/users/scooterlord/)
 * (@scooterlord)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/javascript-errors-on-the-console-2/#post-16928060)
 * Hello and than you in advance for your effort. The link is _moved to the link
   field._
    -  This reply was modified 2 years, 10 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
 *  Plugin Author [edo888](https://wordpress.org/support/users/edo888/)
 * (@edo888)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/javascript-errors-on-the-console-2/#post-16928065)
 * Hi,
 * I see the following in your HTML source code:
 *     ```
       <script src="https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit" type="a97bbb2fb6bf17c71b93f60c-text/javascript"></script>
       <link rel="preload" href="//translate.googleapis.com/translate_static/js/element/main.js" as="script">
       <link rel="preload" href="//translate.googleapis.com/element/TE_20200210_00/e/js/element/element_main.js" as="script">
       <link rel="preload" href="//translate.googleapis.com/translate_static/css/translateelement.css" as="style">
       ```
   
 * This is not added by GTranslate. I think it can be added by some optimization
   plugin or you have added it manually. Please remove it and you will not see errors.
 * Thanks! 🙂
    -  This reply was modified 2 years, 10 months ago by [edo888](https://wordpress.org/support/users/edo888/).
 *  Thread Starter [scooterlord](https://wordpress.org/support/users/scooterlord/)
 * (@scooterlord)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/javascript-errors-on-the-console-2/#post-16928550)
 * Ah, thank you so much for taking the time and effort to check this. TBH I have
   no clue how this code appeared there – it wasn’t loading properly anyway, so 
   I safely removed it.
 * Thank you again and I apologize for any trouble I caused!
 *  Plugin Author [edo888](https://wordpress.org/support/users/edo888/)
 * (@edo888)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/javascript-errors-on-the-console-2/#post-16931427)
 * You are welcome! If you have a moment, please write a review: [https://wordpress.org/support/plugin/gtranslate/reviews/#new-post](https://wordpress.org/support/plugin/gtranslate/reviews/#new-post)
 * Thanks! 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Javascript errors on the console’ is closed to new replies.

 * ![](https://ps.w.org/gtranslate/assets/icon-256x256.png?rev=2595917)
 * [Translate Wordpress with GTranslate](https://wordpress.org/plugins/gtranslate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gtranslate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gtranslate/)
 * [Active Topics](https://wordpress.org/support/plugin/gtranslate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gtranslate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gtranslate/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [edo888](https://wordpress.org/support/users/edo888/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/javascript-errors-on-the-console-2/#post-16931427)
 * Status: resolved