Access locally hosted server in MAC via Internet Explorer - ruby-on-rails

I need to hit my localhost url from Internet Explorer for testing purpose. My Rails application is hosted locally.
However, I need to test this local application in Internet Explorer browser. Is there any way to emulate IE in Mac?
I can not use virtual desktops as I fail to access localhost, even via Mac's IPv4. This is possibly because there are multiple redirections needed, all of which are defined in /etc/hosts.

Most of the time, if you need to use Internet Explorer on Mac, it’s probably for testing purposes, to see how certain websites or web apps perform, or to access websites that require you to use IE (yes, those still exist).
Both of those use cases could be easily performed by Safari. To use Internet Explorer with Safari, you just need to turn on developer tools:
(1) In Safari, go to Preferences > Advanced
(2) Check “Show Develop menu in menu bar”
Now you can access developer tools directly from Safari, which let you inspect websites, empty caches, and most importantly simulate a variety of other browsers right through the Safari app. To use Microsoft Edge or Internet Explorer on Mac:
(1) Go to the Develop menu in Safari’s menu bar
(2) Navigate to User Agent and select the browser you’re looking for, whether it’s Microsoft Edge, any of the Internet Explorer versions, Google Chrome, Firefox, etc.
(3) The website you’re on will be automatically refreshed to reflect the browser of your choice. Just don’t forget to switch back!
The User Agent option in Safari should cover nearly all reasons for using Internet Explorer on Mac.
Reference:
Simulate Internet Explorer on Mac with Safari

Related

intercept web traffic from visual studio xamarin for mac / iOS simulator

I know almost nothing about Visual Studio or Xamarin. I'm using Visual Studio for Mac 8.9.10. This isn't my code and I'm trying to understand it.
This app does REST requests to my server (rails) and I am trying to intercept them. I have my iOS Simulator set up so that network requests can pass thru Proxyman. This works fine for, say, Mobile Safari on the Simulator, or for an app that I write myself in Xcode. I thus believe I have a good handle on Proxyman usage and on the traffic I am trying to intercept.
However, when my app built from Visual Studio Xamarin does networking in the Simulator, nothing appears in Proxyman. I thought at first this might be because of my use of a localhost server for testing, but it is equally true for normal requests that really do go out on the Internet. Proxyman doesn't seem to see my app's traffic at all.
This makes me think there is something odd about the way Visual Studio / Xamarin itself configures iOS apps for networking. Is there? How do Mac users intercept web traffic from a Xamarin Visual Studio-built iOS app in the Simulator?
(And another thing: If I write my own iOS app to be intercepted by Proxyman, I have to enable NSArbitraryLoads in order to talk via http. But my Visual Studio Xamarin app doesn't have that in the Info.plist; yet it can talk via http. How can that be? Seems related.)
(This might be related: it seems Xamarin http requests really do evade the proxy somehow? https://forums.xamarin.com/discussion/129748/how-do-i-make-http-requests-using-proxy-settings)
There is nothing in the lower level network stack itself that respects the system proxy settings; ideally network frameworks should, but it appears that Xamarin's does not.
localhost.proxyman.io is a DNS entry that points to localhost but it doesn't redirect the traffic through the proxy.
You need a something that can act as a reverse proxy - A service that looks to the client like your web service, but that redirects requests to your actual web service. This feature is not yet available in proxyman.
You can use Charles proxy as an alternative.

How can I inspect element in an iPhone X's browser?

I have a CSS bug (visual difference) that seems to happen only in iPhone X devices.
what I would usually do in cases like these is use the inspector tool in the browser the bug occurs to find the rule I wrote that is not cross browser, and do a trial and error in the inspector tool until I find what works cross browser and cross platform.
knowing that iPhone uses safari browser - I installed safari on my windows PC but couldn't reproduce the bug.
how can I simulate a browser in a iPhone on my windows PC? or is there another way to find the quirk in this case in order to fix it?
I can't afford a mac.
I have windows 10 on my PC but can also use a linux distribution if needed.
also, this cannot be debugged in a cloud because the security team won't allow the code to be hosted on an external cloud at the stage of development.
As far as I know, your best/cheapest approach would be to run MacOS within a Virtual Machine and then perform the steps Neal suggested.
But keep in mind that you need to run the network config of your Virtual Machine in "Bridge Mode" otherwise your virtual macos can't see any devices on your network.

Users Unable To Load Website or Even Leave Server Log When Visiting Specifically from An iPhone/iPad (Any Browser)

I became aware of this issue soon after migrating the site from one hosting account (Media Temple) to another (InMotion).
Ultimately the site renders completely fine on all desktop browsers and all mobile devices other than iPhone/iPads, but any kind of browser on an iPhone or iPad is unable to connect (I've tested Chrome, Safari, Firefox).
This is specific to these actual devices - I can render the website just fine on browser-based mobile device emulators, and simulating Apple products using Chrome Development Tool.
The hosting company wasn't able to offer any insight and mentioned that the IP addresses of iPad/iPhone users don't even hit our weblogs or generate any sort of error he can see and that ultimately the IP address from the Apple device I was using to test isn't present in any logs.
Briefly, I did see an error in Safari Desktop that read:
NSPOSIXErrorDomain:100
At this point I'm planning to migrate the site back to the original host to see if that is a possible solution, but ultimately I'm just at a loss as to why iPad/iPhone devices are affected and not leaving any logs.
The site itself I did not develop, but is Wordpress based and I have tried turning off the plugins, switching themes, and retesting on my mobile device but I wasn't able to fix that error.
The domain can be found here
Would appreciate any insight.

Run Microsot Internet Explorer inside an iOS Application

Is there any way to run Internet Explorer inside an iOS Application? I am looking for a component, like WebView, which be able to open IE websites.
Thanks.
The shortest answer is no, there's no IE for iPhone or iPad. Sorry to
tell you this, Internet Explorer lovers or those of you who are
required to use it, but there never will be.
There are two key reasons for this:
Microsoft stopped making Internet Explorer for the Mac in 2006. If the
company doesn't develop IE for the Mac, it seems very unlikely that
Microsoft would suddenly bring IE to the iPhone More importantly,
Microsoft doesn't make IE for any operating system anymore. The
company retired Internet Explorer completely in 2015 and replaced it
with a new browser called Edge.
Source : https://www.lifewire.com/can-you-get-ie-for-iphone-2000225

What options for web site development for iPad are available?

I'm developing a site one of the targets of which is iPad.
What options do I have to debug client side (DOM inspector, style viewer/editor, javascript console, network analyzer - all thing every major desktop browser has) when viewing the site from iPad?
I'm not looking for some kind firebug lite, or anything that makes me to debug site from iPad itself. (This would be too tedious.) Instead, what I'm after is some sort of remote debugger for mobile Safary, allowing me to work with sites opened on iPad from a desktop machine, or an iPad emulator with same capabilities. I know there is the emulator that comes in bundle with official SDK, but does it have such means?
It's the first time I'm facing the problem, so not to blame!
This is what I'm aware of:
weinre (But does it really work?)
Check out BugSense and their HTML5 (javascript) installation

Resources