Giter Site home page Giter Site logo

segment-chromeextension's People

Contributors

albertodeago avatar brunvez avatar dallerup avatar erikhedin avatar jessechain avatar josefczanko avatar lykaiowang avatar martinbuberl avatar martinmouritzen avatar mgz avatar sanpochew avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

segment-chromeextension's Issues

Cannot copy from the debugger

Before I used to be able to copy data from the debugger, which is one of the most useful things to do with it. However a recent change seems to prevent that from happening. THank you !!!

Manifest V3 Permissions

Hey Martin,

Firstly, thanks for this awesome project, you've really done an amazing job here!

Chrome prompted me today, saying that the extension is asking for additional permissions, namely the browser history and copy and paste permissions.

I saw that you recently migrated to the V3 Manifest and I assume that the permission change happened because of that. I was wondering if there is any way we could bring the extensions back to it's original permissions? I can see how some users (including myself) are a bit worried about this permission change.

Background.js not able to send the blob(file) object.

How to send the file object from api.js to server through background.js. I am doing in flowwing ways

in api.js

chrome.runtime.sendMessage(
{
action: 'backgroundAjax',
ajax: {
url: url,
type: type,
data: data,
},
},

in Background page the data is coming as empty.

I know this is not a proper place to ask this question, but is there any idea from your side.

Docked/persistent view

Hey Martin! Very cool plugin, thanks for your work on this.

I'm working on something that sends a lot of Segment events and I want to ensure that they fire when expected. Something that would help a lot would be a persistent view of the plugin, something that doesn't disappear when I click on it. I think this could take a few forms, maybe an independent floating container, maybe something that docks alongside the browser tab, or even just an option so it stays where it is and doesn't disappear on click.

I don't know how easy or hard this is but it would be helpful. Thank you!

Improve UTF-8 Decoding Accuracy for Binary Data

Problem:

Currently, the application uses String.fromCharCode.apply(null, new Uint8Array(...)) to convert binary data from network requests into strings. This approach, however, has proven to be unreliable for UTF-8 encoded text, especially when dealing with non-ASCII characters such as Chinese characters, leading to garbled text outputs.
bug

Proposed Solution:

It is suggested that we switch to using the TextDecoder API for decoding binary data. The TextDecoder interface provides a more robust mechanism for handling UTF-8 encoded text, ensuring accurate representation of all characters, including those outside the ASCII range.

For Example:

In background.js, line 109

var postedString = String.fromCharCode.apply(null,new Uint8Array(details.requestBody.raw[0].bytes));

change to

var bytes = new Uint8Array(details.requestBody.raw[0].bytes);
var decoder = new TextDecoder('utf-8');
var postedString = decoder.decode(bytes);

Results
fix

If you have any questions, please let me know. Thank you!

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.