There is a 3 step workaround you can do this by
- You should know when the popup will be opened. Popups are blocked in chrome by default. But chrome will show a popup blocked notification in bottom right corner.
- click on notification to select always accept popup from this specific site
- Reload the main (parent) page. This will load the popup in small windows. Right click in titlebar of popup window and select "Show As Tab". Once popup is transformed in a window with tab, you can drag it back to main window.
Hope this helps.
Thanks.
Answer from priyankpatel on Stack ExchangeThere is a 3 step workaround you can do this by
- You should know when the popup will be opened. Popups are blocked in chrome by default. But chrome will show a popup blocked notification in bottom right corner.
- click on notification to select always accept popup from this specific site
- Reload the main (parent) page. This will load the popup in small windows. Right click in titlebar of popup window and select "Show As Tab". Once popup is transformed in a window with tab, you can drag it back to main window.
Hope this helps.
Thanks.
There is the chrome extension One Window.
It is not perfect, as the popup will first be opened and then "transformed" into a tab, which you will see as a flicker. Otherwise it seems to work fine.
Can I force chrome to open "pop out" windows in a new tab instead of a teeny window?
How to disable pop up when opening new tab Chrome Android?
asp.net - Chrome how to open popup in new window instead of new tab (20170629_chrome 59.0.3071.115) - Stack Overflow
How to prevent Chrome from opening new tab when I open Chrome?
Videos
Turn pop-ups on or off
- On your computer, open Chrome.
- At the top right, click More. Settings.
- At the bottom, click Advanced.
- Under 'Privacy and security', click Site settings.
- Click Pop-ups and redirects.
- At the top, turn the setting to Allowed or Blocked.
I am very late to this question but if you're using Mac and your browser is in full screen mode, it always opens pop ups in a new tab. This might help some people trying to debug this issue.
It's verry irritating when sites do this, especially because I use a script blocker that means sites have to be approved, The toolbar does not appear in these breakout windows.
Like the title says, how can I disable that pop up whenever I open a new link on Android. I've searched on settings and on Google but I can't find anything. It's really annoying to have a Pop Up everytime I open a link on another tab.
Thank you in advance.
On programmatically open new window and not new tab, you can do it via JQuery:
<script type="text/javascript">
$(document).ready(fncOpenNewWindow);
function fncOpenNewWindow() {
$('#testURL').unbind();
$('#testURL').on('click', function () {
window.open("", 'Window Name', "height=200,width=200,modal=yes,alwaysRaised=yes");
});
}
</script>
This is the control:
<a href="@Url.Action("Action", "Controller")" id="testURL">Click Me</a>
This is tested on Chrome. I haven't tested this on other browser but this should work fine with Chrome.
I have the problem too. I fixed by change toolbar=no or remove toolbar feature.
window.open('http://google.com','x', 'height=600,width=600,left=10,top=10,resizable=yes,scrollbars=yes,toolbar=no,menubar=no,location=no,directories=no,status=no')
I've Googled this issue and there is no solution. I've tried changing the settings but it still happens. If I don't open Chrome for a while and then go to use the web browser, it opens a new tab and I have to close it every time. I have four tabs always open and I never use any more tabs. It's getting really annoying. It recently started doing it.
My theory is that Google updated Chrome to force me to look at all their news articles. If I'm unable to find a solution, I will look for a new browser.
Thanks in advance!
I just found the perfect Chrome extension to force the Pop Out module to open my journals in a regular Chrome tab instead of a pop-up window: https://chrome.google.com/webstore/detail/open-link-in-same-tab-pop/jmphljmgnagblkombahigniilhnbadca/related
Now I can have both Foundry and multiple journals opened on the same Chrome window.
I thought I would share my discovery :)
Ideally, the feature you are looking for in Edge to open a new tab is currently not available
LOLWUT
A popular feature which was a common, top-level setting in IE, and which has existed in both Chrome and Firefox for many years, was intentionally not imported into Edge's feature set? Who made that decision? This is why people continue to use non-MS browsers in the majority.
C'mon Microsoft, free tip from a Systems Engineer: don't remove/drop features that are very popular with users. This is requirements capture 101.
Thanks Aditya, we almost have this solved.
Holding the Ctrl key and clicking works exactly how I want it to EXCEPT I don't want to have to hold the Ctrl key, I want that action to be the default when I click on links that would otherwise open as a popup window. How do I do that?
Here's how it's done in Firefox:
"In order to force popups opening in a new tab instead enterabout:config into the firefox address bar (confirm the info message in case it shows up) & search for the preference named browser.link.open_newwindow.restriction. double-click it and change its value to 0**."
Is there anything like that for Edge?
window.open must be called within a callback which is triggered by a user action (example onclick) for the page to open in a new tab instead of a window.
Example:
$("a.runReport").click(function(evt) {
// open a popup within the click handler
// this should open in a new tab
var popup = window.open("about:blank", "myPopup");
//do some ajax calls
$.get("/run/the/report", function(result) {
// now write to the popup
popup.document.write(result.page_content);
// or change the location
// popup.location = 'someOtherPage.html';
});
});
You can try this:
<a href="javascript:openWindow();">open a new tab please</a>
<script>
function openWindow(){
var w = window.open("about:blank");
w.document.write("heheh new page opened");
}
</script>
