Copy link to clipboard
Copied
Hi, i needed to make an url validation so i added a script to the exported html to do so, it works like a charm.
the problem is when i use a smaller screen (mobile or resized desktop browser) the script doesn't run at all. this happens when the browser screen is less than 960px.
Many older mobile devices don't fully support JavaScript and other fancies, hence the emulation gives you exactly that. If you want to make your page usable on these devices that e.g. have outdated versions of android, you have to forego such stuff. Nothing stops you from overriding it in a desktop emulation, of course, but the point still sticks - it may not work on a real device.
Mylenium
Copy link to clipboard
Copied
Many older mobile devices don't fully support JavaScript and other fancies, hence the emulation gives you exactly that. If you want to make your page usable on these devices that e.g. have outdated versions of android, you have to forego such stuff. Nothing stops you from overriding it in a desktop emulation, of course, but the point still sticks - it may not work on a real device.
Mylenium