Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
<# Basic Web Browser in PowerShell you need to start power shell like this: PowerShell -ExecutionPolicy Bypass -STA #> $URL = "http://www.filmsbykris.com" [void] [System.Reflection.Assembly]::LoadWithPartialName("System.Drawing") [void] [System.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms") $Form = New-Object System.Windows.Forms.Form $Form.FormBorderStyle = "None" $Form.Text = "www.FilmsByKris.com" $Form.Size = New-Object System.Drawing.Size(800,600) $Form.StartPosition = "CenterScreen" #$Form.AutoSize = $True #$Form.AutoSizeMode = "GrowAndShrink" # Main Browser $webBrowser = New-Object System.Windows.Forms.WebBrowser $webBrowser.IsWebBrowserContextMenuEnabled = $true $webBrowser.ScrollBarsEnabled = $false $webBrowser.URL = $URL $webBrowser.Width = 800 $webBrowser.Height = 600 $webBrowser.Location = "0, 0" $webBrowser.Anchor = [System.Windows.Forms.AnchorStyles]::Bottom -bor [System.Windows.Forms.AnchorStyles]::Right -bor [System.Windows.Forms.AnchorStyles]::Top -bor [System.Windows.Forms.AnchorStyles]::Left $Form.Controls.Add($webBrowser) # Display Form [void] $Form.ShowDialog()
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)