Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Run a xml/xsl in chrome (ERROR Unsafe attempt to load URL.....)

I tryied to run an xml/xsl in chrome (it works on firefox) but I have this error :

Unsafe attempt to load URL file:///C:/Users/..../thing.xsl from frame with URL file:///C:/Users/..../thing.xml. 'file:' URLs are treated as unique security origins.

How can I fix it ? I found few solutions on internet but nothing works (--allow-file-access-from-files don't work).

like image 308
Lssr Arm Avatar asked Nov 19 '22 20:11

Lssr Arm


1 Answers

To anyone having this problem, if you use visual studio code, you can download the extension Live Server, run the server and then you can work with the files.

like image 150
Cesar Ramirez Avatar answered Dec 16 '22 11:12

Cesar Ramirez