Last active
January 31, 2016 14:30
-
-
Save ugwis/03387b5844ddabc89aa4 to your computer and use it in GitHub Desktop.
iPhone等でeALPSのPDFをリダイレクトするブックマークレット
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//下のスクリプトをブックマークのURLに入れて、eALPSでPDFを開いた状態で作ったブックマークを開くと生PDFファイルへリダイレクトします | |
javascript:var obj=document.getElementById('resourceobject');if(obj && obj.getAttribute('type')==='application/pdf'){location.replace(obj.getAttribute('data'));} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment