Here are some handy scripts for IE users to make web surfing faster/easier. These scripts let you turn IE into a screaming text-only browser with just a couple of clicks, instead of digging through multiple settings in the options dialog box.
The first script came from PC Magazine and toggles scripting in IE.
The second script turns images & animations on/off on web pages. Perfect for dial-up users, or for surfing at work!
Tip: to view a particular image while surfing in text mode, right click over the image paceholder and select "Show Picture."
The last script is for those of us that carry a computer between work and home. It toggles the "use a proxy server" property under the LAN connection setting in IE, so that you can enable it (to use the proxy server) at work and turn it off at home.
To use these scripts, copy & paste the code for each script into a file with an ".js" extension, and run the script. You have to restart your browser for the new settings to take effect.
Disclaimer: These scripts will work on Windows w/IE 5 & 5.5, however I haven't tested them on any other OS/browser versions. Also keep in mind you will lose functionality with some web sites that require scripting, so remember to turn it on for those sites! In addition, imbedded Flash animations do not seem affected by these scripts.
-----------Begin Scriptonoff.js-----------
oShell= new ActiveXObject( "WScript.Shell")
var DISABLE= 3, ENABLE= 0;
var nRet= oShell.Popup("Do you want Scripting?\n"+
"Yes to Enable, No to "+ "Disable", 0,
"Enable/"+ "Disable IE5 Active "+ "Scripting", 35);
if (nRet==2) // 2 is Cancel
WScript.Application.Quit();
if (nRet==6) // 6 is Yes
nNewVal= ENABLE;
if (nRet==7) // 7 is No
nNewVal= DISABLE;
sName=
"HKCU\\Software\\Microsoft"+ "\\Windows\\CurrentVersion"+
"\\Internet Settings"+ "\\Zones\\3\\1400"
oShell.RegWrite( sName, nNewVal,"REG_DWORD" );
-----------End Scriptonoff.js-----------
-----------Begin Toggleimages.js-----------
oShell= new ActiveXObject( "WScript.Shell")
var DISABLE= "no", ENABLE= "yes";
var nRet= oShell.Popup("Show Images/Animations?\n"+
"Yes to Show, No don't Show", 0,
"Display/"+ "Don't Display "+ "Images & Animations", 35);
if (nRet==2) // 2 is Cancel
WScript.Application.Quit();
if (nRet==6) // 6 is Yes
nNewVal= ENABLE,
nNewVal2 = ENABLE;
if (nRet==7) // 7 is No
nNewVal= DISABLE,
nNewVal2 = DISABLE;
sName=
"HKCU\\Software\\Microsoft"+ "\\Internet Explorer\\Main"+
"\\Display Inline Images",
sName2=
"HKCU\\Software\\Microsoft"+ "\\Internet Explorer\\Main"+
"\\Play_Animations"
oShell.RegWrite( sName, nNewVal,"REG_SZ" ),
oShell.RegWrite( sName2, nNewVal2,"REG_SZ" );
-----------End Toggleimages.js-----------
-----------Begin Proxyonoff.js-----------
oShell= new ActiveXObject( "WScript.Shell")
var DISABLE= 0, ENABLE= 1;
var nRet= oShell.Popup("Enable Proxy?\n"+
"Yes to Enable, No to Disable", 0,
"Enable/"+ "Disable Proxy "+ "Setting", 35);
if (nRet==2) // 2 is Cancel
WScript.Application.Quit();
if (nRet==6) // 6 is Yes
nNewVal= ENABLE;
if (nRet==7) // 7 is No
nNewVal= DISABLE;
sName=
"HKCU\\Software\\Microsoft"+ "\\Windows\\CurrentVersion"+
"\\Internet Settings"+ "\\ProxyEnable"
oShell.RegWrite( sName, nNewVal,"REG_DWORD" );
-----------End Proxyonoff.js-----------
<font size=1>
[This message has been edited by PHOEN$X (edited 08 January 2003).]
The first script came from PC Magazine and toggles scripting in IE.
The second script turns images & animations on/off on web pages. Perfect for dial-up users, or for surfing at work!
Tip: to view a particular image while surfing in text mode, right click over the image paceholder and select "Show Picture."
The last script is for those of us that carry a computer between work and home. It toggles the "use a proxy server" property under the LAN connection setting in IE, so that you can enable it (to use the proxy server) at work and turn it off at home.
To use these scripts, copy & paste the code for each script into a file with an ".js" extension, and run the script. You have to restart your browser for the new settings to take effect.
Disclaimer: These scripts will work on Windows w/IE 5 & 5.5, however I haven't tested them on any other OS/browser versions. Also keep in mind you will lose functionality with some web sites that require scripting, so remember to turn it on for those sites! In addition, imbedded Flash animations do not seem affected by these scripts.
-----------Begin Scriptonoff.js-----------
oShell= new ActiveXObject( "WScript.Shell")
var DISABLE= 3, ENABLE= 0;
var nRet= oShell.Popup("Do you want Scripting?\n"+
"Yes to Enable, No to "+ "Disable", 0,
"Enable/"+ "Disable IE5 Active "+ "Scripting", 35);
if (nRet==2) // 2 is Cancel
WScript.Application.Quit();
if (nRet==6) // 6 is Yes
nNewVal= ENABLE;
if (nRet==7) // 7 is No
nNewVal= DISABLE;
sName=
"HKCU\\Software\\Microsoft"+ "\\Windows\\CurrentVersion"+
"\\Internet Settings"+ "\\Zones\\3\\1400"
oShell.RegWrite( sName, nNewVal,"REG_DWORD" );
-----------End Scriptonoff.js-----------
-----------Begin Toggleimages.js-----------
oShell= new ActiveXObject( "WScript.Shell")
var DISABLE= "no", ENABLE= "yes";
var nRet= oShell.Popup("Show Images/Animations?\n"+
"Yes to Show, No don't Show", 0,
"Display/"+ "Don't Display "+ "Images & Animations", 35);
if (nRet==2) // 2 is Cancel
WScript.Application.Quit();
if (nRet==6) // 6 is Yes
nNewVal= ENABLE,
nNewVal2 = ENABLE;
if (nRet==7) // 7 is No
nNewVal= DISABLE,
nNewVal2 = DISABLE;
sName=
"HKCU\\Software\\Microsoft"+ "\\Internet Explorer\\Main"+
"\\Display Inline Images",
sName2=
"HKCU\\Software\\Microsoft"+ "\\Internet Explorer\\Main"+
"\\Play_Animations"
oShell.RegWrite( sName, nNewVal,"REG_SZ" ),
oShell.RegWrite( sName2, nNewVal2,"REG_SZ" );
-----------End Toggleimages.js-----------
-----------Begin Proxyonoff.js-----------
oShell= new ActiveXObject( "WScript.Shell")
var DISABLE= 0, ENABLE= 1;
var nRet= oShell.Popup("Enable Proxy?\n"+
"Yes to Enable, No to Disable", 0,
"Enable/"+ "Disable Proxy "+ "Setting", 35);
if (nRet==2) // 2 is Cancel
WScript.Application.Quit();
if (nRet==6) // 6 is Yes
nNewVal= ENABLE;
if (nRet==7) // 7 is No
nNewVal= DISABLE;
sName=
"HKCU\\Software\\Microsoft"+ "\\Windows\\CurrentVersion"+
"\\Internet Settings"+ "\\ProxyEnable"
oShell.RegWrite( sName, nNewVal,"REG_DWORD" );
-----------End Proxyonoff.js-----------
<font size=1>
[This message has been edited by PHOEN$X (edited 08 January 2003).]