Skip to content

Instantly share code, notes, and snippets.

View DevWellington's full-sized avatar
🐻
Bear 👍

Wellington Ribeiro DevWellington

🐻
Bear 👍
  • Telemar Norte Leste (Oi)
  • Belo Horizonte / MG / Brasil
View GitHub Profile
@DevWellington
DevWellington / image-url-downloader.js
Created October 15, 2016 15:38 — forked from anonymous/image-url-downloader.js
Image Mass URL Downloader - Javascript
function downloadDataUrlFromJavascript(filename, dataUrl) {
// Construct the a element
var link = document.createElement("a");
link.download = filename;
link.target = "_blank";
// Construct the uri
link.href = dataUrl;
document.body.appendChild(link);
<html>
<head>
<meta charset="utf-8">
<title>Cadastro de Funcionários</title>
<link rel="stylesheet" text="text/css" href="estilo.css">
</head>
<body>
<?php
require ("config.php");
?>
location / {
try_files $uri $uri/ /index.php?$args;
}