diff options
author | cloudflarevirus <cloudflarevirus@noreply.codeberg.org> | 2019-08-25 02:44:07 +0200 |
---|---|---|
committer | cloudflarevirus <cloudflarevirus@noreply.codeberg.org> | 2019-08-25 02:44:07 +0200 |
commit | 620e9a461eeaaf86f9879b02fad4283426432d66 (patch) | |
tree | 58ef05d4b533100d4ab921663bbbb2143c6d52c9 /addon_chrome | |
parent | fc8c80051a88b0346acb5fc05e01271ee80acafa (diff) | |
download | cloudflare-tor-620e9a461eeaaf86f9879b02fad4283426432d66.tar cloudflare-tor-620e9a461eeaaf86f9879b02fad4283426432d66.tar.gz cloudflare-tor-620e9a461eeaaf86f9879b02fad4283426432d66.tar.lz cloudflare-tor-620e9a461eeaaf86f9879b02fad4283426432d66.tar.xz cloudflare-tor-620e9a461eeaaf86f9879b02fad4283426432d66.zip |
Delete 'addon_chrome/bcma/mydata.js'
Diffstat (limited to 'addon_chrome')
-rw-r--r-- | addon_chrome/bcma/mydata.js | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/addon_chrome/bcma/mydata.js b/addon_chrome/bcma/mydata.js deleted file mode 100644 index f24514d6..00000000 --- a/addon_chrome/bcma/mydata.js +++ /dev/null @@ -1,72 +0,0 @@ -document.addEventListener('DOMContentLoaded', function () { - chrome.runtime.sendMessage(['cf'], function (r) { - if (r[0] == 'ok') { - document.getElementById('t').value = JSON.parse(r[1]).join("\n"); - document.getElementById('g').value = JSON.parse(r[2]).join("\n"); - switch (r[3]) { - case 0: - document.getElementById('ta0').checked = true; - document.getElementById('ta1').checked = false; - document.getElementById('ta2').checked = false; - document.getElementById('ta3').checked = false; - break; - case 1: - document.getElementById('ta0').checked = false; - document.getElementById('ta1').checked = true; - document.getElementById('ta2').checked = false; - document.getElementById('ta3').checked = false; - break; - case 3: - document.getElementById('ta0').checked = false; - document.getElementById('ta1').checked = false; - document.getElementById('ta2').checked = false; - document.getElementById('ta3').checked = true; - break; - case 2: - default: - document.getElementById('ta0').checked = false; - document.getElementById('ta1').checked = false; - document.getElementById('ta2').checked = true; - document.getElementById('ta3').checked = false; - break; - } - document.body.style.display = 'block'; - document.addEventListener('contextmenu', function (z) { - if (z.target.tagName != 'TEXTAREA') { - z.preventDefault(); - } - }); - } - }); -}); - -document.getElementById('exp').style.display = 'none'; - -document.getElementById('clr').addEventListener('click', function () { - chrome.runtime.sendMessage(['erosman'], function (r) { - document.getElementById('t').value = ''; - }); -}); -document.getElementById('ta0').addEventListener('click', function () { - if (this.checked) { - chrome.runtime.sendMessage(['ta', '0']); - } -}); -document.getElementById('ta1').addEventListener('click', function () { - if (this.checked) { - chrome.runtime.sendMessage(['ta', '1']); - } -}); -document.getElementById('ta2').addEventListener('click', function () { - if (this.checked) { - chrome.runtime.sendMessage(['ta', '2']); - } -}); -document.getElementById('ta3').addEventListener('click', function () { - if (this.checked) { - chrome.runtime.sendMessage(['ta', '3']); - } -}); -document.getElementById('ign').addEventListener('click', function () { - chrome.runtime.sendMessage(['ig', document.getElementById('g').value.split("\n")]); -});
\ No newline at end of file |