Hacker News new | ask | show | jobs
by 2pointsomone 2272 days ago
Good point. What if you have two models:

- One: the model you have right now. this is for organizations where the value outweighs the price tag.

- Two: Smaller organizations are generally also more willing to compromise on JS/asset bundling and performance. Why don't you give them: - a hosted JS solution where they just have to include a <script /> tag - An uglified script. I'd argue most JS developers can't unscramble these - you keep counters on number of requests - you disqualify (using some basic hashing method) run-ability of PDFJS Express based on the time the script was requested OR if an acknowledgement from a server fails. So say, if someone is using a cached version, the script will either not run at a certain point OR all the documents will be watermarked with "TRIAL".

This second way could also be the best way for getting people started immediately. Include a tag, see a watermark, but you are ready to go.

1 comments

The watermarking is how Google Maps does it. It shows "development only" on the maps if the keys are not set up right or are over their limits.