r/javascript • • May 02 '14

Online Tool : Convert HTML to Javascript variable

http://pojo.sodhanalibrary.com/string.html
0 Upvotes

4 comments sorted by

View all comments

8

u/decultured May 02 '14

Site is littered with ads, I have no idea what it's for or why anyone would want to use it, and the result is very poorly done (why the string concatenations, the tool should do that ahead of time - not to mention there are many better ways to concatenate a bunch of strings than repeated addition operators).

Downvoted, but figured I'd explain why.

1

u/srinivas1234 May 02 '14

I kept ads to pay for hosting, not to earn money

5

u/[deleted] May 02 '14

Sadly this is something a lot of people don't understand. It is virtually impossible to make a profit off advertisements.

I will say though, never debut with ads. If it means you have to suck up the costs for awhile so be it. It's just bad form. If you gain enough traffic where the costs are getting high, you could consider the Wikipedia approach.