# TOC no working on Firefox

**URL:** <https://forum.finsweet.com/t/toc-no-working-on-firefox/1721>\
**Category:** Attributes\
**Created:** [July 31, 2023, 5:36pm UTC](https://forum.finsweet.com/t/toc-no-working-on-firefox/1721 "2023-07-31T17:36:15Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fabien\_mnt](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/fabien_mnt/32/319_2.png) [@Fabien\_mnt](https://forum.finsweet.com/u/Fabien_mnt)\
**Post date:** [July 31, 2023, 5:36pm UTC](https://forum.finsweet.com/t/toc-no-working-on-firefox/1721/1 "2023-07-31T17:36:16Z")

</div>

Hi guys,

It seems that the TOC attributes is not supported by Firefox.  
If I try to load a page that contains this script attributes, it doesn’t load.  
There is a website using it to have a look at it : [Travail hybride : définition, avantages et enjeux pour les entreprises](https://kenko-ouiflow.webflow.io/blog/travail-hybride)

Any advice ? 🙃

---

<div class="post-metadata">

**Author:** ![josephmukunga](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/josephmukunga/32/522_2.png) [@josephmukunga](https://forum.finsweet.com/u/josephmukunga)\
**Post date:** [July 31, 2023, 6:18pm UTC](https://forum.finsweet.com/t/toc-no-working-on-firefox/1721/2 "2023-07-31T18:18:47Z")

</div>

Hello @Fabien_mnt , I am testing this on FIrefox and it works as expected [Loom | Free Screen & Video Recording Software | Loom](https://www.loom.com/share/97abf0b642f54ebea51d5725f1a73be0?from_recorder=1&focus_title=1)  
On which OS are you testing this? Could also please share a screen recording

---

<div class="post-metadata">

**Author:** ![Fabien\_mnt](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/fabien_mnt/32/319_2.png) [@Fabien\_mnt](https://forum.finsweet.com/u/Fabien_mnt)\
**Post date:** [August 1, 2023, 6:56am UTC](https://forum.finsweet.com/t/toc-no-working-on-firefox/1721/3 "2023-08-01T06:56:11Z")

</div>

Hello @josephmukunga  
Please find a video recording there [TOC problem on Firefox](https://komododecks.com/recordings/8jFC7Xc1yXcYCwcuEwpf)  
I’m on the last Mac OS 13.4.1

Thanks

---

<div class="post-metadata">

**Author:** ![josephmukunga](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/josephmukunga/32/522_2.png) [@josephmukunga](https://forum.finsweet.com/u/josephmukunga)\
**Post date:** [August 1, 2023, 7:23am UTC](https://forum.finsweet.com/t/toc-no-working-on-firefox/1721/4 "2023-08-01T07:23:03Z")

</div>

I have identified that it’s the interactions that do not work on the blog pages. Does it work as expected when you remove the TOC script?

---

<div class="post-metadata">

**Author:** ![Fabien\_mnt](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/fabien_mnt/32/319_2.png) [@Fabien\_mnt](https://forum.finsweet.com/u/Fabien_mnt)\
**Post date:** [August 2, 2023, 12:22pm UTC](https://forum.finsweet.com/t/toc-no-working-on-firefox/1721/5 "2023-08-02T12:22:02Z")

</div>

Hi Joseph,

As you can see on the video everything works without this script : [Webflow - Toc Attributes not working on Firefox](https://komododecks.com/recordings/uuQ89Zu27hJLxGFv1Mdc)

Thanks

---

<div class="post-metadata">

**Author:** ![josephmukunga](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/josephmukunga/32/522_2.png) [@josephmukunga](https://forum.finsweet.com/u/josephmukunga)\
**Post date:** [August 4, 2023, 2:45am UTC](https://forum.finsweet.com/t/toc-no-working-on-firefox/1721/6 "2023-08-04T02:45:17Z")

</div>

Hello @Fabien_mnt, this is a bug. I’ll log it so the team can look into it

---

<div class="post-metadata">

**Author:** ![Fabien\_mnt](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/fabien_mnt/32/319_2.png) [@Fabien\_mnt](https://forum.finsweet.com/u/Fabien_mnt)\
**Post date:** [August 21, 2023, 9:38pm UTC](https://forum.finsweet.com/t/toc-no-working-on-firefox/1721/7 "2023-08-21T21:38:54Z")

</div>

Hi @josephmukunga. How are you ?  
Do you have any news ? 🙃

---

<div class="post-metadata">

**Author:** ![Support-Luis](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/support-luis/32/53_2.png) [@Support-Luis](https://forum.finsweet.com/u/Support-Luis)\
**Post date:** [August 21, 2023, 10:38pm UTC](https://forum.finsweet.com/t/toc-no-working-on-firefox/1721/8 "2023-08-21T22:38:13Z")

</div>

hey @Fabien_mnt! Seems that your interactions are getting stuck after the page loads.

Can you try adding this snippet to your `</body>`?

```auto
<script>
  window.fsAttributes = window.fsAttributes || [];
  window.fsAttributes.push([
    'toc',
    (tableInstances) => {
      console.log('toc Successfully loaded!');
      window.Webflow && window.Webflow.destroy();
      window.Webflow && window.Webflow.ready();
      window.Webflow && window.Webflow.require('ix2').init();
      document.dispatchEvent(new Event('readystatechange'));
    },
  ]);
</script>

```

This should reset Webflow’s interaction engine after Table of Contents is done loading 🙂

---

<div class="post-metadata">

**Author:** ![Fabien\_mnt](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/fabien_mnt/32/319_2.png) [@Fabien\_mnt](https://forum.finsweet.com/u/Fabien_mnt)\
**Post date:** [August 30, 2023, 12:38pm UTC](https://forum.finsweet.com/t/toc-no-working-on-firefox/1721/9 "2023-08-30T12:38:50Z")

</div>

Hi Luis,  
Thanks it works perfectly ! 😀
