前几天解决了 safenet的限制,
也彻底的知道了 他检测客户端的方式
其实原理一旦清楚了,解决起来就不困难了。
ie的解决方案如下
*Change the Internet Explorer User Agent String*
A standard user agent string would look similar to:
Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
/Which means Internet Explorer 5.5 running on Windows 2000./
*Changing the Default User Agent Values*
Open your registry and find the key below. If it does not already exist
then create it.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet
Settings\5.0\User Agent]
Create three new string values called "Compatible", "Version" and
"Platform". Set them to equal what you would like to be displayed
instead of "compatible", "MSIE 5.5" and "Windows NT 5.0" respectively in
the example above.
You can also modify the value of "(Default)" to change the browser name
"Mozilla/4.0" in the example above.
*Changing the Branded User Agent String*
In addition when a customized user agent string is used it may contain
additional information set by the company that created a branded version
of the browser. For example a branded version from an ISP may look like:
Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; *Your_ISP_Name*)
Since this information is sent to the remote web server it may be stored
in the web server log files and therefore possibly used to track branded
versions of a web browser.
To change it open your registry and find the key
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet
Settings\User Agent\Post Platform].
Each value name listed in this key will be sent to the remote web server
as an additional entry in the user agent string. To remove any
additional information delete the values within the [Post Platform] key.
To add additional entries create a string value and name it the string
you want to be sent.
Restart Internet Explorer for the changes to take effect.
/*Note:* This tweak may affect some online services that read this
information to detect the operating system such as Microsoft Windows
Update./
今天用ie是因为 在线 "引航" ,一般情况下,我的建议是 利用firefox插件来处
理,这个方法对系统没有任何碰动,是最安全的解决方案。
上面的方案,最关键的是 platform 修改为linux 然后 其他的用mozilla就可以了。
没有评论:
发表评论