Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am italypaleale on github.
* I am italypaleale (https://keybase.io/italypaleale) on keybase.
* I have a public key ASDtXA-DxrP33br5E27v3z_iRXVJYektAvJw7uC5gGMlpgo
To claim this, I am signing this object:
package main
import (
"bytes"
"context"
"crypto/x509"
"encoding/base64"
"encoding/pem"
"errors"
"fmt"
Verifying my Blockstack ID is secured with the address 1FMZnTMBXeLHkfNBFA53v11tHqzASutxhN https://explorer.blockstack.org/address/1FMZnTMBXeLHkfNBFA53v11tHqzASutxhN
@ItalyPaleAle
ItalyPaleAle / hasPDFViewer.js
Created March 4, 2015 21:58
Detect PDF Viewer plugins
/*
hasPDFViewer.js
Version: 1.0.0
Date: 2015-03-04
(C) 2015 Alessandro Segala
License: BSD-2-Clause (http://opensource.org/licenses/BSD-2-Clause)
Original author: Ben Kitzelman (http://thecodeabode.blogspot.ca/2011/01/detect-adobe-reader-plugin.html)
*/