Weight Watchers - Here's how to make WW Points show up in My Fitness Pal - count points for free! :)

Aldergrove BC
06-03-2014, 04:24 PM
Saw this post on myfitnesspal so gave it a try, and it worked. Now Weight Watchers Points show up to the right of my diary.

This is what I did if anyone is interested....:D

* Make sure on myfitnesspal your diary is set up like this =
Carbs then Fat then Fibre then Protein then None
(edited by logging onto myfitnesspal - Settings - Diary Settings)

This will allow it to calculate the Points.

1st - You need to use the Mozilla Firefox browser. If you don't have it, download it for free.
(I've heard there is something that will make this work on Chrome browser as well, but this is the one I did)

2nd - Use this link to add the grease monkey add on to mozilla firefox...
(If that link doesn't work just google grease monkey add on for firefox)

(after doing this you will see a lil monkey face on the top bar of mozilla you can click on with options)

3rd - Then go to this link (which is a user script) and hit install - http://userscripts.org:8080/scripts/show/122949

Your diary on myfitness pal should now show points as well :carrot::carrot::carrot:

Here is the link to the discussion I found it on on mfp - [url]http://www.myfitnesspal.com/topics/s...-points-on-mfp

Grease Monkey Add on -
Allows you to customize the way a web page displays or behaves, by using small bits of JavaScript.
(JavaScript; an object-oriented computer programming language commonly used to create interactive effects within web browsers.)

User Script Summary: Adds display of Weightwatcher points to any daily food diary page. Defaults to the older weight watcher point calculation. To display the new Points Plus calculation, edit the source code. On line 10, change variable pointsPlus=false; to pointsPlus=true; To display whole point precision instead of 0.5 (matches exactly WW calculators), change the variable precisionWW to false on line 11

Edit - If you want it to round, it should actually be True on line 11 (not false as it says above)

Aldergrove BC
06-03-2014, 05:26 PM
Here is a picture of my mfp diary now...

Aldergrove BC
06-03-2014, 05:30 PM
It does count veggies and fruit as points, since I guess it doesn't know that the thing you are entering is a vegetable/fruit, and it's supposed to be 0.

I haven't decided yet if I will stop tracking them, or just do the calculation to delete the points.

06-03-2014, 07:00 PM
It does count veggies and fruit as points, since I guess it doesn't know that the thing you are entering is a vegetable/fruit, and it's supposed to be 0.

I haven't decided yet if I will stop tracking them, or just do the calculation to delete the points.

Well, but the userscript itself is based on the old WW system, the one that did count fruit and vegetables, so I guess that's why. I'm actually toying with the idea of trying the old plan, so I think I'll leave the script as is. Thanks for this! I've always kinda wanted to be able to count points along with my calories, just to see how they compare!

Aldergrove BC
06-03-2014, 07:51 PM
I think I'm going to leave it, and then in the notes section I will make a note of the points after I minus the veg and fruit. It is kind of nice to see. I was surprised that my banana would = 3 points if I were to count them.

I was going to pay for the WW app again, since I do like the WW plan, but I am trying to budget myself better and not spend so much $, save where I can, so happy I found this :)

Aldergrove BC
06-03-2014, 08:01 PM
Actually, after I changed the script it has my banana as 3 points. hmmm not sure if I am using the old verion of WW or the new version of WW script now? lol

06-03-2014, 08:12 PM
Haha, if it's counting your banana, then it must be using the old version (I think it was called the Momentum Plan?) I'm definitely going to stick with the script as is because I did the Momentum Plan when it was still in effect and I did really well on it (well, before I quit, bahahaha.) And besides...fruit has calories, so it only stands to reason that it should have points, too. :) If I don't see that I'm making any progress with the old plan, I'll change the script. (Maybe. LOL.)

Now all that has to happen is for there to be some way to convert my activity from my Fitbit into WW activity points! I don't actually use my APs, but still. It'd be nice to have a way to convert them.

06-03-2014, 09:40 PM
Actually, after I changed the script it has my banana as 3 points. hmmm not sure if I am using the old verion of WW or the new version of WW script now? lol

But then if it is the old system you would have more total points, or maybe a range of points. I remember back when a banana was equal to 1/2 a fruit. So that's why I limit my bananas to 1 a day.

06-03-2014, 10:32 PM
But then if it is the old system you would have more total points, or maybe a range of points.

On the Momentum plan, I *think* I had 34 points. I don't know why, but that number is really standing out in my head. Then when I joined in January 2011 and they were doing the Points Plus, I dropped to 29. And *then*, when Points Plus went through some kind of "tweak" part of the way through my weight loss, my daily points were recalculated at 26, but I didn't bother doing that and just stayed at 29.

.....Now I'm actually curious as to how many points I did have when I was doing the Momentum plan. Hmmmm.....*L*

Aldergrove BC
06-04-2014, 12:58 AM
I had the actual weight watchers app about 6 months ago, and I was at the lowest which is 26 points. I can't remember what I was on the last version when I did it a few years back. I'm going to guess the same as you at 29 points Snoofie.

Aldergrove BC
06-04-2014, 01:05 AM
When checking the points it's logging with a WW calculator, so for everything is adding up :)

I've changed mine to the new script since I always liked the points plus plan for not having to log every single veggie I eat, I will count fruit, and potatoes, corn etc still.

06-04-2014, 02:52 AM
I don't think it is the old program, it seems to count points mostly similar to how the WW calculator does them now. It is just that it is pulling the numbers without regard to whether something is a zero point food or not.

I use MFP but I also record food in the WW tools. I record the full food info in MFP then I just take the numbers and record them on the WW site to see the number of points. This might make that faster to do.

Hmmm: I installed it and my diary has a column now for points, but nothing is showing up in the column. It is just blank.

Edit: OK I got it to run. I was displaying calcium and for this to work you have to display (in this order) Calories, Carbs, Fat, Fiber and Protein and nothing in the last column.

I changed line 10 to True for Points Plus and line 11 was already false. However, it is still rounding to the half point but I can live with that.

06-04-2014, 10:38 AM
The old points system had 18 as your minimum point number. I was very successful and lost the second half of my pregnancy weight (40lbs) with it.

I still count both calories and points and my calories typically end up in the 900-1000 range at 18pts.

Aldergrove BC
06-04-2014, 12:30 PM
Oh right munchy, I remember that 18 number now :)

Koshka, I think you are right, it can't know that something is a Veg or Fruit so it is going to count it, there is probably just no way around that.

I changed line 11 to True and that made it round everything.

06-04-2014, 02:29 PM
I changed 11 to true as well and it rounded. The thing I read said to put line 11 at false to get it to round, but it should be true.

Aldergrove BC
06-04-2014, 03:31 PM
Oh ya, I see that now. That was copied and pasted from somewhere else.
I will go and edit it so people know :)

06-04-2014, 04:19 PM
BTW, my DH uses Chrome and we went and found the Chrome instructions on MFP and he uses tampermonkey as the add on and he did the following to make it work in Chrome (in addition to the other stuff mentioned):

add this to the top of the script file:
(function () {

and then this to the very bottom of the script:

Aldergrove BC
06-04-2014, 07:05 PM
Oh thank you! I prefer Chrome :)

06-05-2014, 09:26 AM
Oh thank god. I really don't like using Firefox (I've gotten used to using Chrome.) :)

06-05-2014, 11:01 PM
are there detailed instructions for doing this in chrome with tampermonkey?

06-06-2014, 02:54 AM
I used the ones I posted and that was enough. There are some threads on MFP though so maybe some have more.

But really all you have to do is install Tampermonkey then edit the script as I posted. Also change lines 10 and 11 of the original script to true.

Aldergrove BC
06-06-2014, 02:30 PM
When I go to that same userscript I posted now, it takes me to a page that says Web application could not be started -

I posted in MFP asking if someone who's better with computers than I knew what was going on with the user script but no answers yet. Weird, since it worked just fine the other day.

06-06-2014, 02:44 PM
@Aldergrove- that's the same problem I was having! Thanks for posting to MFP :)

06-08-2014, 03:47 PM
got it to work, here's the whole thing which WAS NOT coming up for me before. Someone had to post this in the MFP forum.

(function () {

// ==UserScript==
// @name MyFitnessPal Weight Watchers Points
// @version 1.1.4
// @description Adds display of Weightwatcher points to any daily food diary page. Also adds "Real Calories" calcalation based off 4/4/9 algorithm.
// @include http://www.myfitnesspal.com/food/diary/*
// @include https://www.myfitnesspal.com/food/diary/*
// ==/UserScript==

var pointsPlus=true;
var precisonWW=true;

if (window.top !== window.self) {
return; /* do not run in frames */

if (typeof unsafeWindow != 'undefined')
(function page_scope_runner() {
// If we're _not_ already running in the page, grab the full source
// of this script.
var my_src = "(" + page_scope_runner.caller.toString() + ")();";

// Create a script node holding this script, plus a marker that lets us
// know we are running in the page scope (not the Greasemonkey sandbox).
// Note that we are intentionally *not* scope-wrapping here.
var script = document.createElement('script');
script.setAttribute("type", "application/javascript");
script.textContent = my_src;


function startRun() {
var script = document.createElement("script");
script.setAttribute("src", "http://www.google.com/jsapi");
script.addEventListener('load', function() {
}, false);

var points, totalPoints=0;
function getPointOld(cal1, fat1, fiber1, carbs, protein)
if (fiber1>4 && !pointsPlus)
points = cal1/50;
points += fat1/12;
points -= fiber1/5;
if (pointsPlus)
points = (protein / 10.94) + (carbs / 9.17) + (fat1/3.89)- (fiber1 / 12.49);
if (precisonWW)
var intPoints = Math.floor(points);
fraction = points - intPoints;
if (fraction<0.25)
points = intPoints + 0.0;
else if (fraction>=0.25 && fraction<0.75)
points = intPoints +0.5;
points = intPoints+1;

function main()
//$("tr:first").append('<col class="col-2" />');
$("tr:first").append('<th >');

var found=false;
var totalFound=false;
var table1 = jQuery('.table0');
var totalPoints=0;
var rowInd=-1;
var index=0;
if ($(this).hasClass('meal_header') && rowInd==0)
$(this).append('<td class="alt">Weight Watcher Points+</td>');
if (!totalFound && $(this).hasClass('total'))
var cols=$(this).find('td').each(function()
if (index==0)
else if (index==1)
else if (index==2)
else if (index==3)
else if (index==4)
else if (index==5)
else if (index==6 && $(this).hasClass('delete'))
getPointOld(cal11, fat11, fiber11, carbs, protein);
if (found)
/*if (totalFound)
index +=1;

function loadscripts_1()
var script = document.createElement("script");
script.setAttribute("src", "http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js");
script.addEventListener('load', function() {
}, false);

function loadscripts_2()

/* fix for old prototype conflict with google viz api */
/* retrieves the Array reduce native function using cleverness */
var ifr = document.createElement('iframe');
Array.prototype.reduce = ifr.contentWindow.Array.prototype.reduce;

google.load( "visualization", "1", {packages:["corechart"],"callback":main} );


06-24-2014, 01:10 PM
I use this at My Fitness Pal as well, to give my fruits 0 pts. I just add my own and give 0 amounts to everything. I use a phone app called WWdiary for my android. It's free and I really like it - you do need to know the program though. If you pay $1.00 month thru paypal; you can use the scanner portion with it and I really like that!