When I try to open window.open('file///C:\calendar.html')it throws
window.open('file///C:\calendar.html')
Access Denied Error
How to fix it? Thanks
Usually you will not be allowed to open files from the client's file system, as this will create a huge security hole. No browsers would allow it.
You can use signed scripts for this. Detailed description: http://www.mozilla.org/projects/security/components/signed-scripts.html This, of course, is a specific browser.
, ?
file:///C:\calendar.html
Source: https://habr.com/ru/post/1776244/More articles:Why can't I declare a MemoryStream with a null value (MemoryStream?), When can a function return a MemoryStream? - c #How to add separator to Eclipse RCP toolbar? - eclipse-pluginPython code to consolidate CSS to HTML - pythonPHP: Как запустить цикл в течение определенного времени дня? - phpUsing native pointers in F # with WritableBitmap - f #Skip some column replication on slave in MySQL - mysqlC # Control menu position on multiple monitors - c #WEB-INF путь для файлов - javaDesign for cross-platform classes in C # - designProtecting data in a specific domain in Rails - ruby-on-railsAll Articles