2

Is it possible to turn off the Google security for toDataUrl
I have tried the following but without any luck.

Add the –allow-file-access-from-files –disable-web-security to Chrome.exe Windows 7 will not allow me to change it.
I have also try to type in the full path like:

source src=file:///E:/canvas_to_png/Chrome_ImF.mp4
Fred Wuerges
  • 1,965
  • 2
  • 21
  • 42
Harvid
  • 23
  • 4

1 Answers1

0

you can run chrome from the command line, and append your line above --allow-file-access-from-files I'm not sure where you got the part -disable-web-security

You can find more links to resources right here on this stack question.

But this should work appended to the end of the path on your desktop shortcut. I use it all the time actually.

Community
  • 1
  • 1
Ryan
  • 5,644
  • 3
  • 38
  • 66
  • i am not sure what i ' m doing wrong `"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe--allow-file-access-from-files"` win7 problem with shortcut target box is not valid. ? – Harvid Dec 04 '12 at 23:09
  • @Harvid right click on your desktop application go to the end of the Target field then add it there: it will look like this: `"path_to_your_chrome\chrome.exe" --allow-file-access-from-files` note that the `--allow-file` part is outside of the quotes. – Ryan Dec 04 '12 at 23:17
  • it is so strange sem result,i have ever tried to run it like .bat `START C:\Users\Eyal\AppData\Local\Google\Chrome\Application\chrome.exe --allow-file-access-from-files EXIT` – Harvid Dec 04 '12 at 23:32
  • 1
    @Harvid you tried it with the `--allow-file-access-from-files` outside the quotes and with a space between it and the path? and you got the same result? – Ryan Dec 04 '12 at 23:34
  • @Harvid no, no, no, like this: `"C:\Program Files (x86)\Chrome\Application\chrome.exe" --allow-file-access-from-files` do it just like that nothing else. – Ryan Dec 04 '12 at 23:36
  • when i'm rightclicking on my shortcut and in target:`C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"--allow-file-access-from-files` windows still say target box is not valid, windows doesn't seems to like something after .exe – Harvid Dec 04 '12 at 23:47
  • @Harvid have you checked to make sure that that is actually a valid path? That's not where my chrome install is actually located. Also your missing a space right here `"....chrome.exe"--allow-file-access-from-files` it should be: `"....chrome.exe" --allow-file-access-from-files` – Ryan Dec 05 '12 at 01:14
  • Thank you very much, One small space make the difference, and now its works :) – Harvid Dec 05 '12 at 08:29