Rotten Tomatoes is fighting back against online trolls.

On Monday, the review aggregator announced they are disabling the comment function on a film before its theatrical released in an attempt to combat review bombs, which recently engulfed "Captain Marvel" ratings.

"Unfortunately, we have seen an uptick in nonconstructive input, sometimes bordering on trolling, which we believe is a disservice to our general readership," Rotten Tomatoes wrote in a blog post. "We have decided that turning off this feature for now is the best course of action."

Related: Early reviews cheer on 'Captain Marvel': 'It's retro & trippy, mysterious & dorky'

Previously anyone could leave written comments or reviews for a movie before its release. Occasionally this would result in an onslaught of negativity from people who had yet to see a film.

"Captain Marvel" (which premieres next week) was the most recent example, where trolls slammed the female superhero and the movie's alleged feminist agenda in a coordinated attack.

"We’re doing it to more accurately and authentically represent the voice of fans, while protecting our data and public forums from bad actors," Rotten Tomatoes continued.

The company is implementing other changes, including making the "want to see" score a raw number instead of a percentage.

Contributing: The Associated Press

Related: 10 movies we can't wait to see in 2019, from 'Captain Marvel' to 'Aladdin'