In my previous reports I overlooked an example of a fighter used in the anti-shipping role.
After having played a mostly defensive role in the first part of the conflict, from June '43 to June '44 No. 3 Squadron switched to the offensive, carrying out intruder missions over France and the Netherlands and anti-shipping attacks in the Channel area.
Sources:
http://www.historyofwar.org/air/units/RAF/3_wwII.html
https://en.wikipedia.org/wiki/No._3_Squadron_RAF
At the time of its new appointment, the squadron was flying Hawker Typhoons and, from February '44, Hawker Tempest fighter-bombers. Both aircraft were fitted with four 20 mm cannons and they could carry two 500 lb or two 1,000 lb bombs. Moreover,
according to Wikipedia, starting from September '43 Typhoons could be armed with eight RP-3 rockets, attaining a devastating firepower against any ground or surface target.