Prosecutors asked a judge Friday to consider social media posts that mock the justice system as he decides whether to stick to a 6-month jail sentence for a Farmingdale man who caused the drag-race deaths of five teenagers.

One Instagram post shows Cory Gloe, 19, posing for a selfie outside Nassau County Court with two law enforcement officers in the background and a caption that uses an expletive to describe police.

That post, dated the same day as Gloe’s plea to a 17-count indictment that included five manslaughter charges, also had emojis depicting a middle finger salute and a police car.

In addition, the same private account had a photo of what appears to be Gloe blowing smoke, with the same emojis, and the motto: “I’ll be in and out faster than you can spin a doubt.”

On March 10, Gloe pleaded guilty to causing the May 2014 deaths of Tristan Reichle, 17; Jesse Romero, 18; Carly Lonnborg, 14; Noah Francis, 15; and Cody Talanian, 17. All the victims were or had been students at Farmingdale High School.

Authorities said Gloe goaded Reichle into a street race before Reichle lost control of his car and crashed into a separate vehicle in oncoming traffic, seriously injuring its two occupants, and killing everyone in his car.

advertisement | advertise on newsday

Prosecutors have not commented on the content of social media posts they turned over Friday to acting State Supreme Court Justice Terence Murphy, or said how they linked them to Gloe.

Newsday obtained copies of some of the posts Friday from sources, including Lonnborg’s family.

The social media account, which also showcased photos of liquor bottles and what appeared to be marijuana, used the screen name of a fictional character from the Showtime TV series “Weeds.”

Relatives of Lonnborg were outraged at the judge’s initial commitment to sentence Gloe to five years of probation and six months in jail as a youthful offender, meaning Gloe wouldn’t have a criminal record.

Murphy had warned his commitment would be revoked if Gloe got rearrested. Days later, police charged Gloe with a felony after they found a gravity knife in a car he was riding in.

But the judge dismissed the weapon charge Friday at the request of the Nassau district attorney’s office after prosecutor Stephanie Dellinger said the 17-year-old driver of the vehicle claimed ownership of the knife.

Gloe’s attorney, Stephen LaMagna, said later the defense had anticipated the dismissal. LaMagna declined to comment on the social media posts.

Lonnborg’s family said the posts are more evidence that Gloe doesn’t deserve youthful offender status.

advertisement | advertise on newsday

“He just couldn’t wait to get out of the courtroom and boast,” said Carly’s mom, Sandy Lonnborg. “This young man has had opportunity after opportunity, chance after chance. He wasted them. He laughed. He didn’t care.”

Gloe faces up to 22 years in prison at his May 20 sentencing.