Consider the class of functions
$$X:=\{f\in \mathcal{C}_0^{\infty}(\mathbb{R})\;s.t.\;f\equiv 1 \mbox{ in a neighbourhood of}\;\;x=0\}$$
Is it true that, for every $\varepsilon > 0$, I can find $f\in X$ such that $\|f\|_{H^{1/2}(\mathbb{R})}<\varepsilon$?
For $s\in[0,1/2)$, it is easy to show that the analogous question has affirmative answer. Indeed, given $f\in X$ and $n>0$, define $f_n(x):=f(nx)$. Then $f_n\in X$, and $\|f_n\|_{H^{s}(\mathbb{R})}\to 0$ as $n\to +\infty$.
Instead, when $s>1/2$, the analogous question has negative answer. Indeed, by Sobolev embedding one has $$\|f\|_{H^s}\geqslant C\|f\|_{L^{\infty}}\geqslant C|f(0)|= C$$ for any $f\in X$.
In the critical case $s=1/2$ I think the answer is affirmative, but I'm not able to prove it. Thank you for any suggestion.