You go on Facebook and other social media sites almost every day. You often feel like you should stop and put more of your time into other activities, but you still find yourself browsing the web continuously.

As much as this might waste your time, if you get arrested and are facing criminal charges, it could help your case. There have been situations where social media provided an alibi.

One case of social media activity as an alibi involved a teen who was accused of taking part in a robbery. He had made a Facebook post at the time the crime occurred. It was nothing serious — just talking about how he wanted pancakes — but it was enough to clear him.

Experts note that for a social media post to hold up as an alibi, you will need to prove you made the post, that you were on a specific device at the time (like a computer) and that you have access to the account.

Of course, the evolution of social media now gives you more options for providing details about a post. When you take pictures at certain locations, you can automatically add the location to the photo. The time and date also get recorded.

Additionally, when you go to many establishments — like bars, restaurants, gyms and schools — you can “check in” electronically. You may just do this to show your friends what you are doing at the moment, but it may provide an alibi if a crime happened while you were checked in at another location some distance away.

When facing criminal accusations, it is important to know all of the legal defense options you have.