Created
November 14, 2012 08:18
-
-
Save troelskn/4070961 to your computer and use it in GitHub Desktop.
Fix skat.dk pdf download
This file contains hidden or 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
/* | |
Log in to skat.dk in Firefox and navigate to where you are supposed to be able to download pdf. | |
Open Firebug | |
Click the console-tab | |
Paste this in the input area. | |
Click "Run". | |
Voila - You can now use the page. You need to repeat if you reload the page. | |
*/ | |
VisSkmpPdfSide = function(DocIndex, dato, Lager, aid) { | |
OpenDialog("PdfVis.htm", "Forskudsopgoerelsen", "700", "700", "yes", "yes", "no", "yes", "no", true, true, aabneVinduer); | |
document.visside.aid.value = aid; | |
document.visside.Lager.value = Lager; | |
document.visside.DocIndex.value = DocIndex; | |
document.visside.Koerselsdato.value = dato; | |
document.visside.target = "Forskudsopgoerelsen"; | |
document.visside.submit(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment