What do you mean by "safe"? It's a search engine, it just returns you search results. If you are worried about JS/tracking... well, Google and others are already tracking you. I use Apple devices, so Apple knows everything about me as well. If you are worried about the links you may click when yandex returns you search results, there is nothing special about yandex, same rules apply as in the wild wild web: double check what you download (e.g., do not double click "rihanna-song1.mp3.exe" on Windows!)