The main difference between the two pages is the method of sending messages. Recieving messages is the same in both.
Send messages to iframe using iframeEl.contentWindow.postMessage
Recieve messages using window.addEventListener('message')
In SWFTools a programs called gfx2gfx
is available to do this task, but it's not officially available precompiled.
It can convert SWF, PDF or image to SWF, PDF, ebook or image.
For discard downscaling for rasterized image (default: 72dpi) we use the provided by @m-p-y: add -r
attribute to increase maxdpi
# This bash script will update your PS1 configuration to inform you about: | |
# - current hour | |
# - current logged user | |
# - machine name | |
# - current path | |
# - status of current branch: | |
# - untracked files | |
# - uncommited changes | |
# - when nothing is changed on current branch | |
# - inform you when the current user.name and user.email is different of the global settings |
/* **************** GLOBAL CSS RESET ***************** Based on Eric Meyer Reset v1.6.1*/ | |
html {margin:0;padding:0;border:0;font-size: 100%;} | |
body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, | |
b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, | |
article, aside, canvas, dialog, details, figcaption, figure, footer, header, hgroup, nav, section, summary, time, mark, audio, video | |
{ margin: 0; padding: 0; border: 0; outline: 0; font-weight:inherit; font-style:inherit; font-family:inherit; font-size: 100%; vertical-align: baseline; background: transparent; } | |
body { line-height: 1; } | |
ol, ul { list-style: none; } | |
blockquote, q { quotes: none; } |
/*! | |
* CSS Reset 2011-12-25 | |
* https://gist.github.com/gists/1360380 | |
* | |
* Author: Takeru Suzuki, http://terkel.jp/ | |
* License: Public domain | |
* | |
* Inspired by Normalize.css: http://necolas.github.com/normalize.css/ | |
*/ |
/* http://meyerweb.com/eric/tools/css/reset/ | |
v2.0 | 20110126 | |
License: none (public domain) | |
*/ | |
html, body, div, span, applet, object, iframe, | |
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
a, abbr, acronym, address, big, cite, code, | |
del, dfn, em, img, ins, kbd, q, s, samp, | |
small, strike, strong, sub, sup, tt, var, |
#Download your Google Apps-hosted email | |
wget --secure-protocol=TLSv1 --no-check-certificate [email protected] --password=your_password https://mail.google.com/a/yourdomain.com/feed/atom |