Advanced iFrame Pro
PluginChangelog 66
Every release, newest first, as the vendor published it in the plugin’s changelog.
2025.2
Fixed Not available yet- Fix: The close icon of show iframe as layer was not shown because of an old path. Now the correct path in the new pro version is used. https://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/show-the-iframe-as-layer
- Fix: Some links in the new pro version where still pointing to the old path. They are now working properly.
2025.1
Fixed Not available yet- Fix: Documentation at the external workaround tab for the ai_external.js fixed and a link how to migrate from free to pro was added.
- Fix: hide_fullscreen.html was linking to the old plugins folder in the pro version. Now a placeholder is filled automatically. Please delete the hide_fullscreen.html in the advanced-iframe-custom folder once and enter the administration to get a new version generated. See https://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/full-screen-demo
2025.0
New Fixed Security Removed Not available yet- New: Tested with WordPress 6.7.2
- New: Support of freemius. This enables a 30 days trial of the pro version. Multi-site licenses, monthly, yearly and live time licenses are available now as well.
- New: All files in the js folder where re-factored, minor bugs fixed and optimized.
- New: The view counter is only counting front-end requests now. All view inside the administration are not counted anymore.
- New: The view counter message is now shown above the iframe in one line only. So your layout does not change if you hit the limit.
- New: The documentation folder in the zip was removed as it was outdated and all documentation is available in the administration in an even better format.
- New: map_parameter_to_url does support now :sameDomain. This disables external links as parameters. So only internal links which have the same 2nd level domain can be opened inside the iframe
- New: The replace function for empty parameters was rewritten. ?show will not be removed anymore. show= without any parameter will be still removed.
- New: The whole code was reformatted with Intellij and most of the code recommendations where done.
- Security Fix: map param to url: When using hashes, the URLs are now checked if they are valid. Additionally there is now a limit of 1000 entries to avoid that the db is getting too big.
- Security Fix: "Stored Cross-Site Scripting via Host Header". When debug_js="bottom" is used the user agent and all headers are now escaped.
- Security Fix: the unfiltered_html check was made more strict. All parameters that allowed js are now simply removed and it inot tried to filter them proplery.
- Fix: The parameters of parameter_url_mapping are now trimmed to handle slightly invalid input as well.
- Fix: hide_page_until_loaded fas only working in the pro version. Now it works in the free version again like it should.
- Fix: style of height and width of a custom
- Fix: printMediaQuery iframe width in the generator in the administration was not set properly. In the shortcode itself it was working fine.
- Removed: document.domain support is removed in the administration. Chrome removed this in Mai 2023, and it does not make sense to support this for other browsers anymore here as well. We announced this change 2022 already, and now it is also removed in the plugin.
2024.5
New Fixed In the repository- New: Tested with WordPress 6.5.4
- New: Description of ai_external.min.js was optimized.
- Fix: filterBasicXSS could cause a fatal php error with some configurations.
2024.4
New Fixed Security Not available yet- New: Tested with WordPress 6.5.3
- Fix: When using arrays in the parameters was causing an error. If this is now the case no optimization of placeholders are done anymore.
- Security fix: Added additional filters to some Javascript parameters to increase security.
2024.3
Security Not available yet- Security fix: The filter attribute method now filters shortcode attributes which are parsed wrong by WordPress if the user does not have the unfiltered_html permission.
- Security fix: #x28 and #x29 are filtered if the user does not have the unfiltered_html permission.
2024.2
Fixed Security Not available yet- Security fix: The additional_js and additional_js_file_iframe attribute are now only allowed to be used if you have the permission "unfiltered_html", that you need in WordPress to use iframes. If you do not have this permission, during save the attributes are removed and an error message is shown.
- Fix: Show iframe as layer was not working properly in Firefox. The link was opening in a new tab. Using a different way to hide the iframe solves the problem.
- Fix: Filtering all short code attributes failed because "The Plus Blocks for Block Editor" was adding their settings to the ai attributes. I will contact them, why they do such stupid things!
- Fix: Switching a theme could cause an error message when no content pages where existing. Now this is only executed if content pages do exist.
2024.1
Fixed Security Not available yet- Fix: add_iframe_url_as_param thrown an error because of the additional security filter. Now it works fine again.
2024.0
New Security Not available yet- Security fix: The include_html attribute is now only allowed to be used if you have the permission "unfiltered_html", that you need in WordPress to use iframes. If you do not have this permission, during save the attribute is removed and an error message is shown.
- Security fix: All shortcode attributes have now input sanitation to avoid Stored Cross-Site Scripting at save if you do not have the permission "unfiltered_html"! This happens in the normal editor and also in the Gutenberg block! Please get the unfiltered_html permission if you get an error message while you want to use '();= or a space in attributes. This sanitation is very general and does not allow all possible things you can do with advanced iframe. As 99.9% of the users who add an iframe are editors or above this should affect almost no one directly and it makes the plugin more secure.
- Security fix: " inside advanced iframe shortcode attributes is not allowed anymore to avoid XSS attacks.
- Security fix: Additional output filtering of short code attributes directly used in HTML or Javascript to avoid XSS attacks. This is done for ALL roles!
- New: The scroll to top in the external workaround is now also supporting the "touched" event next to the "click" event.
- New: The documentation was improved for scroll to top as the external workaround is also supporting "iframe" if "Scrolls the parent window/iframe to the top" is set to iframe.
For older changes please see: https://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-history
2023.10
New Fixed Not available yet- New: Support for Partitioned; See https://developer.chrome.com/docs/privacy-sandbox/third-party-cookie-phase-out/ for details. All places where SameSite=None is set also Partitioned; is added now.
- Fix: When saving the administration the detection of modified ai.min.js could cause a file_exists too long error with a lot of text shown. A wrong variaentation ble was used here which is fixed now. Now also the detection works that ai.min.js is regenerated again and again.
2023.9
Security Not available yet- Security fix: The onload and custom attributes are now only allowed to be used if you have the permission "unfiltered_html", that you need in WordPress to use iframes. If you do not have this permission, during save the attributes are removed and an error message is shown.
2023.8
New Fixed Not available yet- New: Anchor support in iframe when auto height is active. By default an anchor scrolls to the id specified. When auto height is active no scrollbar does exist and therefore scrolling does not work. This feature is now sending the position of the anchor to the parent and scrolls the parent to the correct place. This feature is supported for the same domain and the external workaround when auto height is enabled. See this demo: https://www.tinywebgallery.com/blog/iframe-anchor-support
- New: parent_content_css was moved to the free version to support better integration in webinarignition.
- New: The setting single_save_button was removed from the code as it was not used anymore.
- New: When switching a theme the ai content pages are removed as they would still use the old theme. They are recreated on the first usage again.
- New: "Show content in iframe": iframe_content_css and iframe_hide_elements are now directly rendered to the ai content pages! You do not need to use hide_page_until_loaded="true" anymore as all elements are hidden right away! See the updated demo: https://www.tinywebgallery.com/blog/advanced-iframe/demo-advanced-iframe-2-0/show-content-in-iframe
- New: show_menu_link was removed from the plugin as this was added in the very beginning where the plugin was version small. Now advanced iframe is always shown in the main menu.
- Fix: The timeout of the version check was reduced to 10 sec so in case the server does not respond properly the administration still works fine.
2023.7
New Fixed Not available yet- New: New feature: Show content in iframe: Support of src="page" which which generate custom content pages from the normal content and put it in an iframe. See https://www.tinywebgallery.com/blog/advanced-iframe/demo-advanced-iframe-2-0/show-content-in-iframe for the documentation. WebinarIgnition is using this feature already. See https://webinarignition.tawk.help/article/cta-loading-issues for more details
- New: onload_resize_delay does now also support all modifications that are done on the parent. So e.g. change targets/links can be delayed as well. You can use this if content is loaded later by Ajax and this also should be modified!
- New: iframe_content_css is now part of the free version.
- New: shortcode_atts supports now 'advanced_iframe' as third parameter. So a filter will be available where you can overwrite attributes dynamically in custom code if needed: https://developer.wordpress.org/reference/hooks/shortcode_atts_shortcode/
- Fix: show_iframe_as_layer does now first unregister all onclick events on the elements you select so that double actions are not executed. e.g. like 2 pop-ups are opened at the same time.
2023.6
Fixed Not available yet- Fix: Parameters with 0 (e.g. gid=0) where removed because of the default behavior of array_filter. Now a custom filter which does only remove empty parameters is used.
2023.5
Fixed Not available yet- Fix: A string was concatenated with + instead of the proper . of php that causes the plugin to fail. Please update asap!
2023.4
New Fixed Not available yet- New: Improved the documentation of the full screen button
- Fix: A change in 2023.3 broke the standalone version. This is now fixed in 2023.4.
2023.3
New Fixed Not available yet- New: With the fullscreen_button_style you can define now 4 styles for the fullscreen buttons. "black" is the default. "black2" a different black version. White and custom are also available. See https://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/full-screen-demo/full-screen-demo-no-browser-elements
- New: ai.min.js was minimized on the fly and the not minimized version was overwritten. Wordfence was reporting this as an issue as this file is different to the one on Wordpress. Therefore the minimized version is now already minimized in the zip and only updated when you change ai.js by yourself.
- Fix: When lazy load was enabled, the iframe did not show in the block editor, as the show trigger was missing. Now this feature is simply disabled in the preview, as there it is of no sense anyway.
- Fix: The views counter for the pro version was not displayed properly on the options tab. Now it counts and also resets after 1 month like the free version.
2023.2
New Fixed Removed Not available yet- New: Real fullscreen. The setting fullscreen_button_full enables the browser fullscreen. See: https://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/full-screen-demo/full-screen-demo-no-browser-elements
- New: fullscreen_button_hide_elements does now hide the elements by CSS and JavaScript. By CSS was not working e.g. for google ads as they have inline styles with !important that can not be overwritten.
- New: Added "Left top corner" and "Left bottom corner" to the selection for the fullscreen button.
- Fix: Added shortcode attribute to the description of fullscreen_button_hide_elements
- Fix: Added !important at the style for display:none that should hide elements in fullscreen mode when the button is used. This enables that is also works where !important is also defined at the element which should be hidden.
- Fix: iframe_url_id only shows an error now if the page is in an iframe and the mandatory parameter is not set.
- Removed: removed aiLoadExternalConfig from the external workaround. It was deprecated for 2 years now.
2023.1
New Fixed Not available yet- New: Compatible with Wordpress 6.2 - The editor block was broken as Wordpress changed an internal structure.
- New: The fullscreen button was enhanced. You can now hide additional elements which are still over the iframe. See the documentation of fullscreen_button_hide_elements
- New: Improved documentation. Added "How to find the id and the attributes". where needed.
- New: Missing purchase code message is now shown as general message
- Fix: The Javascript minimizer changed their URL. Now the new one is used.
- Fix: During search the help page is fully available now. This enables, that the links to the help section works properly.
- Fix: auto_update_plugin filter was improved to not show a warning if "$item->slug" is not set.
- Fix: Deprecated message in printReferrerpolicy fixed.
2023
- New: hide_part_of_iframe does now support position:fixed. This enables this feature also to work together with fullscreen iframes. Adding an f (position:fixed) in front of the zIndex has to be used to enable this.
- New: The CSP header detection is now checking next to SELF and NONE also for the domain itself at the frame-ancestors.
- New: The url/hash cache for rewrite urls can now be deleted in the administration if needed. Please note that this cannot be reverted.
- New: Improved documentation of "Prefix/id/urlrewrite for iframe URL". Contact the support for individual solutions.
- Fix: The disabling of the auto updater in the pro version was rewritten to the examples WordPress provided.
- Fix: aiModifyParent was loaded directly and on jQuery.ready. When loaded directly some elements are maybe not ready yet and an error was shown in the browser in console the .css is not a query function. Now this error is catched
2022.8
New Fixed Not available yet- New: Tested with Wordpress 6.1.1
- Fix: "Undefined array key" warnings when updating to php 8.x. If the database does not contain the required values now defaults are stored always during activation. Before it was only saved if no values where present.
2022.7
Fixed Not available yet- Fix: hide_content_until_iframe_color was causing an "Too few arguments ..." error. This is fixed now.
- Fix: addAdminHeaderCode is now using getAiAdminOptions instead of get_option. This does then always load the defaults even when the data could not be loaded from the database.
2022.6
New Fixed Not available yet- New: The HTML attribute refererpolicy is now available in the administration and as shortcode attribute.
- New: Custom attributes can be added on the basic attributes page and in the shortcode. The shortcode attribute for this is custom="". e.g. custom="data-custom='data1' data-custom-2='data2'" if you like to add 2 custom attributes. See https://www.tinywebgallery.com/blog/advanced-iframe/demo-advanced-iframe-2-0 for an example.
- New: Check all iframes is now also checking Gutenberg pages and display the page type in the tool-tip. Also normal HTML iframes are detected. So you can replaced them with advanced iframes.
- New: src which are only numbers are now marked as invalid in the "check all iframes" feature.
- New: Some themes like Twenty Twenty-Two required an additional p around the iframe to be placed properly. To render this element you can set now add_surrounding_p="true".
- New: Enhanced the documentation of the HTML property "allow".
- New: Enhanced registration message. The message cannot be removed permanently anymore as not all features are available anymore if have not entered it.
- New: Invalid purchase codes are removed and not only a message is shown.
- New: Enhanced sub domain documentation for the upcoming change in chrome 109 - see: https://www.tinywebgallery.com/blog/sub-domain-workaround-with-chrome
- New: Tested with Wordpress 6.0.2
- Fix: replace_query_data which is used in the placeholder replacement like param={query-param} was using a non static method in a static context. This is not supported since php 8.0 anymore. This was causing a "Fatal error: Uncaught Error: Non-static method ... cannot be called statically" error.
- Fix: The standalone version file was missing a "," in the settings section that made the whole version failing.
- Fix: check_iframe_batch_size new default is now 20 as the 100 before was not reliable enough.
- Fix: The link in the registration message was linked to the wrong part of the options tab. Now it goes directly where you can enter the purchase code.
- Fix: When saving a post the url was not checked even it was not enabled. Now ai_checkUrlStatus is called properly when the classic editor is used.
2022.5
New Fixed Not available yet- New: Tested with Wordpress 6.0
- New: fullscreen_button does now also support top_left and bottom_left to show the fullscreen button also on the left. Currently this can be only set in the shortcode.
- Fix: The documentation of debug_js was wrong. debug_js="false" disables the debug console. Actually everything except false enabled it. Now only "bottom" does enable the debug console.
- Fix: change_iframe_links was not supporting a ' in the jquery selector like a{{href^='https://www.tinywebgallery.com'}}. Now ' is supported and also {{ }} are replaced properly with []
2022.4
Fixed Security Not available yet- Fix: The WordPress theme Twenty Twenty-Two evaluates shortcodes before the body only. The advanced iframe pro optimization to prevent this leads to the issue that the iframes are not shown there! The optimization is now disabled by default and can be enabled on the options tab at "Technical options" -> "Prevent early shortcode execution". At the description you find the instructions how to check if the optimization will improve your site.
- Fix: When the setting loading (default HTML lazy loading) to false the loading HTML attribute was still rendered. Now it is not rendered anymore like described in the documentation.
- Fix: In 2022.3 the optimization for the timeout was containing a bug for the resize. This is now fixed.
- Fix: aiRemoveFile does now also have a nonce and the check for it. This is no security issue as deleting an already deleted file causes no problems.
2022.3
New Fixed Not available yet- New: Fullscreen button on the iframe. Enabling this will add a button on the iframe where you can switch between a normal and a fullscreen iframe like youtube videos. It does support top, bottom and also if a scrollbar is in the iframe: top_scroll and bottom_scroll. See: http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/full-screen-demo
- New: All features that modifies the iframe content (hide, modify css, onload_show_element_only, change targets/links ...) can now also be delayed with onload_resize_delay on the same domain. For the external workaround this was already implemented.
- New: If enable_lazy_load is enabled the HTML lazy loading is disabled as it does not make sense to have both.
- Fix: When you enter the URL directly in the administration WordPress replaces & with & This now replaced again by & internally again.
- Fix: "Support WP multi site" was not working in all situations when the iframe communication solution was used. It is now only supported when using postMessage and removed for the iframe communication. As this feature is part of the pro version where postMessage is the recommended solution anyway, only users should be affected who forgot to switch to postMessage.
- Fix: Resize on element resize was bound to one variable name for all iframes. Now every iframe on the page gets its own one. This prevents that 2 iframe overwrite the resize method of the other one.
- Fix: Resize on element resize and lazy load could lead to an error as a variable was not reinitialized when the iframe code is added to the page.
2022.2
Fixed Not available yet- Fix: The title was set to a space on all pages if use_iframe_title_for_parent was activated. And only on iframe pages it was set properly. This part of the feature was now removed again.
2022.1
New Fixed Security Not available yet- Fix: use_iframe_title_for_parent was rending in the free version the Javascript variable where a backup of the title is stored into the title tag. This does actually work for normal users. Still this not very nice at all.
- Fix: use_iframe_title_for_parent was only partly working when SEO plugins where active which also modified the title. Now the hook pre_get_document_title is used to get the current title.
2022
- New: Advanced iFrame now has out of the box support for embedded 3D models using the p3d 3D viewer. Go to https://p3d.in/b/24 and download a pre-configured plugin where the model does scale already nicely on all devices. Get started for free! If you need more storage or access to the Premium features of p3d.in, you can get a 50% discount on your first payment with the coupon AIFRAME on checkout.
- New: iframe_height_ratio is now available in the free version! This enables you now to include responsive videos without the pro version. See the demo here: https://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/responsive-videos
- New: iframe_height_ratio can now also be defined in a more common way: 16:9. The ratio with : as separator. The old way was the other way around 0.5625. Both settings are still supported. See the demo here: https://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/responsive-videos
- New: You can use the title of the iframe for the parent. After the iframe is loaded the title will be updated in the browser. This feature works on the same and the remote domain with the external workaround. The attribute for the shortcode and the external workaround is: is use_iframe_title_for_parent. Working examples can be found as part of this demos 32 and 33 https://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/add-iframe-url-to-parent
- New: Minimizer is back. Now the new URL is used and also a fall back was implemented which uses now the the not minimized file in case of a problem.
- New: Improved validation of change_iframe_links. if change_iframe_links is empty but other settings are done an error is reported
- New: Improved validation of iframe_content_id and iframe_content_styles. Now also a error is shown when iframe_content_styles is set and iframe_content_id not.
- New: , is now trimmed at the beginning and the end of all attributes. , at the end of jquery selectors make them invalid otherwise.
- Security fix: ai_config_id in the administration was not validated properly on the server. Now the regex only allows a-zA-Z0-9_- as id like it was intended.
- Security fix: The nonce is now also checked for all file creation operations requests where config/css/js files can be generated. Before it was only used when the normal config was saved.
- Fix: The onload setting was not handling quotes properly anymore. They got replaced by ' because of a new general filter and this broke the onload settings because " where required. Now the input accepts " and ' and does convert them to " before usage. It can now also be used in shortcodes with '.
- Fix: When using the loading icon together with less then 100% in % the % where added twice. So 50% where at the end 25% as it was applied to the icons div and the iframe. Now 50% are 50%.
2021.9
Fixed Not available yet- Fix: The minimizer for ai.js changed the url and therefore minimized files where broken. The minimizer is now disabled until I find a new more reliable one. Please update asap. You administration will not work anymore! Please uninstall and install the new version. Sorry for the inconvenience.
2021.8
Fixed Not available yet- Fix: Setting hide_content_until_iframe_color was causing a problem in the Gutenberg editor as there some code was rendered into the json response. Now in editor mode this part is rendered later and in normal mode still where it needs to be to work properly. The div which hides the whole page needs to be rendered before the plugin itself because otherwise you first see the page for a small time and then the page is hidden. And this is exatly what the feature should prevent!
- Fix: Version numbers where not updated in 2021.7. It was still showing 2021.6 in the header.
2021.7
New Fixed Not available yet- New: Tested with Wordpress 5.8
- Fix: Updating failed: The response is not a valid JSON response. The detection for duplicated ids and the time debug was moved to be rendered later. This fixes the problem with e.g. the Oyxgen builder when included on the admin site and configuration errors are rendered to the Javascript console. Also some plugins together with the Gutenberg block editor show a JSON error. They execute the shortcode because of ?? and where triggering this error.
2021.6
New Fixed Not available yet- New: "Iframe redirect url" does support now several urls. So you can allow more than one page to include it. The first url is used if someone does open the page in the iframe without parent.
- Fix: When "change url parameter" is active there was a conflict if you added a 2nd iframe to the page. The needed method was overwritten. Now it is only rendered when needed.
- Fix: When "change url parameter" is active the internal console log sending parameter does now not trigger an url change anymore
- Fix: Empty parameters at "change url parameter" are now removed. So urls look nicer.
- Fix: Uls that contain something like ?s[a][0][b]=test&s[a][0][c]=test2 where not parsed properly inside the replace parameter function. This is now fixed. If such constructs are found the url will not be touched
- Fix: When bbcode style is used [advanced_iframe]your src[/advanced_iframe] wordpress repaces & with & This now replaced again by & internally again. Otherwise the # detection will not work properly.
2021.5
New Fixed Not available yet- New: New replace parameter {requesturi}: The full request uri from the parent is added to the iframe. So everything behind the domain will be added to the iframe! E.g. www.domain.com/abc/cde -> www.iframe.com/abc/cde, www.domain.com/abc/cde/index.php -> www.iframe.com/abc/cde/index.php, www.domain.com/abc/cde/index.php?avc=3 -> www.iframe.com/abc/cde/index.php?abc=3
- New: When debugging external post messages the received message is now printed to the console log.
- New: The plugin version is now added automatically to the ai_external.js + ai.min.js
- Fix: Some setups could have "parent.postMessage" not found in the ai_external.js.
- Fix: When using Gutenberg a was rendered too much in some cases. Thanks to harrinsonmb who found the issue.
- Fix: Undefined variable $debug_js ... fixed when all-in-seo is installed and E_WARNING is enabled.
2021.4
New Fixed Not available yet- New: Improved documentation of "Show only one element" and of "URL forward parameters"
- New: The auto update link on the right which is available since WP 5.5 is now disabled for the pro version. For automatic updates for codecanyon please use https://envato.com/market-plugin/
- New: Generated files are now only generated when advanced iframe was updated. The code introduced in 2021.2 was running on each update!
- Fix: php 8 issue "Call to undefined function printError()" not found fixed. Happened also during update of other plugins as the new hook to generate missing files is triggered there as well.
- Fix: Disable output during update. Errors/warnings are only shown inside the plugin.
- Fix: Error in hashrewrite fixed. After refactoring a method needs to be called differently.
- Fix: The origin check url for post messages was invalid as during refactoring a ! was deleted by accident. Now this works fine again. If no origin check url can be detected now the origin check is disabled. This fix is important as the external woraround with auto heigt was not working anymore in some situations!
- Fix: Add url to param was not always adding https correctly. This caused the "Http iframes are not shown in https pages in many major browsers..." message for some users.
2021.3
New Fixed Not available yet- New: Tested with php 8 and Wordpress 5.7.1
- Fix: Fatal error with php 8 fixed!
- Fix: Handle cannot be saved issue with php 8 fixed.
2021.2
New Not available yet- New: The Javascript debug mode does now enable the debug mode of the post communication and the debug mode of the ai_external.js automatically. This improves quick help a lot, as this can be enabled by parameter.
- New: ?aiEDC=true can be also used to enable the debug console. ?aiEnableDebugConsole still works.
- New: Two log levels instead of one are used now: .log() for info. .error() for configuration errors.
- New: Optimzed performance when reading the options
- New: Check for duplicate ids. As a duplicate id causes errors a new check was added that prints this problem into the console.
- New: Optimized performace when you use AOSEO! They do execute shortcodes to get data for titles/descriptions. This leads to the problem that each shortcode get executed up to 3 additional times! Now the rendering of advanced iframe is limited to the body section and only a is added when debug mode is active. So if you check your source code and see this comment your page is now a little bit faster :). This is also reported as bug at AOSEO as they should cache this rendering and not execute it up to 3 times. On my demo page it happens in total 24! times. See: view-source:http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/show-only-a-part-of-the-iframe?aiEDC=true
- New: Added an "Advanced iframe checklist". Read this first to have an optimal start: http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-checklist
- New: Improved editor button. Now a updated way to insert the shortcode is used which should support most possible scenarios
- New: ai.min.js is now default. If is only 48k instead of 79k.
- New: ai.js/ai.min.js have now a debug mode. If you enable the internal debugger also ai.js does print additional messages which Javascript is called. this is very helpful especially if you have problems with the auto height on mobile devices.
- New: Standalone jQuery version was updated to jQuery 3.5.1
- New: Code refactorings. Some code was extracted nicely to classes. Further refactorings will follow in the next releases.
- New: ai.min.js and ai_external.js are recreated after update to have the latest versions always.
- New: All internal images where optimized.
2021.1
New Fixed Security Not available yet- New: Tested with WP 5.7
- Fix: 3 links in the administration fixed.
- Fix: Auto popup demo was not working on https. Now this also works.
2021
- New: Open iframe in layer after page is loaded. This can be useful to e.g. display something special as a kind of popup. See: https://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/auto-open-layer-popup
- New: Open a iframe directly by adding the id of the links as hash to your url e.g. #id-to-open: See https://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/auto-open-layer-popup
- New: Delay the auto popup by a given time. See https://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/auto-open-layer-popup
- New: Open the auto popup only once for a given time! A cookie is set if the iframe was shown already! See: https://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/auto-open-layer-popup
- New: Add iframe params to parent -> this is another version of the "Add iframe url to parent". The difference to the existing solutions is that only the parameters are added to the parent url. To make it work you also have to use placeholders in the url or the "Forward params to iframe" features. The advantage of this solution is that the parent url and the iframe url look basically the same. In the existing solutions you either have the full iframe url + params, a short iframe url + params, a hash or a url rewrite with the hash. See http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/add-iframe-params-to-parent and http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/add-iframe-params-to-parent how this looks like.
- New: "Change parent links target" can now also make the clicked links as bold. You can also add a specific style class if you like. See https://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/change-links-targets#e10
- New: SameSite Fix for Wordpress. Please see https://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/how-to-use-the-samesite-cookie-fix for details.
- New: When you change the link target to _blank then automatically rel="noopener" is added because of security. Ask google if you like to get more details here. See: http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/change-links-targets#e10
- New: Better wrong config detection. Some parameters only work fine if you define both. Some more checks where added to tell you this right away.
- Fix: If an url does contain a # it is normally treated as a anchor. Internally a split was done to add additional parameters - but only the first element was added again. Now all elements are added again.
- Fix: & = & and " = ? are preserved in the src.
- Fix: Open iframe in a layer with Add the iframe to all pages was only working when the ai.js was loaded on the header. Now it also works when included in the footer which is default.
- Fix: input fields changed ' into " in the administration - exactly the other was around was needed! This is needed for more enhanced jquery selectors!
- Fix: Many links in the administration where broken because of a replace issue. They are now all fixed again.
- Fix: Using // as start the url (to support http and https) was causing the "add url to param" feature to already add the url even if not needed.
2020.10
New Fixed Not available yet- New: Added a new warning when using document.domain! Some plugins like elementor crash when this is set.
- Fix: Pressing the return button in the administration was giving a "filename not valid" message as the first submit button is the form was the one creating a custon file. Now I changed this to the default "Update Settings" button that makes more sense.
- Fix: iframe_redirect_url was only working after the first page load. Clicking inside the iframe was also redirecting. Please note! If the user clicks inside the iframe to another domain the redirect is triggered! So the only change of a domain which is allowed is the one from your parent domain to the iframe domain!
- Fix: Demo link in the plugins section fixed.
2020.9
New Fixed Not available yet- New: Hide URL in HTML. With hide_src you can now hide the real url in the html code. The url is replaced by a link to a script that redirects to the real URL. The URL is not in the source code but still little bit more advanced users are able to see the real url in the developer tools. For more information please see here: https://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/hide-url-in-html
- New: Disable right click when "Hide URL in HTML" is enabled.
- New: Support SameSite cookie for the safari fix, Keep iframe modifications outside iframe and the temples switcher template
- New: All demos are now configured to work with https. Some are still http to show http/https solutions. Some demos you cannot switch between https and http because some things in the config need to be hardcoded.
- New: Most links link to the https version where it makes sense.
- New: You can now enter your purchase code of codecanyon to verify you are a paying customer. Currently this is optional. In the future it will unlock the pro features you have paid for.
- New: A message was added if you have not added your purchase code from codecanyon. Can be removed by closing it.
- New: Tested with WordPress 5.5.3
- New: A new global message was added if there is a discount available on codecanyon. Can be removed by closing it.
- Fix: The ai_external.js hat at one place advanced_iframe hardcoded. This is now dynamic so it also works if you pick another default id for the external workaround. Thanks to Marc for finding this.
- Fix: Get_magic_quotes_gpc was removed as it is depecated since php 5.4
- Fix: Updated some links in the wordpress documentation as they changed
- Fix: enable_responsive_iframe gets !important at width, max-width, min-width settings to avoid that other scripts overwrite this
- Fix: The origin detection for https was done by a wrong $_SERVER variable.
- Fix: History link was fixed
2020.8
New Not available yet- New: WordPress 5.5 changed the behaviour of the parameter page in the url! You now get a 301 redirect on normal pages if you use ?page=XXX. Unfortunately this also kills url features of advanced iframe pro. You can now set "Fix WordPress 5.5 page parameter change" to true on the administration. Then you can again use ?page=abc for example again. Numeric values are still not allowed because removing this internally would kill the pagination where the page paremater is really used!
2020.7
New Fixed Not available yet- New: The iframe can now be reloaded when the browser is resized or the device is rotated. This can be done in the reload feature by adding r as prefix.
- New: The whole page can now be reloaded when the browser is resized or the device is rotated. This can be done in the reload feature by adding r as prefix AND a p at the end.
- New: Compatible with Wordpress 5.5 now. The postboxes in the administration where changed and needed to be adopted. Now the new style is used if you use WP >= 5.5
- Fix: Small css fix for the post boxes.
- Fix: Added some missing settings to the standalone version.
2020.6
Fixed Not available yet- Fix: Lamba functions where removed in Javascript as this is not supported in IE11. Now also IE11 is also fully supported again.
- Fix: The param function which checked parameters failed when an array is given. Now this is detected and the first values is used and checked.
2020.5
Fixed Not available yet- Fix: The additonal text in the Gutenberg editor was shown also in the normal page if only the Gutenberg editor is used. Now it is only shown in the edit mode.
2020.4
New Fixed Not available yet- New: You can now enable all PRO features in the free version that can be set by a shortcode and test them in the preview of Wordpress.
- New: The height field does support media queries. So you can define the height of the iframe depending on the browser width. Before you need to know how media queries work. Now you simply enter the values you like! See: http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/set-height-with-media-query
- New: The "Show only a part of the iframe" solution does support media queries. See http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/show-only-a-part-of-the-iframe#e55
- New: The advanced tab was rewritten. Now meta boxes that store their state are used here as well.
- New: The reload features now also supports only one single reload.
- New: Internal help links do now flash twice at the destination to show the setting which should get attention.
- New: Help was improved by rewriting and adding an image to how to find an id section.
- New: A default for open and closed boxes after reset/activate is set now.
- New: hide_part_of_iframe does now support "changeViewport" as url. This makes it possible together with "show only a part of the iframe" to create a iframe which shows a small area first and once clicked the iframe enlarges to a bigger viewport. This makes sens if you don't have access at all and your application inside is an ajax application which does not fire an onload event which would change the viewport normally.
- New: In the Gutenberg block preview a margin-top of 10px is added to make it possible to select the block again. Before you could only do this by selecting the area almost at the bottom where the + is shown or if your iframe was not 100%.
- Fix: Because of a unknown reason the block editor in the additional field replaces " with u0022. Internally now the u0022 is replaced again properly. But you still have in the additional field the wrong display. Lets hope Wordpress/Gutenberg fixes this bug soon.
- Fix: Area selector was not enabling all fields automatically.
- Fix: Language files were not used anymore. Renaming them to advanced-iframe-en_US.* enabled them again.
2020.3
New Not available yet- New: You can now include an iframe to ALL your pages. The iframe you define in the administration is used. This is very cool if you like to use the "Show iframe in layer" for all external links. Also nice for e.g. a chatbot or a overlay you need on all pages. The new setting is in the "Show iframe as layer" section.
- New: The e-mails for checking iframes do now contain the pages which have problems so you can check right away. I added this because I had sometimes error message but when checking they where gone already and I did not know what failed. So now you can also identify instable iframes.
- New: The detection of iframes for the iframe checker in a page does now take also new lines in the source code into account.
- New: The message of the cron job to detect broken iframes was improved. It shows now the number of iframes that failed because because http iframes where loaded in https pages.
- New: Better RTL support.
2020.2.1
New Not available yet- New: Tested with Wordpress 5.4 - no issues found.
2020.2
Fixed Not available yet- Fix: Auto height for pages over 10000 pixel where not working anymore because of the new fix when the size only changes 5px (see 2020.1 last line). The last used height was saved at the wrong place.
2020.1
New Fixed Security Not available yet- New: Remove elements from height. You can now do extended height calculations. Like using a height of 100vh - the height of the elements you define. Like a header where the rest of the page is the iframe. But compared to the static version (100vh - 100px) this does also work perfect for headers which change depending on the browser resolution.
- New: Improved version check. Now a nice json is used internally
- Fix: url_forward_parameter was checking duplicate parameters by a simple contains. This leads to problems is substrings where already matching in the url. Now the full parameter name is checked.
- Fix: resize by element resize in the external workaround is only triggered if the difference is > 5 px. Reason. Some websites have min-height:100% defined. If the iframe gets bigger also the page inside does. And as I add 4px for IE this means that the page will grow and grow. The solution for the same domain does not use the 4px so there is is not needed - So if you have this 4x issue with IE - also use the external workaround locally as this is the pro solution compared to the free solution :)
2020
- New: The iframe checker was rewritten to work in parallel. So you can even test 1000 urls at once!
- New: The iframe checker does check also normal iframes! Not only advanced iframes!
- New: Full redesign of the backend. It uses Wordpress dashboard boxes now at many places.
- New: The iframe checker does now also check the content security header header for restrictions
- New: The url in the administration is only checked once every hour now. This does improve loading times of the administration a lot.
- New: The size of the loader icon in the custom folder is now detected automatically.
- New: Tested with WordPress 5.3.2
- New: many document.write in ai_external.js where replaced to include js and css more elegant
- New: Documentation on the external workaround was improved.
- Fix: post messages which are not in json format throw an error in the console. Now this error is catched and only logged in the debug mode of post message. This was fixed in the plugin and the ai_resize.js
- Fix: The "Map parameter to url" was stripping / from the parameter. Depending on the setup this lead to an error. Now the / is added in the code if missing.
- Fix: The "Add iframe url as param" is now not appending parameters again and again after a reload. They only happened if you also use "URL forward parameters"
- Fix: enable_ios_mobile_scolling is now enable_ios_mobile_scrolling. Internally it is still the old but in shortcodes and the generator it is still enable_ios_mobile_scolling. So old short codes do still work!
- Fix: The shortcode generator was using the defaults for the free version. Now it uses the right one depending on the version.
2019.10
Fixed Not available yet- Fix: The loading icon was broken because of a missing ". Now it works fine again.
2019.9
New Fixed Not available yet- New: The debug console can be enabled by adding the url parameter aiEnableDebugConsole=true to the url of the parent page. This writes a session cookie and debugging is enabled as long your did not close your browser. aiEnableDebugConsole=false does disable it again!
- New: Debug console was rewritten. It does now display all possible logs in the browser console again and the debug div!
- New: By adding ?aiEnableCheckShortcode=true to the url the short code check is enabled dynamically. At the preview this is now added all the time!
- New: userinfo data and usermeta data documentation was improved. If you use & = in meta or user info like in a query string you have to split this data into 2 custom fields as all fields are url encoded.
- New: Improved documentation and quickstart guide.
- New: Disabled elements are now also in a disabled text color
- New: When the pro version is active resize on element resize is available and resize_on_click, resize_on_click_elements, resize_on_ajax, resize_on_ajax_jquery are removed from the administration because this replaces this features in a much better way.
- Fix: Depending on the setup more then one onload event can be fired. Now the onload counter has a measurement timeout that solves this problem.
- Fix: postmeta extraction had a copy past error.
- Fix: user info and user meta divs do now break properly even when there are no spaces in the string.
2019.8
New Fixed Not available yet- New: Config files can now be included directly into ai_external.js. See the new section at the "external workaround" tab. This makes it possible to reduce dependencies on the other site. You only have to include ai_external.js now! You can even include the config switcher directly now!
- New: ai_external.js is also compressed and available as ai_external.min.js
- New: ai.js is compressed but currently not used yet as this is in testing phase. if it works fine this file will be used in the next update.
- New: Replace all normal html iframes with advanced iframes on your page.
- Fix: Anchor and add of url parameters are now also working together!
- Fix: vh and vw where not allowed in the width/height field in the Javascript validation. Now the administration does allow all useful settings.
- Fix: Many small typos fixed in the administration.
- Fix: As edge for IOS the administation was not initialized and therefore the tabs where not working. Now there is an additional check included for this browser
- Fix: Scroll to top when set to iframe was not scrolling properly. Now a small timeout and an improvement how to measure the offset was done.
- Fix: Scroll to top and scroll to an anchor was inferferring. Now if a # is in the url the scroll to top feature is disabled.
- Fix: Chrome was scrolling 367 pixel to the bottom when a # without an anchor was defined. the # is now removed automatically to avoid this jump.
2019.7
New Fixed Not available yet- New: Add iframe url as param has 2 new features! Using an id instead of the url and using also urlrewrite for better urls. So instead of e.g. ?page=www.tinywebgallery.com/test/test.html the url looks not like this: /page/1. See http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/add-iframe-url-to-parent
- New: Add iframe url as param does now also supports the handling of existing query parameters
- New: Update jQuery local fallback copy to 1.12.4 (like Wordpress does since 4.6)
- Fix: Add iframe url as param failed if the parameter itself was also included in the main url. Now this also is supported.
2019.6
Fixed Not available yet- Fix: Completely empty shortcodes [advanced_iframe] throw an error. Now this is covered.
2019.5
Fixed Not available yet- Fix: Hiding the iframe during page transitions was not working.
2019.4
Fixed Not available yet- Fix: IE does not support .includes. A polyfill was added to fix this
- Fix: http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/change-links-targets#e10 was fixed if you hover over the form! Because at a form change_iframe_links_href="append~?conf=1" does not make sense. A check was added if the element to modify has a href to modify.
2019.3
Fixed Not available yet- Fix: In 2019.2 the administration was broken. This now works again!
- Fix: Additional js can now also be added in the header like ai.js! This fixes a problem with IE where the custom script was loaded too late! http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/integrate-iframe-sizer-script now works in IE!
2019.2
New Fixed Not available yet- New: Improved documentation of the external workaround.
- Fix: Invalid anchors like #foo&foo2 are ignored because this is then no real hash but maybe a hash used for some business logic.
- Fix: Error message in the internal debugger was fixed if no headers could be detected.
2019.1
New Improved Fixed Not available yet- Fix: startsWith is not supported in IE11. It was replaces with a different implementation. This was used in the "Add iframe url as param" feature
- Fix: 3 links from the administration where pointing to old urls. Now they point again to the correct ones.
- Fix: Fixed typos in the administration
2019
- Tested with WP 5.2
- New: iframe anchor support! if you enable auto height you can now also specify an anchor in the iframe! the parent does then scroll automatically to this location! Does work on the same domain even in the free version. In the pro version this is also supported external domains by the external workaround. See http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/external-workaround-with-post-message Example 51
- New: Full Gutenberg support. An advanced iframe block is now available. parent_content_css is now rendered a little bit later because of the Gutenberg preview.
- New: You can now change also the href of links and not only the target! change_iframe_links_href does work for the same or in the external workaround. It can also be used to add a string to the existing href. It also does work for links which are later on added to the webpage by ajax. Delegated event handlers are used here. See http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/change-links-targets
- New: Targets can now also be changed for links which are added later to the website. Delegated event handlers are used here now.
- New: The calc support was improved. px is now automatically added when needed. 100%-100 -> 100% - 100px. Because without px is does not work!
- New: You can set a custom loader icon by saving a loader.gif in the advanced-iframe-custom folder in a size of 66x66
- New: “ ” ‘ ’ are now remove from shortcodes. This fixes mistakes from users which used the wrong single or double quotes.
- New: You can now also delete all data from the database when uninstalling. By default this is off. This can be now enabled on the options page.
- New: An uninstall.php does exist now. So if you set the settings in the administration the database can also be cleaned up when you delete the plugin.
- Fix: the src is now always encoded to be sure that url_forward_parameter cannout be use for xxs attacks.
- Fix: height and width do now get px added in the style attribute if not entered.
- Fix: header('P3P:.... is now added in the action send_headers and NOT in the init anymore at it was interfering at a user with one on his plugins.
- Fix: Some changes to css and js where made to be more compatible to the new codecanyon plugin coding rules.
- Fix: Editor button was not working in new posts. It was only working when editing existing ones.
- Fix: $fixChrome65 was not working for next view ports properly. now it does ;).
- Fix: set_time_limit can be disabled. Now this is checked and also @set_time_limit is used now.
7.6
New Fixed Security Not available yet- New: Support of the safari cookie fix from http://vitr.github.io/safari-cookie-in-iframe/. Please see the documentation at "Safari cookie fix" on the advanced tab. See example http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/3rd-party-cookie-in-iframe-workaround. This setting can be done at the "Advanced Settings" tab -> "Advanced features" section.
- New: The safari coookie fix is also availabe in the resize.js. See http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/share-content-from-your-domain-add-ai_external-js-local
- New: header('P3P: CP="ALL DSP NID CURa ADMa DEVa HISa OTPa OUR NOR NAV DEM"'); is now set by default to allow cookies in IE. You have to set this manually for remote pages.
- New: Cookie fix for IE is included and added to the documentation (p3p header is sent!). See http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/3rd-party-cookie-in-iframe-workaround
- New: Scroll to top is now also available for the external workaround for ajax forms. See http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/external-workaround-with-post-message#e51
- New: Scroll to top is now also available if you share your content to a different domain. See http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/share-content-from-your-domain-add-ai_external-js-local
- New: Extended jQuery help and documentation for finding external links and changing the target there!
- New: Margin top and botttom is now set to 0 of the elememt to measure to avoid that you need to use the additional height setting if this is not the case.
- New: Improved the add_iframe_url_as_param_prefix setting. Additional checks was added for https. s| is now only added when a https site is included into a http page.
- New: The mapping of parameters from the parent url is now done after "Map parameter to url". So that this 2 features now work together!
- New: Standalone version does now also support to be included inside a method. This makes is possible to include it also to e.g. Joomla
- New: Standalone version does now support to set $iframeStandaloneOptions directly before you include the standalone version. This makes it possible that you don't need to create a settings file but define it before the include.
- New: Standalone version was now tested with the latest version of Joomla 3.8.10 with the usage of phpDirect successfully.
- New: resize_on_element_resize is now initialized in the onload event and not only once. So it works on next pages in an iframe also!
- New: Demo for iframeresizer
- New: Resize summary on the website: http://www.tinywebgallery.com/blog/advanced-iframe-resize-to-content-summary
- New: The reset to default get postMessage communication as default as only 0.2% of all used browsers (IE <= 8) do not support this! When the project was started this was almost 20%!
- New: {session_id} is now available as url parameter. If a session does exist it is replaced by the session id otherwise with a empty string.
- New: Added overflow:hidden by default to the ai_wrapper_div. Seems that the measurement especially for floating layouts is better then. This is also added to the documentation of the "element to measure".
- Fix: $hide_page_until_loaded unload event is now moved as last part of the onload event and surrounded with a try/catch. This caused the hide_part_of_iframe feature to fail when it was used on different domains. So now the $hide_page_until_loaded works again on different domains but without otimized page transitions. But for this you should still use hide_page_until_loaded_external if you like to hide css modifications on an external domain.
- Fix: Improved documentation of show_part_of_iframe_style
- Fix: wp_kses was not mapped in the standalone version.
- Fix: advanced-iframe-custom folder in the standalone version für a custom loader icon is now also mapped correctly.
- Fix: The area selector was not inserting the security key properly after the security key was made optional. Now it is inserted properly again.
- Fix: The code for $hide_page_until_loaded changed because if about:blank is used as default the onload event was fired too fast.
7.5.7
New Fixed Not available yet- New: Keep iframe modifications outside iframe: Normally the page in the iframe is only modified if it is in the iframe. But sometimes the page in the iframe does not work properly in the iframe in a workflow. So you need to jump out out of the iframe. But you maybe still want to hide/modify the content of this page even outside the iframe. This feature does enable this by setting a session cookie. If you enable this feature a cookie is set if you do modifications in the iframe and even if you jump out of the iframe the modifications are still done. See http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/external-workaround-auto-height-and-css-modifications
- New: "allow" is now supported as attribute. This is needed to still allow auto play. See: https://developers.google.com/web/updates/2017/09/autoplay-policy-changes
- New: A new default page is now set. Instead of //www.tinywebgallery.com now //www.tinywebgallery.com/blog/advanced-iframe is used. The 2nd page makes more sense as it also contains help after installation. After activation this url is replaced if the old default is still present.
- New: multi_domain_enabled is now set to true by default to make configuration easier.
- New: hide_page_until_loaded_external does now also take onload_resize_delay into account. Means the page is now shown always after the delay for resize and modifications.
- Fix: "Resize remote iframe to content height" in the administration was alway jumping to "External" and not to "Yes" because of a wrong name of the field. Now "Yes" can be selected again.
- Fix: The error message that is displayed in the frontend has now a rel="nofollow" to avoid unwanted link sharing.
- Fix: Improved the documentation on the external workaround page.
- Fix: The placeholder for rgba was changed from ; to § to still support additional styles in the "hide a part of the iframe" feature,
7.5.6
New Fixed Not available yet- New: $hide_page_until_loaded does now hide the page again for onload events after the initial one. So css modifications are now also invisible for all page transitions. Before this was only possible by using the external workaround even on the same domain.
- New: "Check iframes on save" can fail and a white page is then displayed if curl is blocked on the server. If this is the case this feature is now disabled automatically. By default it is disabled since 7.5.5 anyway. But the reason is curl and not virtual composer as supposed in 7.5.5 !
- Fix: 7.5.5 was adding the fake plugin which caused the activation of the normal plugin to fail because WP was scanning the wrong file. The file is now internally renamed and now it works also fine when installing with the zip.
7.5.5
New Fixed Not available yet- New: Optimized the "Add iframe url as param" feature. |s is only used when needed and / is now not encoded in the url. So the urls look nicer now. See http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/add-iframe-url-to-parent/add-iframe-url-as-param-same-domain
- New: ai_external.js can now also be added directly to the admin as well. This makes it possible to use the external workaround there. Like for the site this makes sense for some setups where you want to use features like "write css directly" on the same domain.
- New: change link targets do now support a[href='xxx'] also in the shortcode. You ned to replace [ ] with {{ }} because otherwise Wordpress thinks [] is a shortcode.
- New: resize on the same domain is not triggered anymore if about:blank is in the url. This is useful if you open links in an existing iframe but initially about:blank is set.
- New: check_iframes_when_save is now false by default as a user reported a problem with virtual composer.
- Fix: The custom folder is now a fake plugin because otherwise the files in the custom folder cannot be saved with the internal Wordpress folder.
- Fix: Chrome 65 has a bug which causes "Show only a part of an iframe" to fail sometimes. This is fixed in chrome version 66. But it will be released in 2 weeks and therefore a workaround is needed till then.
- Fix: The free version was checking iframes with a cronjob which is feature of the pro version. But it could not be disabled as the settings where missing there. Now it is disabled again and available in the pro version only.
7.5.4
New Fixed Security Not available yet- New: The security key is now optional. You can still set if like before in the administration and the behavior is exactly like before. But many users told me they don't need it and therefore I made it optional now by default.
- New: The view limit of the free version does now not make the iframe stop but is showing a powered by message below the iframe.
- New: If $add_iframe_url_as_param is set then $map_parameter_to_url is set to "page" by default if not set differently in the config.
- New: Better documentation of the resize on the same domain. resize_min_height is now documented there with possible alternate solutions if is does not work.
- New: All js files where checked with jshint and all errors/warnings where removed. So now if you open the files in the Wordpress editor you should not get any complaints anymore.
- New: The automatic check of the url can be enabled/disabled now. When the load of the administration does fail it is automatically disabled now because otherwise the administration screen could be white.
- New: The save checks when you save a post or page can now be configured. You can disable it, show only errors or errors and warnings. Default is now error.
- New: ai_post_message_converter.js is now iframe id dependent. This makes it possible to have different post messages on the same installation at the same time. the naming is now: ai_post_message_converter_.js. You can still use ai_post_message_converter.js which applies for all iframes then.
- New: Added the documentation for the BBCode [advanced_iframe]url[/advanced_iframe]. This was only documented in the FAQ.
- Fix: The normal show iframe (without any header/footer) as layer was always 100% instead of 96%. This was because of a change in 7.5.2 and is now fixed.
- Fix: ai_post_message_converter_template.js was not working properly as event.data can not be overwritten. Now the converter does return a new modified object which is used after that.
- Fix: In the iframe tag ' was used for all attributes. This is now replaced with " where every possible. Only the onload='' attribute uses still the single quote because double quotes are used a lot inside. This enhanced the compatibility with WpRocket
- Fix: A Javascript error in aiAutoZoomExternal was fixed. This caused the feature "auto zoom by ratio" to fail. This now works fine again.
- Fix: allowfullscreen was only enabled in the pro version but it should be available in the free version. Now this is the case.
7.5.3
Fixed Not available yetFix: An error in ai_external.js was fixed which prevented the external workaround to work with postMessage and debug log enabled.
7.5.2
New Fixed Not available yet- New: Provide parts of your website to other domains with "Enable content filter". This new feature does actually not provide an iframe but you can offer parts of your website identified by an id in an external iframe with additional auto height. The content can be clipped on the server and on the client depending on your setup. See http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/share-content-from-your-domain-content-filter
- New: Provide parts of your website to other domains with "Add ai_external.js local". The setting does add the ai_external.js to your own site. This enables you to provide parts of your site into an external iframe. This is similar to "enable_content_filter" where you can filter parts of your page. The advantage of this solution is that you can use all css modifications and auto height of this solution. See http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/share-content-from-your-domain-add-ai_external-js-local
- New: Internal JS debug console: debug_js. You can redirect the Javascript console log to a visible div. The pro version also supports the external workaround. This is very useful if you have errors only on e.g. an ipad where accessing this info is very hard. Also the user agent and the full headers from the iframe are displayed there! See http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/debug-javascript-example
- New: The free iframe checker is included at the url field in the administration. So you can do a basic check already there.
- New: Each iframe url is now checked when you save a post! As many users seems not to use the free iframe checker, the checker is now included there as well.
- New: All iframes on your site can be checked by a single click. Simply check "Check all iframes" at Url on the basic tab.
- New: All iframes on your site can be checked by a cronjob. So once a day a status e-mail is sent to the e-mail you provide. Please read the instructions on the options tab because maybe you need to switch to native cronjobs if you have many iframes because of performance reasons.
- New: "hide parts of the iframe" does now support semi transparent backgrounds. So rgba(1,1,1,0.5) does work. But , has to be replaced by ;. So rgba(1;1;1;0.5) is the format you need to use.
- New: "hide parts of the iframe" supports that divs can be removed by a click again with adding $hide after the color.
- New: "hide parts of the iframe" supports that divs can be removed automatically after a specified time with adding $hide3000 after the color. So after hide you add the time in ms.
- New: The delay of the resize of the external workaround does now also delay the init of the resize to element resize. This solves the problem if elements are loaded dynamically.
- New: vh and vw are now officially supported. See https://caniuse.com/#feat=viewport-units
- New: html title is now supported.
- New: jquery-lazyload-any was updated to v0.3.1. Also "Script Style" is now used instead of "Comment Style". This has now the big advantage that lazy load still works even if tools which do optimize the html by removing comments. So it is now compatible with e.g. wp rocket.
- New: iframe_redirect_url does now also check if the page is included by the domain specified. Otherwise it is redirected to the iframe_redirect_url. This way you can make sure that the iframe page can only be included by your domain. This solution depends on Javascript and also that a referrer is sent to the iframe. But this is no 100% protection because you can fake the referer on some setups with a javascript location redirect (See https://stackoverflow.com/a/30304058) and if you disable Javascript with a sandbox. So please add a css with html { visibility:hidden; } to the page in the iframe. This does hide the page by default for everyone. The ai_external.js does then make the page visible again! If no referer is found the iframe_redirect_url will be used always if the page is in an iframe.
- New: Wrong configurations of 'resize to element resize' is detected now and is logged to the console. A try catch was added to handle this problem properly.
- Fix: The resize in the external workaround does now reset the resize delay at is does not makes sense here.
- Fix: The resize later was not not updating the last height. So resize later stopped working at some configurations.
7.5.1
New Fixed Not available yet- New: $onload_scroll_top does now support "iframe" as setting. The page does then scroll to the top of the iframe and not of the page.
- New: The delay of the resize of the external workaround does now also delay the modification of the css as most of the time the elements that should be modified also are then also loaded dynamically (Pro)
- New: Improved the documentation of change link targets that also forms can be changed!
- Fix: Not all IE versions (<= 11) do support default method values. So e.g. even auto height does fail! This was introduced in version 7.5. So please update if you use 7.5! Now the code is rewritten to support older IE versions as well.
- Fix: The resize delay in the external workaround does not try to measure height and width before the delay anymore which can lead to wrong messages in the js console. (Pro)
- Fix: The resize delay in the external workaround is now added to the first resize on element resize call. (Pro)
- Fix: A …
7.5
New Not available yet- New: Added nice icons to the menu and the editor button
- New: The editor button does now support ALL settings. By default t …