Posts by Matheus Alves • 11 points
2 posts
-
0
votes1
answer553
viewsA: How to detect if the user is accessing through a webview app
Usually, to detect if a user is accessing the page in a iframe, with Javascript, is used window.top to check if it is equal to window current. That is, if window !== window.top for true, then the…
-
1
votes1
answer152
viewsA: How to use a Google font when printing?
Everything you insert into the function writeln will be the resulting HTML on the new page to print. In the function of print you added the styles to the print, but did not call the desired font.…