Title: Javascript instead of shortcode?
Last modified: August 30, 2016

---

# Javascript instead of shortcode?

 *  Resolved [steelmaiden](https://wordpress.org/support/users/filipmedia/)
 * (@filipmedia)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/javascript-instead-of-shortcode/)
 * Hi,
 * my theme does not support shortcodes (i dont want to hardcore edit it), so i 
   need to use either HTML or Javascript. Is there a way to use Js instead shortcode?
 * Thanks
 * [https://wordpress.org/plugins/ad-blocking-detector/](https://wordpress.org/plugins/ad-blocking-detector/)

Viewing 1 replies (of 1 total)

 *  [John Morris](https://wordpress.org/support/users/jtmorris/)
 * (@jtmorris)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/javascript-instead-of-shortcode/#post-6649526)
 * Hi steelmaiden,
 * Ad Blocking Detector offers hooking mechanisms for both JavaScript and CSS. You
   can utilize the ad blocking status in any way that works with those two languages.
 * You can find an introduction and examples for both mechanisms on the plugin’s
   website:
 * **CSS:** [http://adblockingdetector.johnmorris.me/combine-css-and-ad-blocking-detector/](http://adblockingdetector.johnmorris.me/combine-css-and-ad-blocking-detector/)
 * **JS:** [http://adblockingdetector.johnmorris.me/combine-javascript-and-ad-blocking-detector/](http://adblockingdetector.johnmorris.me/combine-javascript-and-ad-blocking-detector/)

Viewing 1 replies (of 1 total)

The topic ‘Javascript instead of shortcode?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ad-blocking-detector_466992.svg)
 * [Ad Blocking Detector](https://wordpress.org/plugins/ad-blocking-detector/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ad-blocking-detector/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ad-blocking-detector/)
 * [Active Topics](https://wordpress.org/support/plugin/ad-blocking-detector/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ad-blocking-detector/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ad-blocking-detector/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [John Morris](https://wordpress.org/support/users/jtmorris/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/javascript-instead-of-shortcode/#post-6649526)
 * Status: resolved