1. You can dynamically load the script tag to load variables across domains.
Cross-origin cannot be loaded directly in ajax mode, but scrit labels can be used for loading.
Some problems may occur during use (not successful), but you can put the value in the dom first.
2. The script tag contains the addEventListener onload event, which processes the events after the variables are loaded successfully.
3. When a tor accesses a page, a random number must be added to force refresh (unknown test)
4. the ip address of the tor is slow and unstable. Sometimes the ip address is not updated for dozens of seconds or even dozens of minutes.
5. The ip address displayed on the tor homepage has become very fast and has not actually changed. Unknown reason.
// Dynamically load the Script tag (to handle Memory leakage issues)
Function OnScriptLoaded ()
{
Var status = document. title;
}
Function LoadScript ()
{
Var script = document. getElementById ('scriptid ');
If (script)
{
Document. getElementsByTagName ("head") [0]. removeChild (script );
Script = null;
}
Script = document. createElement ("script ");
Script. type = "text/javascript ";
Script. id = "ScriptId ";
Script. addEventListener ("load", OnScriptLoaded, false );
Script. src = "http://www.guoguoer.cn/abcd.php? P = u & rnd = "+ Math. random ();
Document. getElementsByTagName ("head") [0]. appendChild (script );
}