Lovejoy fired a shot between goalie Antti Niemi's legs as the Ducks earned their third preseason win.
Tomas Hertl gave the Sharks a 1-0 lead with 5:18 left in the first when he tapped a rebound past Viktor Fasth. The Ducks tied it early in the second when Emerson Etem stuffed in a shot from the left corner, but Tyler Kennedy restored San Jose's edge with a short-handed goal at 8:18.
Corey Perry netted his first goal of the preseason with 3:59 left in the second to make it 2-2.
San Jose's Raffi Torres collided with Etem at 6:34 of the second period as Etem tried to avoid going offside. Torres got back to the bench, but left the game soon after and didn't return. Etem injured his left leg, but returned briefly. He didn't come out for the third period.
Fasth made 24 saves, and Niemi stopped 28 shots.
Copyright by STATS LLC and The Associated Press
Arena: SAP Center Location: San Jose, California
Referees: Dan O'Halloran, Dennis LaRue Linesmen: Brian Mach, Kiel Murchison
Attendance: 15,760 (90.1% full)
Team Stat Comparison
Power Play Goals
Power Play Opportunities
Shots on Goal
Tomas Hertl (1)
Assists: Adam Comrie, Joe Thornton
Emerson Etem (2)
Assists: Devante Smith-Pelly, Daniel Winnik
Tyler Kennedy (1)
(Shorthanded) Assist: Patrick Marleau
Corey Perry (1)
Assists: Ryan Getzlaf, Patrick Maroon
No scoring this period
Ben Lovejoy (1)
Assists: Cam Fowler, Andrew Cogliano