MyFitnessPal - Fixed Protein Goal (in grams)

By Kenny Millington Last update Jun 14, 2012 — Installed 284 times.

Script Summary: Modifies the food diary to fix your protein intake to a fixed amount of grams, shifting the excess into carbs.



Version: 0.5.1

Copyright: 2012+, Kenny Millington

Modifies the MyFitnessPal food diary page to fix your target protein intake to a fixed amount of grams no matter of your calorie goal.

The excess protein allowance that MFP calculates is then moved into your carbs allowance.

Helps if you are using target goals of, for example:-

Protein: 1g per lb body weight
Fat: 25% of target calories
Carbs: Remaining calories.

IMPORTANT:-

Once you have installed the script you MUST edit the script to set your protein goal near the top:-

// YOU MUST SET YOUR PROTEIN GOAL HERE (IN GRAMS)
var proteinTarget = 146;

Change 146 to your target amount of protein (in grams).