FX – CopyShield

FX – CopyShield 1.3.1

No permission to download
Fix macros attr for XF version older than XF 2.3
  • New: Protect threads by default option (fx_copyshield_thread_default, enabled by default so upgrades keep the 1.2 behaviour). It decides which threads are protected, while Locked user groups still decides who is restricted.
  • New: Thread author override groups option (fx_copyshield_override_groups). Members can turn protection on or off for their own threads.
  • New: Enable / Disable copy protection link in the thread tools (•••) menu for thread authors in those groups. The change applies instantly on the open page.
  • New: Protect this thread from copying checkbox for thread authors in those groups when posting a thread or editing its first post.
  • New: Per-thread settings are stored in a dedicated table, xf_fx_copyshield_content. A row only exists while a thread differs from the default; setting it back to the default removes the row. Threads that were changed individually keep their own setting when the default changes. No core XenForo tables are altered, and the table is dropped on uninstall.
  • Removed: Exempt staff members option (fx_copyshield_exempt_staff). Who is restricted is now decided only by Locked user groups; administrators and moderators are restricted if one of their groups is selected.
  • Changed: Options are reordered into four sections: who and what is protected, thread author override, blocked actions, and exceptions & feedback.
1793762954210.webp
Add more choices and options:

All settings are centrally managed under AdminCP > Options > FX - CopyShield:

OptionKeyDefaultDescription
Locked user groupsfx_copyshield_locked_groupsNoneSelect user groups subject to protection rules.
Exempt staff membersfx_copyshield_exempt_staffEnabledAdministrators and moderators bypass all restrictions.
Lock first post onlyfx_copyshield_allEnabledWhen enabled, only the thread starter post is locked. When disabled, all posts are locked.
Lock on XFRMfx_copyshield_xfrmEnabledProtects XenForo Resource Manager descriptions and updates.
Lock on XFMGfx_copyshield_xfmgEnabledProtects XenForo Media Gallery images, videos, and comments.
Block right-clickfx_copyshield_block_rightclickEnabledDisables context menu on protected content and media.
Block text selection & dragfx_copyshield_block_selectEnabledDisables text highlighting, selection, and media dragging.
Block copyfx_copyshield_block_copyEnabledIntercepts copy events on protected content.
Block copy/save shortcutsfx_copyshield_block_shortcutsEnabledBlocks Ctrl+A, Ctrl+C, Ctrl+X, Ctrl+S, Ctrl+U, Ctrl+P.
Block DevTools shortcutsfx_copyshield_block_devtoolsEnabledBlocks F12, Ctrl+Shift+I, Ctrl+Shift+J, Ctrl+Shift+C.
Block print / Save as PDFfx_copyshield_block_printEnabledConceals the page when printing or generating PDFs.
Allow copying code blocksfx_copyshield_allow_codeEnabledPreserves copying for
Code:
 and [ICODE] elements.[/td]
[/TR]
[TR]
[td][B]Show warning toast[/B][/td][td]fx_copyshield_show_toast[/td][td]Enabled[/td][td]Shows an unobtrusive toast notification on restricted actions.[/td]
[/TR]
[/TABLE]
Fix copy protection to XFRM resource error in 1.1
README.md
  1. XFRM (XenForo Resource Manager) Support:
    • Extended copy protection to XFRM resource description pages, resource updates, and review content.
    • Added dedicated permission under Resource Manager permissions: FX - CopyShield: Lock resource content.
  2. Form Input Bypass Fix (Regression Prevention):
    • Added smart element detection (isInputElement) for <input>, <textarea>, Froala Editor (.fr-element, .js-editor), and [contenteditable="true"].
    • Users can type, select (Ctrl+A), copy (Ctrl+C), cut (Ctrl+X), and paste (Ctrl+V) freely inside input fields without triggering protection blocks.
  3. New Admin CP Options:
    • Lock first post only: Choose whether to lock only opening posts or all posts in threads.
    • Enable protection for XFRM (Resource Manager): Toggle copy protection specifically for XFRM pages.
    • Block Developer Tools & View Source shortcuts: Toggle blocking of developer inspection keys (F12, Ctrl+Shift+I/J/C, Ctrl+U, PrintScreen, Ctrl+S, Ctrl+P).
  4. Glassmorphic Toast Alert & Print Shield:
    • Modern floating toast notification with smooth 2.2s auto-fade animation.
    • @media print rules automatically hide protected content when printing web pages.
  • Like
Reactions: Ivan_Sp
Back
Top Bottom