{"id":268,"date":"2012-11-12T10:11:30","date_gmt":"2012-11-12T09:11:30","guid":{"rendered":"http:\/\/pusling.com\/blog\/?p=268"},"modified":"2015-03-23T22:38:29","modified_gmt":"2015-03-23T21:38:29","slug":"fake-akrobat-browser-plugin","status":"publish","type":"post","link":"https:\/\/pusling.com\/blog\/?p=268","title":{"rendered":"Fake Akrobat browser plugin"},"content":{"rendered":"<p>So. for some reason, the danish tax authorities (Skat) has started requiring Adobe Acrobat for being able to see pdf files to work around a bug with handling of temporary files on Windows8 and shared computers and such.<\/p>\n<p>Luckily there is a couple of easy workarounds. Like modifying the Javascript to check things at runtime using some browser specific addons. Or just do it like I did and write a actual browserplugin. I cheated and used QtBrowserPlugin. Then my actual code was a couple of lines. Want to check it out? Look here: <a href=\"http:\/\/quickgit.kde.org\/?p=scratch%2Fsune%2Ffakeacrobat.git\" title=\"Fake Acrobat\">http:\/\/quickgit.kde.org\/?p=scratch%2Fsune%2Ffakeacrobat.git<\/a>. It just does enough to ensure the test succeeds. Work in: iceweasel and arora. For some reason, it doesn&#8217;t work in konqueror\/webkit nor in konqueror\/khtml.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So. for some reason, the danish tax authorities (Skat) has started requiring Adobe Acrobat for being able to see pdf files to work around a bug with handling of temporary files on Windows8 and shared computers and such. Luckily there is a couple of easy workarounds. Like modifying the Javascript to check things at runtime [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,4,10,11],"tags":[],"class_list":["post-268","post","type-post","status-publish","format-standard","hentry","category-english","category-kde","category-pocket-projects","category-qt"],"_links":{"self":[{"href":"https:\/\/pusling.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/268","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pusling.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pusling.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pusling.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/pusling.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=268"}],"version-history":[{"count":3,"href":"https:\/\/pusling.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/268\/revisions"}],"predecessor-version":[{"id":273,"href":"https:\/\/pusling.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/268\/revisions\/273"}],"wp:attachment":[{"href":"https:\/\/pusling.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=268"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pusling.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=268"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pusling.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=268"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}