Coder Social home page Coder Social logo

Comments (5)

janodvarko avatar janodvarko commented on September 28, 2024

Do you have an example WebExtension that uses sockets?

Honza

from websocket-monitor.

jonathanKingston avatar jonathanKingston commented on September 28, 2024

The one I was trying to debug was this patch:
jonathanKingston/Signal-Desktop@de95079

To run the extension clone my version of the repo in the branch firefox-extension. Then load in about:debugging.

You can see where I was manually using console.logs to try and check before the data is sent over the sockets. Having an idea of what messages are passed by Firefox would make this a lot simpler to debug.

from websocket-monitor.

janodvarko avatar janodvarko commented on September 28, 2024

@esphen Any tips who we could solve this?

Honza

from websocket-monitor.

eliihen avatar eliihen commented on September 28, 2024

Ooh, signal being developed for Firefox? Sweet, I've been waiting for that.

I definitely agree that this would be a pretty useful feature, so I looked into this. In my limited research, I couldn't find any devtools extensions that were present in the Browser Toolbox, only in the F12 developer tools.

The way I see it is there are two ways forward:

  1. Figure out if Firefox supports devtools extensions in the Browser Toolbox. Looks to me like no, but I could be wrong. I understand why it wouldn't, as that could potentially have significant security implications. In any case, doing this might need an extension to the devtools API.
  2. Integrate websocket monitor into the devtools directly. This has been talked about before, but I don't know where we currently stand on this.

from websocket-monitor.

jonathanKingston avatar jonathanKingston commented on September 28, 2024

To clarify, the Signal work was me mostly messing about and I wasn't able to debug everything to put in a patch to them.

I opened #75 to discuss the lifetime of this extension.

from websocket-monitor.

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.