小编Aso*_*Aso的帖子

如何隐藏 Chrome 创建的网站应用程序标题栏

我从 Chrome 创建了一个应用程序扩展,我想隐藏信息栏:
在此输入图像描述

我想要显示绿色区域,如上图所示。

browser google-chrome google-chrome-app

9
推荐指数
1
解决办法
3442
查看次数

Toast通知无法在Windows下创建者更新

我有一个PowerShell代码,我称之为.NET做吐司通知的参考,它在以前的更新中很好用.但是当得到windows 10 fall创建者(FCU)更新时,它已经消失了,相同的代码现在不能正常工作:

$app = "HTML Report"
[Windows.UI.Notifications.ToastNotificationManager, Windows.UI.Notifications, ContentType = WindowsRuntime]

$Template = [Windows.UI.Notifications.ToastTemplateType]::ToastImageAndText01

#Gets the Template XML so we can manipulate the values
[xml]$ToastTemplate = ([Windows.UI.Notifications.ToastNotificationManager]::GetTemplateContent($Template).GetXml())

[xml]$ToastTemplate = @"
<toast launch="app-defined-string">
  <visual>
    <binding template="ToastGeneric">
      <text>DNS Alert...</text>
      <text>We noticed that you are near Wasaki. Thomas left a 5 star rating after his last visit, do you want to try it?</text>
    </binding>
  </visual>
  <actions>
    <action activationType="background" content="Remind me later" arguments="later"/>
  </actions>
</toast>
"@

$ToastXml = New-Object …
Run Code Online (Sandbox Code Playgroud)

.net windows powershell

4
推荐指数
1
解决办法
4693
查看次数