Workers Auto Approve
Add whitelist of domains to not inject Web3 on
I maintain [an extension][recap] that parses U.S. government court websites for metadata. Apparently, today, somebody started using both of our extensions, with these results:
1. We do server-side parsing of webpages that our extension uploads to our server. As of today, our parser (lxml's HTML parser) is failing because the HTML we're receiving is too...broken? Funky? Not sure. But instead of getting a nice DOM out of the parser, we are getting:
From what I can tell, it looks like your extension adds a `` tag to the `` node, not the `` or ``, which seems to break things in my parser. It could have something to do with your specific JS though, because if we take the JS out and just leave an empty `` tag, the parser works fine.
Something weird there.
2. The parser for an HTML page that's normally about 50 lines long is now taking about 10 seconds to parse and create a tree data structure. This is very slow for server-side parsing — or any parsing.
I'm wondering if you have any solutions for this. I don't know much about your project (cryptocurrency isn't something I'm keeping up with), but a few ideas:
1. Our extension only operates on one domain, uscourts.gov. Could you whitelist that domain so that your extension doesn't work there?
2. There are ways for extensions to communicate. Could we use that to disable your extension when ours is present? This is a bigger solution, perhaps, but it avoids you maintaining an ever-growing whitelist of URLs.
I don't know. I'm more of a back end person, so extensions aren't my strong suit, but it'd be great if we could do something to make this better. Thanks.
Setup your profile
Tell us a little about you:
No results found for
Type to search skills..
Required [[totalcharacter]] / 240
Are you currently looking for work?
[[ option.string ]]
Setup your profile
Our tools are based on the principles of earn (💰), learn (📖), and meet (💬).
Select the ones you are interested in. You can change it later in your settings.
I'm also an organization manager looking for a great community.
Enable your organization profile
Gitcoin products can help grow community around your brand. Create your tribe, events, and incentivize your community with bounties. Announce new and upcoming events using townsquare. Find top-quality hackers and fund them to work with you on a grant.
These are the organizations you own. If you don't see your organization here please be sure that information is public on your GitHub profile. Gitcoin will sync this information for you.
Select the products you are interested in:
Out of the box you will receive Tribes Lite for your organization. Please provide us with a contact email: