Code Monkey home page Code Monkey logo

Comments (7)

benjaminbhollon avatar benjaminbhollon commented on May 26, 2024

This is also happening for me in Brave (Chromium-based, so probably in Chrome too). I'll work on it.

from habitica-chat-extension.

benjaminbhollon avatar benjaminbhollon commented on May 26, 2024

Okay, it looks like it's the DOMPurify thing that the Firefox people requested that's breaking things. I'll look for a workaround that doesn't remove it so they won't get angry at us.

from habitica-chat-extension.

CraigInches avatar CraigInches commented on May 26, 2024

dompurify is doing its job, and stripping all the unsafe elements from the strings, unfortunately that includes the onclick events. Are you still looking at this @benjaminbhollon ? We should be able to overide the config too allow the elements needed, or add them to our copy of the purify.js

from habitica-chat-extension.

benjaminbhollon avatar benjaminbhollon commented on May 26, 2024

Yeah, I'm still working on it. I've had to take a break because I've been pretty busy with everything going on right around now.

from habitica-chat-extension.

CraigInches avatar CraigInches commented on May 26, 2024

Do you mind if I take a crack at it since your tied up with other things?

from habitica-chat-extension.

benjaminbhollon avatar benjaminbhollon commented on May 26, 2024

Sure, if you'd like!

from habitica-chat-extension.

CraigInches avatar CraigInches commented on May 26, 2024

#58

from habitica-chat-extension.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.