# Reviews: Customize your widget further with Custom JS

**URL:** <https://community.elfsight.com/t/reviews-customize-your-widget-further-with-custom-js/18386>\
**Category:** New Feature\
**Tags:** google-reviews, all-in-one-reviews, reviews\
**Created:** [August 17, 2023, 9:00pm UTC](https://community.elfsight.com/t/reviews-customize-your-widget-further-with-custom-js/18386 "2023-08-17T21:00:00Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [August 17, 2023, 9:00pm UTC](https://community.elfsight.com/t/reviews-customize-your-widget-further-with-custom-js/18386/1 "2023-08-17T21:00:00Z")

</div>

We are beyond thrilled to announce that the Custom JS option has been added to our [Reviews](https://elfsight.com/widgets/?category=reviews) apps 🔥

With the Custom JS option, you can add extra features to the widget by writing your own script. You don’t need to reach out to our devs, as you have the freedom to customize it yourself.

> **Important:** Custom JS operates only upon widget installation, but not in preview mode.

You can find this option at the bottom of the Settings tab:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/2X/4/40b748d07f99d51c270964ece73115d02fc34425.png) ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/2X/c/c411e33458dc5e2679ba547641002e2aa7e638e0.png)

Custom JS Editor has a Validate button, which allows you to check the code validity.

  

**Reminder** : the code entered is the body of the function that will be executed when the widget loads on the page. Do not include any `<script>` tags.

Guys, if any questions come up, don’t shy away to ask them in this thread 🙂

---

<div class="post-metadata">

**Author:** ![user3856](https://avatars.discourse-cdn.com/v4/letter/u/db5fbb/32.png) [@user3856](https://community.elfsight.com/u/user3856)\
**Post date:** [September 11, 2023, 2:45pm UTC](https://community.elfsight.com/t/reviews-customize-your-widget-further-with-custom-js/18386/5 "2023-09-11T14:45:49Z")

</div>

This is great! could you perhaps give some sample starter code and a detail on methods and events available? thank u

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [September 11, 2023, 2:57pm UTC](https://community.elfsight.com/t/reviews-customize-your-widget-further-with-custom-js/18386/8 "2023-09-11T14:57:23Z")

</div>

Hi @user3856 and welcome to Community 👋

Thanks a lot for your kind feedback ❤

Unfortunately, we don’t have any sample codes or info about methods, However, if you could describe your use case in detail, our devs would be happy to help 🙂

---

<div class="post-metadata">

**Author:** ![user3856](https://avatars.discourse-cdn.com/v4/letter/u/db5fbb/32.png) [@user3856](https://community.elfsight.com/u/user3856)\
**Post date:** [September 11, 2023, 3:39pm UTC](https://community.elfsight.com/t/reviews-customize-your-widget-further-with-custom-js/18386/9 "2023-09-11T15:39:48Z")

</div>

don;t have a use case but just wanted to explore possibilities. currently i m trying to filter reviews by occurrence of a word or phrase within the reviews. Its not happening by native filter.

---

<div class="post-metadata">

**Author:** ![user3856](https://avatars.discourse-cdn.com/v4/letter/u/db5fbb/32.png) [@user3856](https://community.elfsight.com/u/user3856)\
**Post date:** [September 11, 2023, 4:32pm UTC](https://community.elfsight.com/t/reviews-customize-your-widget-further-with-custom-js/18386/10 "2023-09-11T16:32:34Z")

</div>

@Max one more thing please. I’d like to have the carousel slides move automatically. Currently it works only when we click on the arrow buttons. Is that possible with custom js? thank you.

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [September 11, 2023, 4:52pm UTC](https://community.elfsight.com/t/reviews-customize-your-widget-further-with-custom-js/18386/11 "2023-09-11T16:52:22Z")

</div>

@user3856 Sure, you just need to enable Autorotation option by following these steps:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/2X/5/5a7ec911bf0efaa94920a2029a7b13ae0271204f.png) ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/2X/c/c848cbe4450901cdedc8be9cb56710cddf6754ae.png)

As for the Keyword filter, I have to say that our widget displays only 100 latest reviews. If the review with the word Geburtstag is among the 100 latest reviews and it’s not displayed, please send me a screenshot of this review.

I’ll be happy to check things for you 🙂

---

<div class="post-metadata">

**Author:** ![user3856](https://avatars.discourse-cdn.com/v4/letter/u/db5fbb/32.png) [@user3856](https://community.elfsight.com/u/user3856)\
**Post date:** [September 12, 2023, 2:59pm UTC](https://community.elfsight.com/t/reviews-customize-your-widget-further-with-custom-js/18386/12 "2023-09-12T14:59:57Z")

</div>

> [@Max](#):
>
> eyword filter, I have to say that our widget displays only 100 latest reviews. If the review with the word Geburtstag is among the 100 latest reviews and it’s not displayed, please send me a screenshot of this review.
> 
> I’ll be happy to check things for you 🙂

Hi @Max ok that explains it, thank you. Is there anyway we can increase this limit?

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [September 12, 2023, 3:08pm UTC](https://community.elfsight.com/t/reviews-customize-your-widget-further-with-custom-js/18386/13 "2023-09-12T15:08:19Z")

</div>

@user3856 At the moment, unfortunately, there is no option to increase the number of reviews displayed. I am so sorry!

We have a similar request in our Wishlist. You can vote for [this feature](https://community.elfsight.com/t/filter-before-limiting-to-100-reviews/5860) to follow the updates about the progress.
