AminYabut / tabby

FiveM In-Game Tablet with CAD/MDT Support
50 stars 46 forks source link

Can't load custom sites #2

Closed royalistiqrp closed 6 years ago

royalistiqrp commented 6 years ago

First of all thank you for this script, So there is a problem if I fill in a custom address like facebook.com or something. It doesn't load and I just see a blank page.

AminYabut commented 6 years ago

That is because the site you are trying to load doesn't allow the entire site to be iframed. This is a security measure used by many sites. You can test the pages by opening the page you made for the tablet in your web browser and checking the message in the f12 console menu. If the page shows then you can iframe it, if it doesn't it will tell you that xframe options won't allow it.

royalistiqrp commented 6 years ago

Okay thanks for your reply, will test it out soon.

Alevhovic commented 6 years ago

I don't have access to my "localhost/website" (write php), and i use the "opencad.html" without modification except the