This is a follow-up question (see this question too for another follow-up question).
From the accepted answer, when I try to add note [not sure what the proper terminology is] to the citation (as in \cite[page 0]{mybibitem}), I observe that the note appears twice (see minimal working example below):
\documentclass{beamer}
\usepackage[style=numeric,citecounter=true,citetracker=true]{biblatex}
\usepackage{filecontents}
\begin{filecontents*}{myreferences.bib}
@online{bad,
author = {{Bad Man}},
year = {1313},
title = {Bad Title},
url = {http://badurl.com/},
}
\end{filecontents*}
\addbibresource{myreferences.bib}
%https://tex.stackexchange.com/a/165016/38244
\hypersetup{
colorlinks,
citecolor=red,
linkcolor=blue,
% backref=true
}
\usepackage{algorithm}
\PassOptionsToPackage{noend}{algpseudocode}% comment out if want end's to show
\usepackage{algpseudocode}% http://ctan.org/pkg/algorithmicx
\usepackage{algorithmicx}
\let\svthefootnote\thefootnote
\makeatletter
% https://tex.stackexchange.com/a/29931/38244
\DeclareCiteCommand{\cite}
{\usebibmacro{prenote}}%
{%
\ifciteseen{}{%
\usebibmacro{citeindex}%
\let\thefootnote\relax%
\footnotetext{%
\blx@anchor
\mkbibbrackets{\usebibmacro{cite}}%
\setunit{\addnbspace}
\printnames{labelname}%
\setunit{\labelnamepunct}
\printfield[citetitle]{title}%
\newunit%
\printfield[]{year}%
}%
\let\thefootnote\svthefootnote%
}%
\autocite{\thefield{entrykey}}%
}
{\addsemicolon\space}
{\usebibmacro{postnote}}
\makeatother
\begin{document}
\begin{frame}{What I found}
First time, \cite[page 99]{bad}
\end{frame}
\begin{frame}{Again}
Next time, \cite[page 1]{bad} only
\end{frame}
\end{document}
Here are the screen-shots (see the duplication of the notes):

How can I get rid of the duplication?


yearfield from the bibliography? – hola Jun 07 '19 at 03:16bibfile, or you can dynamically delete this for all@onlineentries via\DeclareSourcemap{\maps[datatype=bibtex]{\map{\pertype{online}\step[fieldset=year,null]}}}– Andrew Swann Jun 07 '19 at 06:54\newunit%and\printfield[]{year}%? – hola Jun 07 '19 at 22:58