问题标签 [pinned-site]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
497 浏览

html - windows 8.1 tile background and image is not set correctly

Have set up my website on github pages: w8tiles I use buildmypinnedsite to create all the markup and images. I open the site in ie11 on windows 8.1. Add the site to the applications and see an ie logo with some random background color(that is usually the same for all sites I add). I pin the site to start and its still an ie logo with some background color that doesnt match the one I define in browserconfig.xml. Below is the code to set the background and tile in html. Same code is in the browserconfig.

The question is: what am I doing wrong and why the images I add as a tiles are ignored? Note: I added all the images to the root and checked that they are all available via the link + browserconfig.xml is available too.

The detailed desciption of the issue is listed here

0 投票
0 回答
60 浏览

web-applications - 为 iOS 配置 Web 应用程序

我在 index.html 的 head 标签中有类似的东西

对于 Android,我们可以使用 manifest,而 Windows 我们可以使用 msapplication-config 和 xml 文件来使 index.html 更整洁。我的问题是,我们在 iOS 上是否有类似的东西。

0 投票
2 回答
983 浏览

web-applications - 如何指定固定站点磁贴的文本颜色?

我有一个网络应用程序,我想制作一个可固定的网站。它目前在其<head>元素中包含以下内容:

browserconfig.xml看起来像这样:

但是,该图块当前显示的文本非常暗,而不是白色文本。

我的问题类似于如何更改 Windows 8 动态磁贴文本颜色?,除了用于本机应用程序外,这是用于 Web 应用程序。

MSDN 上的类似问题没有答案。

0 投票
1 回答
51 浏览

notifications - 从 SPA 触发固定站点通知

我有一个简单的 SPA,它在 Chrome 和 Firefox 中使用 HTML 5 通知,效果很好。对于 IE,固定站点看起来是我可以使用的最受支持的选项(没有插件)。我在这里和文档中看到了一些关于使用 xml 配置和元数据进行设置的文献,只是好奇是否有办法让固定站点通知(任务栏中的图标)出现在例如 ajax 时将新内容加载到页面中的调用完成。我想一个很好的比喻是一个使用ajax加载消息的聊天应用程序,当有新消息进来时,我想在任务栏中放一个图标。

0 投票
0 回答
173 浏览

windows-phone-8.1 - 在 browserconfig.xml 中指定透明度

Windows Phone 8.1 支持透明的开始屏幕磁贴,应用程序可以利用backgroundColor=transparent其清单中的设置。

但是,对于固定站点<meta>,应使用 HTML 标记中的标记或 browserconfig.xml,其中包含该<TileColor>元素。在这种情况下是否可以指定瓷砖应该保持透明?我尝试使用该值transparent或删除该元素,但这会导致瓷砖具有黑色背景。

0 投票
0 回答
27 浏览

windows - 徽章在 Windows 10 上的固定网站中不起作用

我正在设置我的网站https://simbiat.ru以使用适当的标签和 webconfig 与固定网站一起使用,但我遇到了麻烦:固定网站不显示徽章或通知,即使链接到正确的(虽然test) xml 文件,分别带有徽章和通知。
不仅如此:Win10 上的固定站点会忽略元标记和 webconfig 中设置的徽标(和颜色),而是从 webmanifest 中获取最大的一个,任务列表仅在从 IE11 固定时才有效。然而,官方文档中似乎没有任何迹象表明这已被放弃。所以我的问题是,这是否已被放弃(并根据https://blogs.windows.com/msedgedev/2020/11/16/improving-notifications-badging-microsoft-edge/
替换为其他内容) 并且文档没有更新或者我做错了什么?