How do I enable Open In Browser? - web

I think WebStorm can open a browser but I can not see how to do it. I do not see any browser icon in the toolbar:
I also do not see Open in Browser on my View menu:
What do I have to do for these buttons to show?

Make sure you have configured at least one Deployment configuration (File | Settings | Deployment --- "Local" should do just fine) and marked it as default for this project.
Once properly configured you can right click on file in PhpStorm (Project View panel or Editor itself) and choose "Open in Browser ..." (the same via View | Open in Browser ...).
If you have configured browsers in PhpStorm (File | Settings | Web Browsers) then you can also use "View | Web Preview ..." (or hold the mouse still for a second and choose appropriate browser icon in small semi-transparent popup/hint box in right top corner of the Editor window.
By Andriy Bazanov from here.

Related

Azure API Management Developer Portal edit detail options

I am new to APIM, when I try to edit the page api-details and change some of the defaults for "List of Operations" it does not present me with an option to save (stays greyed out). Instead I get a message saying "This section is part of a "Default" layout. Would you like to open it for editing?"
Opening the default layout doesnt really do anything in terms of helping me save these options. How to I save these options? Like "Allow switching between URL paths and operation names"?
After selecting default group the following happens.
One of the workaround to save the changes made to layout in APIM developer portal as following:
Go to the developer portal of the APIM Instance > Click on APIs option on right top corner > Click on Edit Layouts option comes in the bottom right corner >
Edit your layout by adding the required options like List of APIs or API History or Widgets and then click on Save button is available on left side.
After making selection, Save option will be enabled to apply changes.

What is the way to clear localStorage data in Chrome Background Extension

In the background script if I do something like:
localStorage.lastname = "Smith";
Is there any way I can clear "lastname" property like we do using History all clear in any browser? Without doing programatically and also without removing the extension?
Since HTML5 localStorage access is synchronous operation unlike chrome.storage. I just want to be sure that even though if ordinary user clears the browser history the localStorage set by the background script remains there
In the chrome://extensions/ page, enable developer mode.
Then click on "Inspect views: background page".
That should open a Developer Tools window.
In that window select the "Resources" option.
Then on the left you have "Local Storage" as one of the options.
Expand that option and select chrome-extension://...
In the panel of the right you'll be able see all the properties set and remove them individually.

IE11 Document mode defaults to IE7. How to set as edge?

I have try to fix as following steps but no luck, after close IE window it show the default 7.
Try these things:
Press <Alt> to display the IE menu.
Choose Tools | Compatibility View settings
Remove the checkmark next to Display intranet sites in Compatibility View.
Choose Close.
I unchecked the "Automatically detect settings" in the Local Area Network Settings (found in "Internet Options" > Connections > LAN Settings.
using a meta tag as follows:
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
To remove a site from this list, follow these instructions.
Go to Tools > Compatibility View settings.
In the resulting dialog, click on the site you want to remove from the list.
Click the Remove button.
And then select edge from emulation.
This problem is coming with particular PC to open my website.
Please help to solve this issue.

Mozilla undo "Always Block Notifications"

Using the web notifications api Mozilla will ask user for permission. If I choose 'Always Block Notifications' there seems no way to undo that setting(?).
I've checked about:config, and dom.notifications.enabled is true.
But calling Notification.requestPermission() never shows the popup again...
Under the menu at right-hand side of the Firefox toolbar, go to History -> Show All History. Find the site in question, right-click on it, and choose Forget About This Site from the context menu. This will clear all site data and site-related preferences including the notifications preferences, so you'll be able to get the notification prompt again.

Sharepoint 2007 ignoring IIS MIME types

I have two WebSites configured in my IIS 6.0. The first one is a normal WebSite and the other is a Sharepoint Web Application.
In order to setup the MIME type for .mp4 files, I went to both WebSites properties and under HTTP Header I clicked on "MIME Types..." button and entered:
Extension: .mp4
MIME Type: video/mp4
It works fine for the normal WebSite. But the Sharepoint WebSite seems to ignore this configuration (the HTTP response header content-type field is missing).
Is there a way to configure a Sharepoint Web Application to understand different content-types?
Please verify below settings(for SP2010).
Open Central Administration Site.
On left hand menu, click on Application Management.
In “Web Applications” section, Click on “Manage web applications” link.
Select the desired application by clicking on it.
Now on the Ribbon menu (Top Menu), Click on General Settings Icon arrow. A pop up will open, in this pop up select General Settings.
Another pop up page will open, scroll down the page and go to “Browser File Handling” section.
In my case by default it was set to strict. I change this setting to Permissive.
Click OK and it was done.
If it solves your issues, have a look at detailed description here

Resources