Files
roi-theme/wp-content/plugins/advanced-ads-pro/modules/extended-adblocker/assets/js/admin.min.js
root a22573bf0b Commit inicial - WordPress Análisis de Precios Unitarios
- WordPress core y plugins
- Tema Twenty Twenty-Four configurado
- Plugin allow-unfiltered-html.php simplificado
- .gitignore configurado para excluir wp-config.php y uploads

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-03 21:04:30 -06:00

2 lines
665 B
JavaScript
Executable File

!function(e){const a=e(".advads-eab-overlay-notice"),d=e("#advanced-ads-adblocker-overlay-options"),o=e("#advanced-ads-adblocker-redirect-options"),c=e("#advanced-ads-adblocker-option-exclude"),s=e("#advanced-ads-use-adblocker").prop("checked");e(".advanced-ads-adblocker-eab-method").on("change",(function(){switch(a.hide(),this.value){case"nothing":d.hide(),o.hide(),c.hide();break;case"overlay":d.show(),o.hide(),c.show(),!s&&a.show();break;case"redirect":d.hide(),o.show(),c.show()}}));const n=e("#advanced-ads-adblocker-dismiss-button-input");n.on("change",(function(){e("#advanced-ads-adblocker-dismiss-options").toggle(!this.checked)})),n.change()}(jQuery);