Skip to content

Instantly share code, notes, and snippets.

@geraldofcneto
Created December 28, 2017 12:45
Show Gist options
  • Save geraldofcneto/4f96f6b9b6ab5ae8b1942c84bb7ca09f to your computer and use it in GitHub Desktop.
Save geraldofcneto/4f96f6b9b6ab5ae8b1942c84bb7ca09f to your computer and use it in GitHub Desktop.
SaveNet Bookmarklet
javascript: (function(){
var savenetUrl = 'https://pt.savefrom.net/';
var div = document.createElement('div');
div.innerHTML = '<a href="'+ savenetUrl + window.location.href + '" target="_blank" id="blankLink">text</a>';
document.getElementsByTagName('body')[0].append(div);
document.getElementById('blankLink').click();
div.remove();
})()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment