In dart.js, when the script attempts to build the dart url, one of the steps is that it prefixes a tag.site value with a "." at the beginning of that value. In my particular issue, tag.site is a NULL value, basically causing this script to add the "." with nothing after it, resulting in a "./" value. This causes the ads to not render correctly for this case.

I've added a conditional statement to dart.js that checks for a null value of tag.site before adds this string into the equation. This keeps all original functionality of the module while at the same time allowing for unique cases to omit the value if needed.

Attached it the patch file with the condition implemented.

CommentFileSizeAuthor
#2 emptysite.patch945 bytesbleen
patch_commit_907e611e386b.patch1015 bytestherealwebguy

Comments

bleen’s picture

@nrussel - I'm not at all opposed to committing this patch, but out of curiosity - how is it possible that you do not have a "prefix"? It was my impression that it was required.

bleen’s picture

Status: Needs review » Fixed
StatusFileSize
new945 bytes

I committed a slightly modified patch to both 6.x & 7.x

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Bill Choy’s picture

Try 'www' as the prefix