add-download-btn

add "DOWNLOAD" button to image

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://update.greasyfork.org/scripts/495738/1380849/add-download-btn.js

Author
Тарас Равлик
Version
0.0.1.20240522013400
Created
2024-05-22
Updated
2024-05-22
License
N/A

...
// @require https://code.jquery.com/jquery-3.3.1.slim.min.js
// @require https://update.greasyfork.org/scripts/495738/1380847/add-download-btn.js
...
var text = "DOWNLOAD";
var className = "btn";
$("img").addDownloadBtn(text, className);