manifest

The display: “standalone” PWA does not remove address bar

|▌冷眼眸甩不掉的悲伤 提交于 2020-06-17 02:39:05
问题 I made a PWA app, with "display": "standalone" in the manifest. My understanding is that my app should launch locally without the address bar. However, there is an address bar. What am I doing wrong? I am running Chrome 70. The problem happens on OSX and Linux. I did not check Windows. My app is hosted at https://www.themendapp.com. Please advise. 回答1: PWA app shows the address bar when you try to navigate the pages outside of scope . Otherwise it will hide the address bar and show the page

When and how does a PWA update itself?

孤街浪徒 提交于 2020-06-09 08:20:46
问题 As far as I know, once you click "add to homescreen" on a PWA's website, the browser generates an .apk using the provided manifest file and sources and installs it like a normal app. I noticed that when I update the website, the app also displays the updated content which suggests that the app is just a wrapper for accessing the website. I also noticed that the update to a website is not displayed instantly, I assume this is due to internal caching. My question is, are my assumptions correct?

How do I remove a manifest from a precompiled dll

戏子无情 提交于 2020-06-08 08:23:52
问题 I have a precompiled c++ dll that I need to remove or replace the embedded manifest from. Is there a way that I can do this from the command line? I know it is possible to open the dll in VS and simply delete the manifest, but I would like to automate this process if possible. 回答1: Unfortunately, it seems the standard tool to deal with manifests mt.exe shipped with VS cannot delete them. But if you are familiar with c++ it's quite easy to write your own tool for this purpose. You just need to

How do I remove a manifest from a precompiled dll

大憨熊 提交于 2020-06-08 08:23:41
问题 I have a precompiled c++ dll that I need to remove or replace the embedded manifest from. Is there a way that I can do this from the command line? I know it is possible to open the dll in VS and simply delete the manifest, but I would like to automate this process if possible. 回答1: Unfortunately, it seems the standard tool to deal with manifests mt.exe shipped with VS cannot delete them. But if you are familiar with c++ it's quite easy to write your own tool for this purpose. You just need to

Chrome extension: load different content scripts

北战南征 提交于 2020-05-09 18:00:29
问题 I want to load a different content script depending on the page and tab that is currently selected. Right now, I have three content scripts. I want to use two of them for one page and the third one for another page. Belonging to page 1: content_script.js load_content_script.js Belonging to page2: newtab_content_script.js right now my manifest looks like this { "name": "A plugin for AdData express. Generate an instant excel document from the brands you check mark.", "version": "1.0",

html manifest html5 页面缓存

我是研究僧i 提交于 2020-04-22 08:35:02
一下为摘抄: 什么是应用程序缓存(Application Cache)? HTML5引入应用程序缓存,这意味着web应用可进行缓存,并可在因特网连接时进行访问 应用程序缓存为应用带来三个优势 *离线浏览-用户可在应用离线时使用它们 *速度-已经缓存加载得更快 *减少器负载-浏览器将只从服务器下载更新过或更改过的资源 浏览器支持 所有主流浏览器均支持应用程序缓存,除了 Internet Explorer。 <html manifest="oviyam2.manifest"> 为页面添加缓存文件 每个指定了 manifest 的页面在用户对其访问时都会被缓存。如果未指定 manifest 属性,则页面不会被缓存(除非在 manifest 文件中直接指定了该页面)。 manifest 文件的建议的文件扩展名是:".appcache"。 请注意,manifest 文件需要配置 正确的 MIME-type ,即 "text/cache-manifest"。必须在 web 服务器上进行配置。 http://www.w3school.com.cn/html5/html_5_app_cache.asp 来源: oschina 链接: https://my.oschina.net/u/178392/blog/414128

Chrome Extension upload error - default_locale missing

[亡魂溺海] 提交于 2020-04-13 04:29:28
问题 Whenever I try to upload my updated extension to the Chrome Web Store I get a "default_locale field is missing in manifest." error, yet it is clearly located in my manifest (pasted below). Any pointers for how I can resolve this? { "manifest_version": 2, "name": "####", "version": "1.1.0", "default_locale": "en-US", "description": "####", "icons": { "16": "icons/icon16.png", "48": "icons/icon48.png", "64": "icons/icon64.png", "128": "icons/icon128.png" }, "homepage_url": "http://####.com",

.NET ClickOnce Signing results in “Unknown Publisher”

穿精又带淫゛_ 提交于 2020-04-08 12:37:55
问题 I am working on deploying a ClickOnce Application build on .NET 4.5 Here are the facts: I have a valid Comodo Authenticode Certificate The certificate is installed in my local cert store The project properties for "Signing" tab show that the certificate should be used for signing the manifest (I'm not even yet trying to sign the Assemblies for .NET) The proper timestamp server URL is entered for comodo On the Publish tab, the settings are very typical: Publish to a UNC path Installation

.NET ClickOnce Signing results in “Unknown Publisher”

独自空忆成欢 提交于 2020-04-08 12:34:31
问题 I am working on deploying a ClickOnce Application build on .NET 4.5 Here are the facts: I have a valid Comodo Authenticode Certificate The certificate is installed in my local cert store The project properties for "Signing" tab show that the certificate should be used for signing the manifest (I'm not even yet trying to sign the Assemblies for .NET) The proper timestamp server URL is entered for comodo On the Publish tab, the settings are very typical: Publish to a UNC path Installation

Error when installing add-on

ε祈祈猫儿з 提交于 2020-03-26 16:40:11
问题 I'm trying to install my example extension which has the following directory structure. myexample - install.rdf - chrome.manifest - content -- myexample.js -- myexample.xul The file chrome.manifest contains: content myexample chrome/content/ overlay chrome://browser/content/browser.xul chrome://myexample/content/myexample.xul It's pretty minimalist extension. I created a zip file from it: zip -r myexample.xpi myexample/ When installing it in Firefox Tools -> Add-ons -> Install Add-on from