finicky icon indicating copy to clipboard operation
finicky copied to clipboard

WIP: Add JavascriptCore polyfill for require()

Open jamesramsay opened this issue 2 years ago • 1 comments

I want to put a number of helper functions in a separate file (see https://github.com/johnste/finicky/issues/261) including a base64 decoding function (see https://github.com/johnste/finicky/issues/223) so that I can decode and rewrite click tracking URLs where the ultimate URL is inside the base64 encoded query parameter.

(Here's my config https://github.com/jamesramsay/dotfiles/blob/main/finicky/config.js)

I wrote this as a quick proof-of-concept and have been using locally. @johnste are you open to including a polyfill like this?

jamesramsay avatar May 08 '22 02:05 jamesramsay

Thanks @jamesramsay, +1 on the feature request.

My use case would be to base the decision on which browser to use on the contents of a SAML message which I need to decode (Base64, then inflate) to the full XML. Happy to contribute something if that's something you can accept in principle @johnste?

muffix avatar Jun 30 '22 13:06 muffix

Merging the polyfill, thanks @jamesramsay !

johnste avatar Jan 03 '24 18:01 johnste