最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Can I disable the “You've gone full screen” notification in Chrome with chrome extension? - Stack Overflow

programmeradmin3浏览0评论

/How/ Can I disable the “You've gone full screen” notification in Chrome with chrome extension?

I have got this manifest.json:

{
  "name": "Me",
  "description": "Disable Fullscreen notification",
  "version": "2.0",
  "permissions": [
    "activeTab"
  ],
  "browser_action": {
    "default_title": "Make this page red",
    "default_icon": "icon.png"
  },
 "manifest_version": 2
}

/How/ Can I disable the “You've gone full screen” notification in Chrome with chrome extension?

I have got this manifest.json:

{
  "name": "Me",
  "description": "Disable Fullscreen notification",
  "version": "2.0",
  "permissions": [
    "activeTab"
  ],
  "browser_action": {
    "default_title": "Make this page red",
    "default_icon": "icon.png"
  },
 "manifest_version": 2
}
Share Improve this question asked Feb 10, 2015 at 14:35 TamásTamás 1,1122 gold badges12 silver badges30 bronze badges 3
  • 2 You cannot. This notification is a security feature of Chrome. – Rob W Commented Feb 10, 2015 at 14:38
  • Neither with extension? :/ – Tamás Commented Feb 10, 2015 at 14:39
  • Not even with an extension. – Rob W Commented Feb 10, 2015 at 14:42
Add a ment  | 

3 Answers 3

Reset to default 11

No, you cannot remove the "You have gone full screen" notification, because this message is a security feature. It tells users how to exit full screen mode in case they do not know.

The only way to get in full screen without this notification is to start up Chrome with the --kiosk flag.

There's no extension for that.. but still you can start chrome in full screen mode without that message by typing in terminal

google-chrome --kiosk www.webpage.

As others have pointed out, an extension cannot disable the notification. However, there are still a couple ways to go about disabling this "feature," such as by repiling the source code or using the following launcher for the win32 version of chrome which automatically patches the executable on the fly, available at https://www.dropbox./s/5rn7fx94ts73jfb/chrome_v3.zip?dl=0. Source is included.

Edit: Note that chrome must not already be running for the launcher to work properly

发布评论

评论列表(0)

  1. 暂无评论