Skip to content

Commit

Permalink
more changes
Browse files Browse the repository at this point in the history
  • Loading branch information
annevk committed Jan 15, 2020
1 parent 7eec4ad commit b92b9f0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/wattsi.pas
Original file line number Diff line number Diff line change
Expand Up @@ -1311,13 +1311,13 @@ TCrossReferences = record
Result := ProcessNode(Node);
end
else
if ((Instruction = 'INSERT FINGERPRINT') and (Variant <> vDEV)) then
if ((Instruction = 'INSERT TRACKING') and (Variant <> vDEV)) then
begin
TempElement := E(eSpan, [kCrossRefAttribute, 'fingerprinting vector',
'title', 'There is a potential fingerprinting vector here.',
'class', 'fingerprint'],
[E(eImg, ['src', 'https://resources.whatwg.org/fingerprint.svg',
'alt', '(This is a fingerprinting vector.)',
TempElement := E(eSpan, [kCrossRefAttribute, 'tracking vector',
'title', 'There is a tracking vector here.',
'class', 'tracking-vector'],
[E(eImg, ['src', 'https://resources.whatwg.org/tracking-vector.svg',
'alt', '(This is a tracking vector.)',
'width', '46',
'height', '64'])]);
(Node.ParentNode as TElement).ReplaceChild(TempElement, Node);
Expand Down

0 comments on commit b92b9f0

Please sign in to comment.