window.open("http://www.w3schools.com");
This code opens a page but with the user's default browser.
but
i want to open page only in internet explorer.
Is it possible?
i want to open page only in internet explorer Because i use Activex.(is it possible that run activex in mozila?)
the others are probably blocking the popup you generate
Try it on chrome and watch the right part of the address bar, you should see there a "Popup blocked" message
I don't know if you can open a windows from one browser to other for security reasons or other issues.
But you can put a message in the page warning the user to use a specific browser if he is not using it. To know if the user is using or not IE you can use:
Check if user is using IE with jQuery
Related
I know you can check for useragents with javascript, but can you also check to see if plugins have been blocked from operating on your page?
The page in question loads the Sibelius Scorch Plugin, and it loads properly for Firefox, Safari, and IE... but Chrome automatically blocks the plugin, and continues to do so until you have selected "Continue to Block" or "Allow this Plugin"
Since some of the users of this site don't read at all, I would like to add a styled status message that alerts the user "HEY, can't see the plugin working? Click ALLOW in the upper right hand corner of your Chrome browser".
Like I said, this error only occurs in Chrome, other browsers automatically allow the plugin to execute.
Thank you very much in advance.
I created a web site where I would like to have 1 of the button of my menu navigation to open the internet explorer browser. Since the URL I am pointing for this specific button can only be view with IE and not with Chrome, Firefox etc... Which mean if someone is using Chrome for example and want to access this specific link by clicking on it it will open IE browser and see the content. This is feasible? thanks in advance
No, this is not feasible.
Opening in another browser is totally user side. You would have to alert the user that this page is best viewed in Internet Explorer and leave it up to them to download/open Internet Explorer to view it.
I have an HTML quiz (it is designed in html+css, but calculated and animated in JavaScript). Therefore, it opens in browser by default (quiz.html). I want to make it open in for example Windows window or something different. Is it possible. Or some portable browser, and set up HTML file to open by it. How?
The problem is that browser environment (bookmarks, forward, refresh buttons) is visible, and I don't want that. I want it to open in its specific environment, because it will be placed on 20 computers with different browsers etc... I can install anything on those machines. Or is it maybe possible to set up my quiz.html file to open in some other unpopular browser with no so many buttons and details?
Like said in comment, you might try to open your page in a pop.
http://www.w3schools.com/jsref/met_win_open.asp
http://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_win_open
With the following code, I manage to get a popup without anything but the page and the address bar (on Firefox Potable).
window.open("http://www.w3schools.com","width=200,height=100",'directories=no,titlebar=no,toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no');
You would still have the adress bar in Firefox, but this can be remove following this post:
Open new popup window without address bars in firefox & IE
If restricting your users to IE is ok then you want an HTML Application (*.HTA) which allows the hosting of HTML/Script in a standalone non-browser window which would seem to be ideal for your purposes.
MSDN ref.
I can use window.open resizable=no to disable/grey out the maximize button, but when I try to use dialog=yes,minimizable=no the minimize button won't grey out/disable, Please help me find a way to disable this minimize button, Thanks!
I want to apply this setting to a kiosk computer because I dont want user to minimize their browser and leave their credential open for the next person
"Dialog" and "Minimizable" are not valid options. You cannot, and should not, prevent a user from being able to minimize a window on their desktop.
If you wish to run the browser on a Kiosk, I would suggest loading the browser in Kiosk mode.
I am using Google Chrome Frame (GCF) with IE9 and when I open a javascript dialog it opens in a tab instead of a dialog.
My IE setting for 'Tabbed Browser Settings' -> 'When a pop-up is encountered:' -> 'Let Internet Explorer decide how pop-ups should open'
I use this javascript to open a window:
window.open("http://google.com/", "_blank",
"location=0,status=no,toolbar=no,menubar=no,width=800,height=600,scrollbars=no,resizable=no");
If I change the IE setting to 'Always open pop-ups in a new window' it works. The problem lies in that I need to change that setting on every IE9 computer in the company and the computer administrators are hesitant to do this.
According to Microsoft documentation if you specify a width/height it will open in a dialog but this is not the case when using GCF.
Is there anything I can do (other than changing the setting) that will force the dialog to open in a new window instead of a tab?
Also IE is crafty it tells you it changes the setting but sometimes it actually doesn't so when testing close out of the browser all the way after changing the setting (I got all excited once after it 'worked' but it was actually the setting not updating in IE).
You have to use the rel="noreferrer" in a standard link (no window.open).
I went through reams of documentation trying to figure this out.
Fortunately ChromeFrame isn't needed as much since IE11 seems to support most things (although IE11 has a horrible memory leak).
[a href="http://www.google.com" rel="noreferrer" target="_blank"]Rel No Referrer Is the Key[/a]