What is the meaning of <script>window["_GOOG_TRANS_EXT_VER"] = "1";</script>
header, javascript
Solution
This is dynamically inserted by the Google Translate extension (or other extensions that were based on the Google Translate extension)
The source code of the Google Translate extension specifically refers to it:
/* Copyright 2010 Google */
...
function v(a) {
var b = {
noEvents: c,
content: u('window["_GOOG_TRANS_EXT_VER"] = "1";')
};
i.tabs.executeScript(a, {
code: q(s, b)
})
}
...
and disabling the extension removes it from the page.
Problem
I have this code on the header of my page ``` <script>window["_GOOG_TRANS_EXT_VER"] = "1";</script> ``` But i dont understand its meaning or from where it is generated, anyone knows anything ? I would like to delete this because it seems to be a problem in the page generation... Thank you for your help.