Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Location
- window.location
- //Location URL
- window.location.href
- //detectar cuando el usuario solicita imprimir una página
- window.matchMedia('print').addListener(function(mql) {
- if (mql.matches) {
- console.log('Imprimiendo')
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement