Saving current page or triggering ctrl+s combination on button or href tags chrome jquery javascript -
can save current page browser (i don't have in server), if not, how can trigger ctrl+s combination when press button or href? im repeating: don't have page on server, cant this: <a href="downloads/page.html" download>download page</a>
.
try .simply add current url in a
$('a').attr('href',window.location.href)
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <a href="" download>download page</a>.
Comments
Post a Comment