oidc-client popup window as new tab in browser instead - oidc-client-js

Attempting to implement OidcClient.signinPopup() but have it open in a tab.
In the UserManagerSettings I've set popupWindowFeatures property to null but it continues to open as window rather than new tab in chrome.

Related

"Right Click" in Selenium IDE to bring up the Context Menu

How can you bring up the context menu (as if you were right clicking on an element on a page) so you can see the context menu in the browser?
I see the contextMenu and contextMenuAt commands are available, but they always seem to pass the "T" flag so that the link opens in a new tab. I don't want that. I want the menu to come up so I can simulate a 'k' keypress and have the file download to my desktop.
How do you pass a switch/param to contextMenu and/or contextMenuAt so that you can actually do more than just open whatever in a new tab?

imacros changing focus to second firefox window

We are trying to create a script that can click on a button that appears in a second window (not a tab in the same window) but do not seem to be able to get iMacros to change its focus to a new window.
Can iMacros cross browser windows in a single script?
The webpage flow is:
- browser window directed to a URL
- Click a button in that page
- a new window is opened
- click a button in that window
You can try to make the browser show this pop-up in a new tab of the same window.
Let's suppose that your button html code looks like this:
<button id="popupbut" onclick="window.open('http://popupUrlHere', '', 'width=300,height=300,left=50,top=50,menubar=no');">New window</button>
So, here is a macro to do the above mentioned thing:
SET !EXTRACT_TEST_POPUP NO
TAG XPATH="id('popupbut')" EXTRACT=HTM
SET popupUrl EVAL("'{{!EXTRACT}}'.match(/(http:.+?)['"]/)[1];")
TAB OPEN
TAB T=2
URL GOTO={{popupUrl}}
I think this direction should be right.

Why Won't Firefox Add-on Browser-Action Pop-Up Close?

I'm working on a Browser extension/add-on. We have it working in Chrome, so I'm trying to get it working in Firefox.
I've only gotten my extension to load in Firefox Developer Edition 49.0a2 (2016-07-25) (I'm not sure why it doesn't work normally, but have asked elsewhere).
My add-on uses a browser_action to add a button to the toolbar and open a pop-up, which opens fine, but once it's open, it seems impossible to close without quitting Firefox entirely.
In fact, it's so pernicious, the pop-up then appears over other applications!
Is this just a current bug in Firefox, or is there a way for me to fix this?
You might have accidentally clicked the "only close the popup on ESC" button in the firefox debugger, which keeps a popup open until you press Escape. Source: https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Debugging#Debugging_popups
IF your browser extension popups (and right-click context menus, bookmark menu etc.) persist and refuse to go away unless you press Esc AND you have the ’Browser Toolbox’ window open—then you have probably left the ‘Disable Popup Auto-Hide’ option enabled. (This setting is only in effect when the Browser Toolbox window is open.)
To disable this setting, go to the Browser Toolbox window (the window title is ‘Developer Tools – Debugging’), then, in the upper right-hand corner, press open the three-dots menu, and uncheck ‘Disable Popup Auto-Hide’. (If checked you get sticky popups/context menus. If unchecked the popup/context menu will close if you click outside it).
Browser Toolbox
NOTE: If your browser menu does not have a ‘More tools > Browser Toolbox’ option, then the Browser Toolbox is disabled, and cannot be causing the sticky popup behavior.
The Browser Toolbox window can be opened through the browser main menu (the little hamburger icon, rightmost in the URL bar of the browser) ‘More tools > Browser Toolbox’ (or Ctrl-Shift-Alt-I).
The Browser Toolbox is disabled by default, so, for the above paragraph to work must first be enabled. To do this click on main menu icon, then ‘More Tools > Web Developer Tools’ (Ctrl-Shift-I), then, in the Developer Tools frame (or window) click the three dots menu icon (top right) and select ‘Settings’.
In the settings, scroll down to the bottom right (under the ‘Advanced settings’) and check the last two options:
[✔️] Enable browser chrome and add-on debugging toolboxes
[✔️] Enable remote debugging
Your browser menu should now contain the ‘More tools > Browser Toolbox’ option. (From the MDN Web Docs ‘Enabling the Browser Toolbox’.)
This answer (just like #Lakinator’s answer) is based off of information found on Mozilla's official site.

How to change URL `OpenWith` in Edge browser

When use Edge open the Build's Url in TFS,the edge browser popup the Open with dialog .my fault choose chrome,Now I must right click open the url.
How can I change the OpenWith?
**[Update:]**After I Reset the default app in setting panel. I reopen(single click) the URL will Show the dialog.

How to open webpage in HIDDEN default browser? DELPHI

I have been trying to open a hidden default browser from delphi but coulnd't.
I tried
ShellExecute(self.WindowHandle,'open','www.google.com',nil,nil, SW_HIDE);
and I get my chrome browser open but not hidden, and it opens a tab not a new window, also tried with TStartupInfo with the same results. Is there another way to achieve this?

Resources