View Full Version : Safari spoofing :)
SteveC
Mar 16, 2004, 03:26 PM
Hi everybody,
Would you please share with me how I can make Safari spoof to pretend it's IE? I'm trying to get into a site that requires IE and really need your help if you can please help me. :)
Thanks a LOT!
Steve
glosterseagul
Mar 16, 2004, 04:31 PM
Hi everybody,
Would you please share with me how I can make Safari spoof to pretend it's IE? I'm trying to get into a site that requires IE and really need your help if you can please help me. :)
Thanks a LOT!
Steve
did you look at this?
http://forums.macrumors.com/showthread.php?t=64389
bennetsaysargh
Mar 16, 2004, 04:47 PM
http://www.versiontracker.com/dyn/moreinfo/macosx/17952
adds a debug menu to safari so you can change the user agent.
SteveC
Mar 16, 2004, 05:18 PM
Thanks a LOT! :) I'll DL it right now. Is it possible to spoof the browser into showing it's a on Windows OS as well? I have a site I need to access that requires IE6 and Windows.
http://www.versiontracker.com/dyn/moreinfo/macosx/17952
adds a debug menu to safari so you can change the user agent.
tomf87
Mar 16, 2004, 05:47 PM
You can use the Debug menu to say it is IE 5.2 on Mac or IE6 on Windows.
SteveC
Mar 16, 2004, 06:01 PM
Awesome - that's PERFECT. :)
I downloaded the script but how do I run it?
You can use the Debug menu to say it is IE 5.2 on Mac or IE6 on Windows.
tomf87
Mar 16, 2004, 06:07 PM
Awesome - that's PERFECT. :)
I downloaded the script but how do I run it?
You should have StuffIt Expander by default. Double-click the .sit file. It will create a new folder, "Safari Debugger". Open that folder and double-click the script iinside. Now launch Safari.
I haven't had much success getting Safari to act right on IE only sites, but good luck.
uhlawboi80
Mar 16, 2004, 06:07 PM
i have never used that debugger program, but if you search version tracker for "safari enhancer" that program adds a debug menu as well but it also gives you a user agent menu...which allows you to set what safari is recognized as OR set it to automatic which lets it be whatever the site requires, typically IE. It auto selects from windows IE, mac IE, mozilla 1.1, konqueror 3, and netscape 7.0, 6.23, 4.79.
wasnt sure if the debugger does this or not, but i havnet had trouble with BOA's site since ii got enhancer and it requires IE
SteveC
Mar 16, 2004, 06:10 PM
When I run the script, it says,
"sh: line 1: defaults: command not found"
You should have StuffIt Expander by default. Double-click the .sit file. It will create a new folder, "Safari Debugger". Open that folder and double-click the script iinside. Now launch Safari.
I haven't had much success getting Safari to act right on IE only sites, but good luck.
tomf87
Mar 16, 2004, 06:14 PM
When I run the script, it says,
"sh: line 1: defaults: command not found"
What version of OS X are you running?
Mine worked OK:
mac:~ user$ defaults write com.apple.Safari IncludeDebugMenu 1
mac:~ user$ echo $SHELL
/bin/bash
mac:~ user$
Can you try the same commands and paste the output?
TEG
Mar 16, 2004, 06:16 PM
You can Spoof MSIE 6.0 on Windows or 5.5/5.1 on Mac and even versions of Mozilla.
TEG
SteveC
Mar 16, 2004, 06:19 PM
I tried it... mac:~ user$ defaults write com.apple.Safari IncludeDebugMenu 1
Same error.
Do I need to replace anything in there with my personal info.??
I'm running Panther with Safari 1.1
What version of OS X are you running?
Mine worked OK:
mac:~ user$ defaults write com.apple.Safari IncludeDebugMenu 1
mac:~ user$ echo $SHELL
/bin/bash
mac:~ user$
Can you try the same commands and paste the output?
tomf87
Mar 16, 2004, 06:22 PM
I tried it... mac:~ user$ defaults write com.apple.Safari IncludeDebugMenu 1
Same error.
Do I need to replace anything in there with my personal info.??
I'm running Panther with Safari 1.1
Specifically, I was wanting to know the output of:
echo $SHELL
It might be easier to use TinkerTool:
http://www.versiontracker.com/dyn/moreinfo/macosx/11967
It has a check box that does it for you. It also has some other neat little things you can do.
SteveC
Mar 16, 2004, 06:25 PM
OK, the output is:
echo $SHELL
/bin/bash
-bash-2.05b$
By the way, is it normal to have "Last login: Tue Mar 16 19:20:19 on ttyp1
-bash-2.05b$ " in the terminal when it first opens?
tomf87
Mar 16, 2004, 06:29 PM
Yes that is normal. That shows the last time you logged into Terminal and on what interface, normally ttyp1.
I do not know why that command is not working, as it works fine on my 10.3.3 install. What patch level of Panther is it?
Try this:
/usr/bin/defaults write ...
It appears your PATH isn't setup right. Here's mine:
echo $PATH
/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/mysql/bin:/usr/local/pgsql/bin:/usr/local/bin:/usr/X11R6/bin
since the defaults program is in /usr/bin, I suspect that /usr/bin is missing from yours.
SteveC
Mar 16, 2004, 06:31 PM
7B85 I think? Is that what you mean?
Yes that is normal. That shows the last time you logged into Terminal and on what interface, normally ttyp1.
I do not know why that command is not working, as it works fine on my 10.3.3 install. What patch level of Panther is it?
tomf87
Mar 16, 2004, 06:40 PM
7B85 I think? Is that what you mean?
Sort of. I can't remember build numbers. I was referring to 10.3.0, 10.3.1, 10.3.2, or 10.3.3.
Did you try:
/usr/bin/defaults write com.apple.Safari IncludeDebugMenu 1
SteveC
Mar 16, 2004, 06:43 PM
Thanks :) I tried that and here's what I get:
Last login: Tue Mar 16 19:24:19 on ttyp1
-bash-2.05b$ /usr/bin/defaults write com.apple.Safari IncludeDebugMenu 1
-bash: /usr/bin/defaults: No such file or directory
-bash-2.05b$
What now?
tomf87
Mar 16, 2004, 06:47 PM
My thinking is that the /usr/bin/defaults program comes with the Developer package. I bet you don't have it installed, do you? If not, I would go with TinkerTool to make life easier for you.
evil_santa
Mar 16, 2004, 07:04 PM
Is this safe to use with onlne banking? My bank only allows IE. Safari spoofed as MSIE 5 worked, but would there be any security issues?
bennetsaysargh
Mar 16, 2004, 07:11 PM
7B85 I think? Is that what you mean?
i am pretty sure 7B85 was the Gm which means it is 10.3.0
hmm.
SteveC
Mar 16, 2004, 07:59 PM
Nope I don't have the Developer Package so maybe that's what it is.
I'll DL TinkerTool then. Are there any negative side effects of using TT?
My thinking is that the /usr/bin/defaults program comes with the Developer package. I bet you don't have it installed, do you? If not, I would go with TinkerTool to make life easier for you.
kylos
Mar 16, 2004, 08:29 PM
While you're figuring out your bin directory problem, you can try this to get the debug menu:
Open ~/Library/Preferences/com.apple.Safari.plist with TextEdit.
Find these lines:
<key>IEFavoritesWereImported</key>
<true/>
<key>InputFieldWidthRatio</key>
<real>2.504807710647583</real>
The info in the key tags are in alphabetical order so it shouldn't be too hard to find.
Now, between
<key>IEFavoritesWereImported</key>
<true/>
and
<key>InputFieldWidthRatio</key>
<real>2.504807710647583</real>
add
<key>IncludeDebugMenu</key>
<string>1</string>
Close Safari, save the changes you made in com.apple.Safari.plist, and then open Safari to implement your changes.
Horrortaxi
Mar 16, 2004, 11:32 PM
I've used the debug menu but I never feel right about it. You can tell the world you're using IE on Windows when you're using Safari on Mac. That doesn't quite send the right message to web designers. We want them to code it right, right? Personally, I've started to do without the products and services of companies that want to make me use IE on Windows.
plasticparadox
Mar 17, 2004, 03:42 AM
Why not just install PithHelmet? Saves you the trouble of messing with your preference files, and optionally blocks banner ads to boot.
http://culater.net/software/PithHelmet/PithHelmet.php
superbovine
Mar 17, 2004, 12:13 PM
Why not just install PithHelmet? Saves you the trouble of messing with your preference files, and optionally blocks banner ads to boot.
http://culater.net/software/PithHelmet/PithHelmet.php
thank you...
bennetsaysargh
Mar 17, 2004, 02:02 PM
I've used the debug menu but I never feel right about it. You can tell the world you're using IE on Windows when you're using Safari on Mac. That doesn't quite send the right message to web designers. We want them to code it right, right? Personally, I've started to do without the products and services of companies that want to make me use IE on Windows.
well, changing the user agent doesn't make it render any different, unless safari has IE mozilla and netscape engines built into it. it's just tells the site what you are "using"
SteveC
Mar 18, 2004, 09:21 AM
Thanks everyone. I finally got it. :cool:
well, changing the user agent doesn't make it render any different, unless safari has IE mozilla and netscape engines built into it. it's just tells the site what you are "using"
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.