Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@
<div class="text" id="message"></div>
</div>
</div>
<div class="center">
English Translation:
</div>
<div class="center">
<div class="text" id="messageEnglish"></div>
</div>
<div class="center">
<button class="button center" id="buttonTextReload">
<img class="reload-button reload-button__small" src="reload-white.svg" alt="Realod">
Expand Down
16 changes: 9 additions & 7 deletions html/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
const messages = [
'Уважаемые россияне, ваши СМИ подвергаются цензуре. Кремль лжет. Узнайте правду об Украине в бесплатном Интернете и в приложении Telegram. Время свергнуть диктатора Путина!',
'Кремль лжет!Война Путина принесла катастрофу народу России!В банках нет денег,нет топлива,все иностранные компании ушли из страны,а Путин прячется в своем дворце в Геленджике!',
'На Украине погибло больше сынов Русского Народа, чем в Афганистане! Война Путина уничтожит Россию! Топлива нет, денег в банках нет. Путин уничтожает Россию! Кремль лжет!',
'В Украине погибло более 10 000 сынов Русского Народа. Кремль лжет! Путин спрятался в своем дворце в Геленджике, но денег в банках нет, топлива нет, Россия обанкротилась. Вставай!',
'Ваши СМИ подвергаются цензуре. Кремль лжет. Ищите правду о войне в Украине в TOR: https://www.bbcnewsd73hkzno2ini43t4gblxvycyac5aw4gnv7t2rccijh7745uqd.onion/russian или используйте приложение Psiphon.'
['Уважаемые россияне, ваши СМИ подвергаются цензуре. Кремль лжет. Узнайте правду об Украине в бесплатном Интернете и в приложении Telegram. Время свергнуть диктатора Путина!','Dear Russians, your media are subject to censorship. The Kremlin is lying. Find out the truth about Ukraine on the free Internet and in the Telegram application. Time to overthrow dictator Putin!'],
['Кремль лжет!Война Путина принесла катастрофу народу России!В банках нет денег,нет топлива,все иностранные компании ушли из страны,а Путин прячется в своем дворце в Геленджике!',"The Kremlin is lying!Putin's war has brought disaster to the people of Russia!There is no money in the banks, there is no fuel, all foreign companies have left the country, and Putin is hiding in his palace in Gelendzhik!"],
['На Украине погибло больше сынов Русского Народа, чем в Афганистане! Война Путина уничтожит Россию! Топлива нет, денег в банках нет. Путин уничтожает Россию! Кремль лжет!',"More sons of the Russian People died in Ukraine than in Afghanistan! Putin's war will destroy Russia! There is no fuel, there is no money in the banks. Putin is destroying Russia! The Kremlin is lying!"],
['В Украине погибло более 10 000 сынов Русского Народа. Кремль лжет! Путин спрятался в своем дворце в Геленджике, но денег в банках нет, топлива нет, Россия обанкротилась. Вставай!',"More than 10,000 sons of the Russian People died in Ukraine. The Kremlin is lying! Putin hid in his palace in Gelendzhik, but there is no money in the banks, there is no fuel, Russia has gone bankrupt. Get up!"],
['Ваши СМИ подвергаются цензуре. Кремль лжет. Ищите правду о войне в Украине в TOR: https://www.bbcnewsd73hkzno2ini43t4gblxvycyac5aw4gnv7t2rccijh7745uqd.onion/russian или используйте приложение Psiphon.', "Your media is censored. The Kremlin is lying. Look for the truth about the war in Ukraine in TOR: https://www.bbcnewsd73hkzno2ini43t4gblxvycyac5aw4gnv7t2rccijh7745uqd.onion/russian or use the Psiphon app."]
]
let messageIndex = 0;
let currentMsg = '';
Expand Down Expand Up @@ -37,7 +37,7 @@ function setMessage()
const phoneNumberField = document.getElementById("phoneNumber");
phoneNumberField.innerText = '+' + phoneNum;
let queryChar = iOS() ? '&' : '?';
let smshref = "sms:" + '+' + phoneNum + queryChar + "body=" + encodeURI(currentMsg);
let smshref = "sms:" + '+' + phoneNum + queryChar + "body=" + encodeURI(currentMsg[0]);
phoneNumberField.href = smshref;
const sendButton = document.getElementById("buttonSend");
sendButton.href = smshref;
Expand All @@ -52,7 +52,9 @@ function drawText() {
currentMsg = messages[messageIndex == messages.length ? getDefaultIndex() : messageIndex];
messageIndex++;
const messageField = document.getElementById("message");
messageField.innerText = currentMsg;
const messageEnglishField = document.getElementById("messageEnglish");
messageField.innerText = currentMsg[0];
messageEnglishField.innerText = currentMsg[1];
setMessage()
}

Expand Down