In the past I used a PHP library to detect the Web Browser used by my end users (not to serve content - I use feature detection for that). Since the library I used became abandonware, I decided to rewrite it and add new features and support a lot more browsers/robots.
Since my library is better (IMHO) than the one I used in the past, I wanted people to use my library (it's free, open source and uses GNU Lesser General Public License 3+). I thought I could go answer all the question that could be solved by my library. So I did search on SO and answered these questions.
My answers always answered the actual question with a full example, explanation and a link to the library. Yes some were similar but they always were legit answers (not just a shameless plug).
I found out that all those answers were deleted by an admin. I guess they were flagged for some reasons but I think these are false positives. Is there anyone that can check that for me and tell me is there is something wrong about what I did?
This is an example question where my anwser was deleted.
It took me several hours to find and answer those questions and I think they are 100% legit. Please educate me if I'm wrong and if not please undelete them :)