Showing posts with label Internet Explorer. Show all posts
Showing posts with label Internet Explorer. Show all posts

Friday, February 10, 2017

How do you enable JavaScript in Microsoft Edge?


Enabling JavaScript in Microsoft Edge is a two step process.

In Microsoft Edge do this:

Click on ... (ellipsis) button at the right extreme to display the drop-down menu as shown.



EnableJavascriptEdge_0.png

Click Open with Internal Explorer to open the IE Browser.

In the opened IE Browser do this:
Go to Menu at the top, click and open the Internet Options (at the very bottom) to open the Internet Options window.
Click Security tab to open.


EnableJavascriptEdge_1.png

Click Custom level...  under Security level for this zone to open the Security Settings -Internet Zone as shown above.

Scroll down and enable Active Scripting as shown.


EnableJavascriptEdge_2.png

Tuesday, July 14, 2015

How to navigate to an URL in Internet Explorer using powershell?

To navigate to an URL use the New-Object definition as in the following: (in this case http://www.bing.com/news):
PS C:\Users\Jayaram> $ie = New-Object -com InternetExplorer.Application
$ie.visible=$true
$ie.navigate("http://www.bing.com/news")

You get to display the following (contents will be different):


BingNews.png

Can you change the size of the window?

Yes, you can change as shown by adding attributes.


Bing_news4to3PS.png

When you run the above in Windows PowerShell you get to display a different sized window:
 


Bing_news4to3.png

These are supported for the Internet COM Object in PowerShell:

 

Thursday, May 29, 2014

What is a loose XAML file?

It is very similar to an HTML file that you create in Notepad and add it to your files/folders like this one:

Type in Notepad the following one line:

Hello, HTML



and now save it as TestHTML and save it as a HTML file (not the .txt extension) to your desktop. When you double click this file, your browser (IE perhaps) displays the following:

Hello, HTML
Sometimes it is also called a HTML fragment.

Likewise you can store a loose XAML file as shown:

Type the following in Notepad and save it as a file with extension .XAML to your files/folders.

http://schemas.microsoft.com/winfx/2006/xaml/presentation
" FontWeight="Bold">
Hello, XAML
 
Now open this file using IE (this is usually at C:\Program Files\Internet Explorer\iexplore.exe)

You will see the following:

Hello, XAML

For a loose XAML file you should havethe following:

•Contains only XAML (that is, no code).

•Has an appropriate namespace declaration.

•Has the .xaml file name extension.