GithubHelp home page GithubHelp logo

izzy / d3coder Goto Github PK

View Code? Open in Web Editor NEW
33.0 33.0 43.0 456 KB

Chrome extension for encoding/decoding and hashing text on websites

Home Page: https://chrome.google.com/webstore/detail/d3coder/gncnbkghencmkfgeepfaonmegemakcol

License: MIT License

JavaScript 85.50% CSS 5.49% HTML 9.01%
chrome-extension decoding edge-extension encoding hacktoberfest

d3coder's People

Contributors

akshaythakare7 avatar bebora avatar dingyifei avatar gaurav219 avatar hsins avatar izzy avatar joelmheim avatar jpacsai avatar kerlos avatar leandronb avatar lpmtsf avatar mantasio avatar martinsustek avatar mbledkowski avatar mohammadanang avatar natsec avatar paradoxis avatar peakercope avatar pervolarakis avatar pozda avatar shreyash0713 avatar sk6298 avatar syarol avatar tehsponge avatar thalesagapito avatar thewhackfactory avatar togami2864 avatar toyamarodrigo avatar yassine-latreche avatar yousofmersal 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

d3coder's Issues

Native notifications not working anymore

The native notification output isn't working anymore. Since most users didn't seem to notice this or didn't care it would probably be best to remove the feature all together and have less permissions that need to be requested.

Hex-to-text decoding

From the Chrome Webstore:

Hi! I'd like to see something that can decode "AB CD EF"-style hex. Thanks!

Add RTL i18n support

Some languages translated use RTL instead of the western standard LTR text direction. This probably needs some changes in the CSS code to actually work properly with these languages.

I assume the styles/menu.css will need at least some additional styling. There is documentation available on how to use the predefined messages with the i18n API: https://developer.chrome.com/extensions/i18n#overview-predefined

Add d3coder-functions to DevTools pages

From the Extension Support page:

I want to use this inside devtools so I can right click some items in the network section and decode them right on the spot instead of copying to another application.

Any chance you can manipulate the devtools context menu to include other than 'copy' the 'encode' function as well?

This could be possible through defining a devtools_page.

Extension Options page incorrectly lists Base64 encode twice

On the d3coder Menu options page, both Base64 options are labelled "encode", as shown below:

image

Although the options function correctly (one encodes, one decodes), I would suggest relabeling the second checkbox to reflect that it controls Base64 decoding instead.

Scroll through decodes?

Is there any option to be able to scroll through the decode types to see what the output would be without having to click on each type? Maybe in the console or something?

Cannot import extension

Describe the bug
Some (ja, kn) translation files are named message.json instead of messages.json

Incorrect quoted-printable decoding

It works in a lot of cases, but I've just noticed while working with quoted-printable text that it doesn't do that very well. For example, the string "=E2=80=94" should decode to "—", but this extension shows "â��". Also, "=E2=80=99" should decode to "’", but it gave "â��" again. This seems to be a problem with Unicode support.

It doesn't handle the "=" linebreaks correctly, either. The decoded text includes a lot of equal signs in them.

PS: I'd submitted this issue report in the Chrome webstore as a review, then a support issue, but then I realized this repo is probably the place you'd be most likely to notice this report. My apologies for the duplication and I hope it doesn't overload you.

Clean up and fix permissions in manifest

  • ClipboardRead needs to be in there for conversion from the clipboard
  • ClipboardWrite is needed for copy-to-clipboard
  • tabs isn't needed afaics and what I could see from testing(see https://developer.chrome.com/extensions/tabs)
  • contextMenus is needed for self explanatory reasons
  • permissive :///* is needed to be able to act on all sites
  • storage is needed to be able to save settings

Make the extension ready for translations

Should be a breeze, not a lot to do apart from replacing a lot of text and changing one or two JS functions

See

List of Locales:

Will do English & German first as a PoC, more can follow after that, focus should be on those languages with the most users. This might help the growing userbase of Spanish users as well as the plethora of Asian language users.

Add translations

Since #23 added the capabilities of translating the extension it would be great to have more translations available for those who aren't native English speakers.

The translations need a folder with the language code in the _locales folder and a messages.json in that sub-folder. The easiest way to get all the messages is to copy the English folder(_locales/en/) and go from there.

Some translations might not need all the fields if e.g. the text is understandable in your language and might only need a translation in languages that use non-latin characters and have their own words/phrases for messages that are otherwise not translated. Messages that aren't translated will take their text from the English translation - see German as an example for that.

A list of possible translations is available at https://developer.chrome.com/webstore/i18n#localeTable

I'll list translations that are done and won't be needing a translation as checked here. Those currently being worked on or free as unchecked. If it's not on the list but in the possible translation list - see link above - just write a comment under this issue, otherwise write in the linked issue so I can assign you:

  • ar - Arabic #39
  • am - Amharic #72
  • bg - Bulgarian #45
  • bn - Bengali - #73
  • ca - Catalan #46
  • cs - Czech #47
  • da - Danish #48
  • de - German
  • el - Greek
  • en - English
  • es - Spanish
  • et - Estonian #49
  • fa - Persian #74
  • fi - Finnish #50
  • fil - Filipino #51
  • fr - French
  • gu - Gujarati #88
  • he - Hebrew #52
  • hi - Hindi #53
  • hr - Croatian #54
  • hu - Hungarian #55
  • id - Indonesian #56
  • it - Italian #57
  • ja - Japanese #58
  • kn - Kannada #75
  • ko - Korean #59
  • lt - Lithuanian #89
  • lv - Latvian #90
  • ml - Malayalam #91
  • mr - Marathi #92
  • ms - Malay #93
  • nl - Dutch
  • no - Norwegian #94
  • pl - Polish
  • pt_BR - Portuguese (Brazil)
  • pt_PT - Portuguese (Portugal) #95
  • ro - Romanian #96
  • ru - Russian
  • sk - Slovak #97
  • th - Thai
  • tr - Turkish
  • uk - Ukrainian #77
  • zh_CN - Chinese (China) #60
  • zh_TW - Chinese (Taiwan) #61

Uncaught exeption when trying to use unserialize

With the test text

a:2:{i:0;s:4:"pleh";i:1;a:2:{i:0;s:4:"pleh";i:1;R:3;}}

The unserialize function will throw the following exception

Error in event handler for contextMenus: SyntaxError: Unknown / Unhandled data type(s): r
at error (chrome-extension://gncnbkghencmkfgeepfaonmegemakcol/js/D3.js:1000:61)
at _unserialize (chrome-extension://gncnbkghencmkfgeepfaonmegemakcol/js/D3.js:1109:18)
at _unserialize (chrome-extension://gncnbkghencmkfgeepfaonmegemakcol/js/D3.js:1098:35)
at _unserialize (chrome-extension://gncnbkghencmkfgeepfaonmegemakcol/js/D3.js:1098:35)
at D3.unserialize (chrome-extension://gncnbkghencmkfgeepfaonmegemakcol/js/D3.js:1115:25)
at menu.onclick (chrome-extension://gncnbkghencmkfgeepfaonmegemakcol/js/D3.js:1256:54)

This exception should be handled and at least known types should be printed. "R" (for recursion) could be printed as simple text like "recursion pointer".

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.