try to reset edge developer tools - microsoft-edge

by mistake I emulated other device edge developer tool display
How can I reset default browser devveloper tool display

If you need to reset the dev tools to restore the default in Edge, just follow the steps below:
Open Edge and press F12 to open the dev tools
Press F1 to open the settings panel when focus in dev tools
Scroll the Preference tab to the bottom
Click the option Restore default and refresh
Just like this:

Related

How can I restore the Developer Tools window to its normal configuration?

I have Edge 95.0.1020.53, in Win 10 Pro 21H1.
I'm not a techie. For no specific reason, I opened Developer Tools, which I haven't done for about 10 years.
After opening, I saw the configuration that I've seen many times: the parent web page using three-quarters of the complete window was on the left. The tools were in a panel on the right.
After pressing several buttons out of curiosity, I'm unable to get back to my original config, with the current web page on the right, and the tools on the left. The web page is no longer visible The dev tools take up the complete window. I suspect that I might have actually dragged the leftmost edge of Dev Tools all the way to the right of the main window. If I could somehow grab that left edge and drag it to the right, I think my problem would be solved.
In an attempt to restore the "default" config, I restarted my laptop. But if I show Dev Tools, I still get the palette of windows that I opened earlier. The parent web page is not visible.
How can I "reset" the config to its default config?
Thanks.
If you need to reset the dev tools to restore the default in Edge, just follow the steps below:
Open Edge and press F12 to open the dev tools
Press F1 to open the settings panel when focus in dev tools
Scroll the Preference tab to the bottom
Click the option Restore default and refresh
Just like this:

How can I permanently change the default user agent in Microsoft Edge

In edge, I can change the default user agent in Chrome. I can do the following right now:
In Edge, select More Tools->Developer Tools.
In the developer toolbar select More Tools->Network Condition. Note that this is not the same more tools as the last step, that one is on the edge toolbar, this is on the developer toolbar.
On the bottom pane, uncheck use browser default and then add your custom user agent.
However, if you close the browser, the settings goes away. I need to settings retained. If not, a way to change the default user agent would work, too. Reigstry editing is ok.
Note that I cannot use a extension like switch user agent. When I click on a shortcut, it launches Edge to go to a site and the site sees the user agent and changes the UI accordingly. If I click on the shortcut the site is open before the extension changes the user agent, so I need this to occur before the extension activates.

Microsoft Edge always open new tab instead of new window

Since last week, when I right click on Edge taskbar tab to open new tab or new window, it opens a new tab always, instead of opening a different window
This is how it looks.
I checked out all options, but didn't find any such customization. I tried to un-install and re-install the Edge browser, it worked for a while, but once the system restarted, it started same behavior again!
Any idea, how could I change that to open new window when clicking on 'Microsoft Edge' instead of opening a new tab in an existing window?
From your description, I assume that there might be some malicious software hijacking your Edge browser. It locks the homepage of Edge and tampers the shortcut of "Microsoft Edge".
The right behavior of clicking on "Microsoft Edge" should be opening a new window. But I can reproduce your issue with the steps below:
Right click Edge icon on taskbar.
Right click Microsoft Edge then click Properties.
In the Microsoft Edge Properties window, add a webpage url after Target value.
Click Apply, OK to save the changes.
Click Microsoft Edge in taskbar Edge right click menu, it will open the webpage url as a new tab in an existing window.
You can refer to my steps above to check your Edge Target value in Microsoft Edge Properties. Please make sure there's only the path of Edge exe in the Target value. The right value of Target should be like this (your path might be different with mine, below is just an example of mine):
"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe"
If there's anything else, it's very likely that a malicious software tampers it. Then you should check your computer thoroughly to remove any malicious software and virus.

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 can I maximize the editor pane in IntelliJ IDEA?

In Eclipse, I can type Ctrl+M or click the maximize icon in the editor pane to make the editor pane take up the entire Eclipse window, and then again to restore the pane back to its previous size exposing the other panes.
Is it possible to perform the equivalent in IntelliJ IDEA?
To clarify, I'm asking about hiding all other tool panes to show only the editor pane. I'm not asking how to go to distraction-free mode, because this is mode is completely "full screen", hiding all toolbars, window decorations, etc.
The closest thing would be to hide all tool windows by invoking the Hide All Tool Windows action. The shortcut for that is Ctrl + Shift + F12 (Default keymap).
This will hide all tool windows, effectively maximizing the editor window (though not full screen). The IntelliJ menu bar, toolbar, breadcrumb and tab bar will still be visible.
I'm using IntelliJ 11.1.2 on Kubuntu 12.04 LTS with the Default keymap.
14.0.3 on MacOS X
It's Cmd + Shift + F12 in IntelliJ IDEA 14.0.3 on MacOS X.
UPDATE on 2015-03-24:
IntelliJ IDEA 14.1 now has support for Distraction Free Mode. You can invoke it by clicking View > Enter Distraction Free Mode. In this mode, IntelliJ hides everything but the menu. For more details, follow their video detailing the new feature: https://www.youtube.com/watch?v=uVwE8MFgYig.
If you want to maximize a pane , select that pane (by clicking inside or on its title bar) and then use the shortcut "Ctrl+Shift+Quotes"
You can double click anywhere on the tab title bar of the editor pane.
All answers work for only hiding other tools. If you have more than one editor pane and you want to maximize only one editor pane (hide all tolls and hide all other editor panes), it is not possible right now.
PyCharm version: 2018.2.7
I use Ctrl-Shift-F12("Hide All Windows") toggle between maximum and normal modes of the editor.
Using IntelliJ 14.1.5
If you want to maximize the editor window AND full-screen the app, you can create a macro with the following two commands:
Toggle Full Screen Mode
Hide All Tool Windows
And then assign a hotkey to the macro. Here's how I did this:
File > Settings > Keymap
Use the search bar to search for the two commands above. Assign obscure hotkeys to those.
Edit > Macros > Start macro recording
Hit the two obscure hotkeys you just assigned: this should max the editor and full-screen the app
Stop recording. Name the macro
Open File > Settings > Keymap again. Find the Macros section, find your macro, assign a nice hotkey to it.
I just assigned ^M(ctrl+M) to Main menu | Window | Active Tool Window | Hide All Tool Windows under preferences(by clicking cmd,). This worked for me exactly like eclipse.
something similar can be achieved by opening your tab in a new window.
The default hotkey for that is shift+f4.
the editor tab remains in the main app window as well, and the new window appears on top of the main app window.
This has already been answered, but since when I google "android studio maximize tab" this is the first answer I see, I'm going to add my two cents.
I hate the keyboard shortcuts since, at any given time, I have 1 hand on my keyboard and 1 hand on my mouse. Having to let go of my mouse to hit a 3-key combination to maximize the current tab is not a shortcut. What I was looking for was an Eclipse-style behavior: double-click the tab to maximize. Here's how to do that:
In Android Studio, under Preferences, go to Keymap->Main Menu->Window->Active Tool Window. Right-click the "Maximize tool window" mapping and select "Add mouse shortcut."
For "Click Count" pick "Double Click" and then double-click on the "Click Pad" mouse icon.
Click OK out of the menus and you should now be able to double-click on any tab and it will be maximized. Double-clicking again will minimize it.
Coming from Eclipse to IntelliJ, this was one of the most frustrating aspects I've had to deal with.
full screen plugin is availble for IntelliJ Idea...
https://github.com/jfim/ideafullscreen
If you need to use the same shortcut like Eclipse Ctrl+M, to minimize/maximize the active editor window,
You can follow the below steps:
Open (File > Settings...) or click ( Ctrl+Alt+s )
Select Keymap
Search for "Hide All Tool Windows"
Change the default shortcut to Ctrl+M
Then you will be able to use the same shortcut as Eclipse.
This is quite an old question and the distraction free mode wasn't exactly what I wanted. This is because it does not hide other editor windows. With 2021.1 EAP this issue has been resolved and maximising the editor hides all other editors but the active one.
For people using IdeaVim trying to emulate the <leader> z behavior of tmux, you can use the following mapping:
map <leader>zz <Action>(MaximizeEditorInSplit)
I searched for something like ctrl+b zin tmux. For me, the similar task solved by key combination shift+f4. It opens your tab in the separated window (which can be closed as usual, alt+f4). My PyCharm version:
PyCharm 2019.2 (Professional Edition)
Build #PY-192.5728.105, built on July 23, 2019
Runtime version: 11.0.3+12-b304.10 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 725M
Cores: 8
Registry:
Non-Bundled Plugins:

Resources