Notas da versão 3.1.6: 17 melhorias 8 correções
Melhoria
- "Dynamic script name" loading method now respects Administrator mode, Assignments, AMP pages and the "JavaScript Required" option
- Script file created by the "Dynamic script name" loading method is now updated after plugin updates
- Protection script falls back to an inline script when the script file can not be created
- Right Click protection no longer removes the page when another script or extension resets the context menu handler
- Copy, Cut, Paste and Select All shortcuts, text selection and the context menu now work inside form fields
- Right Click on Image protection now works for lazy loaded images and adds a single style tag
- Right Click and Right Click on Image protections no longer override each other, the context menu works on links
- Image Dragging protection no longer blocks other drag and drop interactions
- iPadOS is now detected as an Apple mobile device, so Window blur, Tab change and Developer Tools protections no longer give false positives on iPad
- Page content is now hidden with an overlay instead of being removed and re-created, so forms, players and widgets keep working
- Developer Tools detection reworked: removed duplicated detection scripts and automatic page reload, the message is shown in the overlay
- Improved performance of the "Dynamic script name" loading method: no HTTP requests and database writes on every page view
- The previous script file is kept when the random keyword changes, so cached pages keep working
- Plugin settings in the inline scripts are now safely JSON encoded
- Created script files, options and transients are removed when the plugin is deleted with its data
- Content protection is not loaded for REST, AJAX and cron requests
- Code cleanup
Correção
- Fixed "The content area was not found in your page" error in the Elementor editor: content protection is no longer loaded inside Elementor and other page builder previews
- Fixed page content not being restored after window blur, tab change or Developer Tools with the "Dynamic script name" loading method
- Fixed JavaScript error in the Developer Tools protection
- Fixed "Cut" protection that did not work
- Fixed the [disable_ungrabber] shortcode that did not disable the protection
- Fixed default protection settings not applied when the settings object is missing
- Fixed "Plugins directory" and "Separate plugin directory" script locations
- Fixed unclosed tag in the default JavaScript message