# 在特定页面运行特殊的JQuery

**URL:** <https://meta.discourse.org/t/run-special-jquery-on-select-pages/82463>\
**Category:** Support\
**Created:** [2018年三月7日 23:35 UTC](https://meta.discourse.org/t/run-special-jquery-on-select-pages/82463 "2018-03-07T23:35:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![RyanK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ryank/32/297314_2.png) [@RyanK](https://meta.discourse.org/u/RyanK)\
**Post date:** [2018年三月7日 23:35 UTC](https://meta.discourse.org/t/run-special-jquery-on-select-pages/82463/1 "2018-03-07T23:35:35Z")

</div>

We are interested in using [meerkat jquery](http://meerkat.jarodtaylor.com/) to pop certain banners on our site, but would want the ability to deploy very selectively. Ideally we could choose to run them on 1 or more of the following:

- Category page
- Tag page
- Posts within a given tag or category

My suspicion is that it’s more of an all or nothing choice across the whole site, but my fingers are crossed.

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [2018年三月7日 23:50 UTC](https://meta.discourse.org/t/run-special-jquery-on-select-pages/82463/2 "2018-03-07T23:50:29Z")

</div>

查看 #customization:theme。那里有很多仅在部分页面有效的代码示例。

---

<div class="post-metadata">

**Author:** ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**Post date:** [2024年六月8日 12:37 UTC](https://meta.discourse.org/t/run-special-jquery-on-select-pages/82463/3 "2024-06-08T12:37:47Z")

</div>

该主题已自动关闭 2284 天。不再允许回复。
