[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 591
  • Last Modified:

How can I preview url in different browsers?

I wonder how it's done when you press a link and get the option to preview the link in different browser types lika IE, firefox, Safari or Opera.
Do you have a code snippet for this?
0
GDB08
Asked:
GDB08
  • 3
1 Solution
 
mchkorgCommented:
It may help, although it's not 100% what you asked for:
Running firefox (on Windows), you can install a plug-in called "IETab" that renders your site with IE engine.
You just click an icon to swith the rendering engine used.

IE: https://addons.mozilla.org/fr/firefox/addon/1419
opera: https://addons.mozilla.org/fr/firefox/addon/1190
safari: https://addons.mozilla.org/fr/firefox/addon/4641

Take a look on Google or addons.mozilla.org, you might something doing it all in one place.
I guess you'll have to install these browsers first

Regards
0
 
mchkorgCommented:
Oops, my message isn't clear: starting from the IETab plug-in, I found the other plug-ins and completed my message :)
0
 
GDB08Author Commented:
Thanks for the reply and sorry i did not describe my wubject well enough.

I have a cms were perople can press a link and view the pages thei are creating.  Now the pages open the default browser, but I would like to add a option so people can choose in what browser they wan't to preview.  So if people press the IE logo, do I have ti put something like IE.exe in the link and Firefox.exe in the link if peple wan't to open in Firefox and etc.
0
 
mchkorgCommented:
Mmm, I see. I don't how to make your current browser ask for a browser each time. Sorry.

Nevertheless, my solution might work:
- you edit your content with your current browser
- you click on "preview", you're have a new windows or tab within the same browser
- you use the plug-ins I told to choose to render it again with another engine

You might have some side-effects because of cookies, sessions and so on. I think this will be a real limitation: you'll have to be logged in "for each browser", or at least have something to "remember your login/pass" and automatically log in.

Choosing the rendering engine will be boring, but not more than what your users are doing right now to test their pages, I guess.

To my opinion, maybe you should test with these plug-ins, see if it works correctly. That might be a first solution
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now