openinbrowser icon indicating copy to clipboard operation
openinbrowser copied to clipboard

Add regex filter option when opening binaries as text

Open E3V3A opened this issue 8 years ago • 6 comments

Something that I could find very handy in this great tool I use on a hourly basis, is the following. When clicking on a binary file, I always use the option to open it as text. As you can imagine it's full of garbage with few strings it it. From a regex perspective, it is trivial to filter this.

But what would it take to implement this filter into this tool so that we'd have 3 different Text options instead of one?

Open as:

  • Text
  • Text (ASCII) by using the regex: [ -~] .
  • Text (Unicode) by using regex: \P{Cc} .

Check the proper multilingual regex such as: \P{Cc}.

Where in the code can I look at this?

E3V3A avatar May 30 '17 21:05 E3V3A

@spasche I think I may be able to fix this, but we need your feedback to proceed. Are you still maintaining this project?

E3V3A avatar Jul 23 '17 09:07 E3V3A

Seem from other posts that maintenance of this project is ending...

@est31 Do you know any more about the status of this project? I'd hate to see this extension disappear. I use it 20 times a day!

E3V3A avatar Jul 23 '17 09:07 E3V3A

@E3V3A I'm waiting right now with publishing a web extension rewrite until Firefox 56 gets released so that I can build on the most mature API available at the moment. I've got the impression that right now there is a lot of flux so I've decided to wait a bit until Firefox 57 is in beta.

est31 avatar Jul 23 '17 10:07 est31

I'm not working on it anymore. I'm looking for new maintainers and developers, especially for the transition to WebExtension (#23).

In the meantime, I can review/accept PRs and push new releases.

spasche avatar Jul 23 '17 11:07 spasche

@spasche Ok, Thanks for letting us know! Perhaps @est31 would be interested in taking over as he's already doing a good effort trying to port to use WebEx... If not, it may be a good idea to add a request for maintainer in your README or as a separate issue.

E3V3A avatar Aug 17 '17 08:08 E3V3A

I added a link to #23 from the README if someone wants to help.

spasche avatar Aug 17 '17 19:08 spasche