Guest User

Untitled

a guest
Aug 11th, 2023
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.80 KB | None | 0 0
  1. Убрать сложные тексты из режима Обычный!
  2.  
  3. ё ё ё ё!!! у меня появилось ПРЕДЛОЖЕНИЕ! а что если вам как и мне забить болтяру на плохие тексты на КГ а катать только удобные! оооууу! Я так делаю уже 24 года ТУТ!
  4.  
  5. С помощью GPT 3.0 я создал два скрипта с половиной и они будут просто вам выдавать приятные тексты! ЭТО БУДУЩЕЕ МАФАКА!
  6.  
  7. Для начала небольшая демонстрация без музыки и спецэффектов!! :
  8. [url="https://youtu.be/39zA9OQ1Hu4"]https://youtu.be/39zA9OQ1Hu4[/url]
  9.  
  10. [u]Визуальная часть[/u]
  11. [img]https://i.ibb.co/x1Y7QWK/image.png[/img]
  12.  
  13. Суть!
  14. 1) Нужно два разных браузера
  15. 2) Устанавливаем Tampermonkey
  16. 3) в Tampermonkey устанавливаем ТРИ СКРИПТА!
  17.  
  18. [b]Первый[/b]:
  19.  
  20. [code]
  21. // ==UserScript==
  22. // @name good_race
  23. // @namespace http://tampermonkey.net/
  24. // @version 0.1
  25. // @description try to take over the world!
  26. // @author You
  27. // @match https://klavogonki.ru/gamelist*
  28. // @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
  29. // @grant none
  30. // ==/UserScript==
  31.  
  32. (function() {
  33. 'use strict';
  34.  
  35. window.addEventListener('load', () => { addButton('GOOD RACE!', selectReadFn)})
  36.  
  37. function addButton(text, onclick, cssObj) {
  38. cssObj = cssObj || {position: 'relative', width: '100px', bottom: '10%', top: '2%', left:'-15%', 'z-index': 1}
  39. let button = document.createElement('button'), btnStyle = button.style
  40. document.body.appendChild(button)
  41. button.innerHTML = text
  42. button.onclick = onclick
  43. return button
  44. }
  45.  
  46. function selectReadFn() {
  47. location.href = 'https://klavogonki.ru/create/?gametype=normal&type=private&level_from=1&level_to=9&timeout=5&submit=1';
  48. }
  49.  
  50. })();
  51. [/code]
  52.  
  53. [b]Второй[/b]:
  54. [code]
  55. // ==UserScript==
  56. // @name show zaezi chatlogs
  57. // @namespace http://tampermonkey.net/
  58. // @version 0.1
  59. // @description try to take over the world!
  60. // @author You
  61. // @match https://klavogonki.ru/g/*
  62. // @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
  63. // @grant none
  64. // ==/UserScript==
  65.  
  66.  
  67.  
  68. (function() {
  69. 'use strict';
  70.  
  71. setInterval(function(){
  72.  
  73. var iks = document.getElementsByClassName('rc')[3];
  74. var prog = iks.textContent;
  75. var pars = prog.match(/\d+/g);
  76. var z = Number(pars[0]);
  77. var x= Number(pars[1]);
  78. var url = window.location.href;
  79.  
  80.  
  81.  
  82. var NewGame = 'https://klavogonki.ru/create/?gametype=normal&type=private&level_from=1&level_to=9&timeout=5&submit=1';
  83.  
  84. if (z ==0|| z ==2 ||z ==1 ||z ==3) {
  85.  
  86.  
  87. console.log(url,'OK', z,x);
  88.  
  89.  
  90.  
  91. document.location.href = NewGame;
  92.  
  93. }
  94.  
  95. else {document.location.href = NewGame;}
  96.  
  97.  
  98. },900);
  99.  
  100. })();
  101. [/code]
  102.  
  103. [b]Третий[/b] (Это официальный скрипт отображающий сложность текста) :
  104. [code]
  105. // ==UserScript==
  106. // @name prognoz
  107. // @namespace http://tampermonkey.net/
  108. // @version 0.1
  109. // @description try to take over the world!
  110. // @author You
  111. // @match https://klavogonki.ru/g/*
  112. // @icon https://www.google.com/s2/favicons?sz=64&domain=klavogonki.ru
  113. // @grant none
  114. // ==/UserScript==
  115.  
  116. function embed() {
  117. var COMPLEXITY_TEXT = [
  118. "СУПЕР РЕКОРДНЫЙ ТЕКСТ", // < 1
  119. "РЕКОРДНЫЙ ТЕКСТ", // < 2
  120. "очень лёгкий текст", // < 3
  121. "лёгкий текст", // < 4
  122. "нормальный текст", // < 5
  123. "нормальный текст", // < 6
  124. "текст сложней нормального",// < 7
  125. "сложноватый текст", // < 8
  126. "сложный текст", // < 9
  127. "очень сложный текст", // < 10
  128. "очень сложный текст", // < 11
  129. "крайне сложный текст", // < 12
  130. "крайне сложный текст", // < 13
  131. "мега сложный текст", // < 14
  132. "мега сложный текст", // < 15
  133. "текст - жесть", // < 16
  134. "текст - жесть", // < 17
  135. "запредельная сложность" // < 18
  136. ];
  137.  
  138. // 2 letters combinations for the Russian language, ordered by their frequency. Only the first 791 most common combinations are included.
  139. // The rest will get the worst coefficient.
  140. var SYLLABLES = "тостнанопонеконираеналроовголипркаосерреотволаолтатьонваореллоеттеомодзавеилриатдеанлеогесдальитактиемасмеойсяныдообскмо" +
  141. "инчежесеамазтрмикиависвиедбысоманнимарсьчтслегнурутвбовыдииевсизейивикпеокэтхооеадожчабемушеспаяихияудкрочсидневчиляылкузнсапаты" +
  142. "дуульншиутнящежитсеесвыйрыопозекмнидаетуусичглужлуятлсвнийыеымезгабребтныхиражмыжадруюьсснлюпиечгднтбугрииахрярнабжнаюссучачьквл" +
  143. "ньумчноиугапывцеплщизвбиепгиешсмашблсуцишазджддвошбактврукицагайртежпуялупклдлвуурытоязолытккенсубещысянушвшдыувцаютишиггуйсшьох" +
  144. "хатяехядндчуьшзирьшкющибшлбягеясдьнквзземязыьюзуямзмрврмышиюкндснцухщайнявлнунбнюдркрсьефилкиоецпырдсычкущллржсрдяацзрзгузфоиаюб" +
  145. "счргязлжеоксвягнижшнджьяащвтоойтвкзлипдкящощхнуефебщхишовдтлыршувпзяоюсдчьыбьмжуфаршмлпяхрмпквяхнгцоофяецыбсынхвсхеяыкищаивьдцоц" +
  146. "якфрйднчьзрхыпычйчауафзбючмсюсяжзкэлпньтбъяюсюрлцущунюхулгеювмдттдеарюнщзьхлуабкмкгкэнчшдпеиыдэкъеыгтчйкммррячрплчъятттпштеуяржк" +
  147. "ягжоьцуйэрьбптоупппкоэйшефифрчрбмьсшяяюрхерцлднрызлткцсбдммбчоймбхпьддцвфлфущнжчьгзжнфтмюньчэмьдьицкпсдшйокжуятцйцтюхмсцйлуивввч" +
  148. "бвдчяцмряйхсэйдхщьюзаоккрзябыжмгсэтбсфюкбмвхюмнзмчэсмэжьчлбьяпьфлпффрэжбюлдбэдвцнвгчуэвгиулбяилмхтюцдздгшвоаюжьврфсжэвкэнжьодюсг" +
  149. "съмцююдъэпрщлздэыягвюшббэфюглвчргсфтаэкззсггшпуфтщйруошмжсззпчмвтхфыюхгтзъааяшбюбдэгуцйеншбжгмлэыцкшйзхэмфнбвщжрфстэлштъпцбшзтжл" +
  150. "иэнхйвшрыщьщжжтгкмжгйфтшэхзчтфвънлыивблхсзнэйбйабэлфэшхшьпэзюпкгжмпшбтзцйгчвгэмтйхбзмюйяэбтзфьзюшцюйфюйпкпмъюабцпюхьювкхгбщрхъвэ" +
  151. "пэчмзшмзбчууфнцзкдлщчжхгфэыумщгюфгкюгшжюшюбгнъщоцлццфммхюикъкбцнпбнмцмйикьнплъюепфъюдфлрьхцсмшкчххюфьркфжтмдвжзэцрхкфчгхсщюэшсцд" +
  152. "ччхчгпфбеэхдшээямжжэяугзшхвюйщфяжцээйюгфпвхпэожвчэтжцп";
  153.  
  154. // Complexity weight for each character. Russian letters and special characters use different formulas, so even if you
  155. // see the same weights for some Russian letter and some special character, they will contribute different final weights.
  156. var CHAR_WEIGHTS = {
  157. "а": 105, "б": 142, "в": 119, "г": 140, "д": 125, "е": 105, "ж": 153, "з": 142, "и": 107, "й": 150,
  158. "к": 122, "л": 117, "м": 122, "н": 108, "о": 100, "п": 126, "р": 118, "с": 115, "т": 110, "у": 127,
  159. "ф": 155, "х": 157, "ц": 175, "ч": 145, "ш": 160, "щ": 180, "ъ": 200, "ы": 140, "ь": 137, "э": 183,
  160. "ю": 167, "я": 135, "\n": 0.3, " ": 0.3, ".": 2.0, ",": 2.5, "!": 4.0, "?": 3.0, ":": 4.0, ";": 4.5,
  161. "\"": 7.0, "«": 5.0, "»": 5.0, "'": 9.0, "_": 8.0, "%": 8.0, "—": 5.0, "–": 5.0, "-": 5.0, "(": 5.0,
  162. ")": 5.0, "*": 7.0, "=": 7.0, "+": 7.0, "№": 5.0, "#": 9.0, "$": 9.0, "&": 9.0, "/": 9.0, "\\": 10.0,
  163. "|": 10.0, "<": 11.0, ">": 11.0, "@": 11.0, "[": 11.0, "]": 11.0, "^": 11.0, "~": 11.0, "`": 11.0, "{": 11.0,
  164. "}": 11.0, "0": 5.0, "1": 5.0, "2": 5.0, "3": 5.0, "4": 5.0, "5": 5.0, "6": 5.0, "7": 5.0, "8": 5.0,
  165. "9": 5.0
  166. };
  167.  
  168. // Spectrum canvas settings
  169. var CANVAS_HEIGHT = 12;
  170. var CANVAS_OPACITY = 0.65;
  171.  
  172. // This is the upper threshold for the spectrum complexity. Everything up will be pure red.
  173. var MAX_SPECTRUM_COMPLEXITY = 310;
  174.  
  175. // This is the bottom threshold for the spectrum complexity. Everything down will be pure green.
  176. var MIN_SPECTRUM_COMPLEXITY = 120;
  177.  
  178. var SPECTRUM_COMPLEXITY_RANGE = MAX_SPECTRUM_COMPLEXITY - MIN_SPECTRUM_COMPLEXITY;
  179.  
  180. // If character is not found, then it will be treated as a special character with the given weight
  181. var UNKNOWN_CHAR_WEIGHT = 15.0;
  182.  
  183. // All Russian letters, with the exception of the first one, in the word will get such default weight
  184. var DEFAULT_LETTER_WEIGHT = 100;
  185.  
  186. // Characters for Russian language.
  187. var ALPHABETICAL_CHARACTERS = "абвгдеёжзийклмнопрстуфхцчшщъыьэюя";
  188.  
  189. // If letter is a capital, we add such a number to its weight
  190. var CAPITAL_WEIGHT = 200.0;
  191.  
  192. // If the some word has number of capitals more than this value, then we stop apply CAPITAL_COEF, because user will likely use Caps key
  193. var CAPS_LENGTH = 4;
  194.  
  195. // If character is not part of Russian letters, we multiply weight by this number
  196. var SPECIAL_CHARACTER_COEF = 200.0;
  197.  
  198. // Whole word's weight will get coefficient multiplied depending on its size. Longer words are harder to type.
  199. // If a word has only a single letter, then it will take longer to type it, because it doesn't have keys combination
  200. // with other letters.
  201. var WORD_LENGTH_COEF = [2.0, 1.0, 1.0, 1.0, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 2.0];
  202.  
  203. // Dictionary with 2 letters combinations and their frequency orders. We use associative array for search, because it is much faster (if it is hot),
  204. // than other approaches: String#indexOf, RegExp, Array#indexOf.
  205. var dictionary = {};
  206.  
  207. // A flag for preventing clone panel creation:
  208. var initialized = false;
  209.  
  210. // Saving the original prototype method:
  211. var proxied = window.XMLHttpRequest.prototype.send;
  212.  
  213. window.XMLHttpRequest.prototype.send = function () {
  214. this.addEventListener('load', function () {
  215. try {
  216. var json = JSON.parse(this.responseText);
  217. if ('text' in json) {
  218. createPanel(json.text.text);
  219. }
  220. } catch (e) {}
  221. }.bind(this));
  222. return proxied.apply(this, [].slice.call(arguments));
  223. };
  224.  
  225. function createPanel (text) {
  226. if (initialized) {
  227. return false;
  228. }
  229.  
  230. initialized = true;
  231. prepareDictionary();
  232.  
  233. var complexityObject = getComplexity(text);
  234. var complexity = complexityObject.complexity.toFixed(2);
  235.  
  236.  
  237.  
  238. //console.log(getComplexity(text));
  239. //console.log(text);
  240.  
  241.  
  242.  
  243. var params = document.getElementById("params");
  244. if (params) {
  245. // We use wrapper only as a workaround to support KTS custom styles.
  246. // KTS changes panel style by ID. We use "statistics" ID, which is also used by another panel.
  247. // HTML 5 allows duplicate IDs. They just need to be in different subtrees. I don't like
  248. // such approach, but I fear it's the only way for now, unless we ask KTS developer to
  249. // include some lines into img/apply.js file.
  250. var wrapper = document.createElement("div");
  251. wrapper.id = "complexity-panel";
  252.  
  253. var elem = document.createElement("div");
  254. elem.style.setProperty("background", "none repeat scroll 0 0 #F8F4E6", null);
  255. elem.style.setProperty("margin-top", "10px", null);
  256. elem.style.setProperty("margin-bottom", "10px", null);
  257. elem.id = "statistics";
  258.  
  259. wrapper.appendChild(elem);
  260. params.parentNode.insertBefore(wrapper, params.nextSibling);
  261.  
  262. elem.innerHTML = '<div class="r tl" title="v1.4"><div class="tr"><div class="bl"><div class="br"><div class="rc">' +
  263. '<h4>Прогноз сложности</h4>' +
  264.  
  265. '<div><span style="font-size:17px;font-weight:bold;color:#333">' + (complexity >= 0 ? complexity.slice(0, -3) : '') + '</span>' +
  266. '<span style="font-size:14px;font-weight:bold;color:#666">' + (complexity >= 0 ? '.' + complexity.slice(-2) : 'N/A')+ '</span>' +
  267. '&nbsp;?&nbsp;' + (complexity >= 0 ? getComplexityText(complexity) : 'неприменимо к данному заезду') +
  268.  
  269. '</div><div style="margin:10px 0 4px;background-color:white"id="spectrumCanvas"/>' +
  270. '</div></div></div></div></div>';
  271.  
  272. // Add spectrum canvas to the panel
  273. if (complexity >= 0) {
  274. var spectrum = complexityObject.spectrum;
  275. smoothArray(spectrum, 10);
  276.  
  277. var canvasDiv = document.getElementById("spectrumCanvas");
  278.  
  279. var canvasElem = getSpectrumCanvas(spectrum, canvasDiv.clientWidth, CANVAS_HEIGHT);
  280. if (canvasElem != null) {
  281. canvasDiv.appendChild(canvasElem);
  282. }
  283. }
  284. }
  285. }
  286.  
  287. function prepareDictionary() {
  288. for (var i = 0; i < SYLLABLES.length; i += 2) {
  289. dictionary[SYLLABLES.substr(i, 2)] = i / 2;
  290. }
  291. }
  292.  
  293. function getWordLengthCoef(length) {
  294. return WORD_LENGTH_COEF[(length < WORD_LENGTH_COEF.length) ? length - 1 : WORD_LENGTH_COEF.length - 1];
  295. }
  296.  
  297. function getComplexityText(complexity) {
  298. var position = Math.floor(complexity);
  299. return COMPLEXITY_TEXT[(position < COMPLEXITY_TEXT.length) ? position : COMPLEXITY_TEXT.length - 1];
  300. }
  301.  
  302. // Return string complexity and its spectrum. Return -1 for the complexity, if it can't be applied to the string.
  303. function getComplexity(str) {
  304. var complexity = 0.0;
  305. var wordLength = 0;
  306. var wordComplexity = 0;
  307. var capsLength = 0;
  308. var prevChar = "";
  309. var unknownCharNum = 0;
  310. var spectrum = [];
  311. var pos = 0;
  312. var wordComplexityPerCharacter, j;
  313.  
  314. // Replace all "ё" occurrences to "е".
  315. str = str.split("ё").join("е");
  316.  
  317. for (var i = 0; i < str.length; i++) {
  318. var char = str.charAt(i);
  319. var charLowerCase = char.toLowerCase();
  320. var weight;
  321.  
  322. if (ALPHABETICAL_CHARACTERS.indexOf(charLowerCase) != -1) {
  323. // Alphabetical character
  324. wordLength++;
  325.  
  326. if (wordLength === 1) {
  327. // First letter in a word will get weight depending on its frequency
  328. weight = CHAR_WEIGHTS[charLowerCase];
  329. } else {
  330. // All the following letters in the word will get default weight. Their final weight will depend on the letters combination frequency.
  331. weight = DEFAULT_LETTER_WEIGHT;
  332. }
  333.  
  334. // All letters in the word, starting from the second, will apply coefficient depending on the 2 letters frequency
  335. if (wordLength > 1) {
  336. var n = dictionary[prevChar + charLowerCase];
  337. if (n == null) {
  338. n = -3.75; // This is minimum value, which can be achieved by the following formula
  339. }
  340.  
  341. // Such formula returns 2 letters frequency in the decimal logarithmic scale, e.g. "0" - most common, "-1",
  342. // if frequency is 10 times less. Formula is a polynomial interpolation based on the experimental selection.
  343. var syllableDifficulty = -7e-9 * Math.pow(n, 3) + 7e-6 * Math.pow(n, 2) - 0.0059 * n;
  344.  
  345. // Increase weight based on the difficulty
  346. weight *= Math.pow(1 - syllableDifficulty, 1.3);
  347. }
  348.  
  349. // Capitals are harder to type
  350. var isLowerCase = char === charLowerCase;
  351. if (!isLowerCase) {
  352. capsLength++;
  353.  
  354. if (capsLength < CAPS_LENGTH) {
  355. weight += CAPITAL_WEIGHT;
  356. }
  357. } else {
  358. capsLength = 0;
  359. }
  360.  
  361. wordComplexity += weight;
  362. prevChar = charLowerCase;
  363.  
  364. } else {
  365. // Special character (not part of Russian letters)
  366.  
  367. // If we reached the end of the word, we need to calculate final word's weight depending on its length
  368. if (wordLength > 0) {
  369. wordComplexity *= getWordLengthCoef(wordLength);
  370. complexity += wordComplexity;
  371. wordComplexityPerCharacter = wordComplexity / wordLength;
  372.  
  373. for(j = 0; j < wordLength; j++) {
  374. spectrum[pos++] = wordComplexityPerCharacter;
  375. }
  376. }
  377.  
  378. wordComplexity = 0;
  379. capsLength = 0;
  380. wordLength = 0;
  381.  
  382. weight = CHAR_WEIGHTS[charLowerCase];
  383. if (weight == null) {
  384. weight = UNKNOWN_CHAR_WEIGHT;
  385. unknownCharNum++;
  386. }
  387.  
  388. weight *= SPECIAL_CHARACTER_COEF;
  389. complexity += weight;
  390.  
  391. spectrum[pos++] = weight;
  392. }
  393. }
  394.  
  395. // If text doesn't finish with the special character, we need to add last word's weight
  396. if (wordLength > 0) {
  397. wordComplexity *= getWordLengthCoef(wordLength);
  398. complexity += wordComplexity;
  399.  
  400. wordComplexityPerCharacter = wordComplexity / wordLength;
  401.  
  402. for(j = 0; j < wordLength; j++) {
  403. spectrum[pos++] = wordComplexityPerCharacter;
  404. }
  405. }
  406.  
  407. // Complexity is per character
  408. if (str.length > 0) {
  409. complexity /= str.length;
  410. } else {
  411. return {complexity: 0, spectrum: spectrum};
  412. }
  413.  
  414. // if number of unknown characters is more than 10%, then complexity value is inconsistent
  415. if (unknownCharNum / str.length > 0.1) {
  416. return {complexity: -1, spectrum: spectrum};
  417. }
  418.  
  419. // Divide by theoretical complexity minimum in order to start our reference frame for complexity from 1
  420. complexity /= 160;
  421. if (complexity < 1) {
  422. complexity = 1;
  423. }
  424.  
  425. complexity -= 1;
  426. complexity *= 20; // Scale complexity to readable values, so ~10 is close to usual hard complexity
  427.  
  428. return {
  429. complexity: complexity,
  430. spectrum: spectrum
  431. };
  432. }
  433.  
  434. // Function smooths (blurs) 1D array using flat convolution buffer. Algorithm complexity is O(N + power).
  435. function smoothArray(array, power) {
  436. var smoothedValue = 0;
  437. var fractions = [];
  438. var coef = 2 * power + 1;
  439.  
  440. for (var i = 0; i < array.length + power; i++) {
  441. if (i >= coef) {
  442. smoothedValue -= fractions[i % coef];
  443. }
  444.  
  445. if (i < array.length) {
  446. var value = array[i];
  447. smoothedValue += value;
  448. fractions[i % coef] = value;
  449. }
  450.  
  451. if (i >= power) {
  452. var factor;
  453.  
  454. if (i < array.length) {
  455. factor = Math.min(i + 1, coef);
  456. } else {
  457. factor = coef + array.length - i - 1;
  458. }
  459.  
  460. array[i - power] = smoothedValue / factor;
  461. }
  462. }
  463. }
  464.  
  465. // Function returns canvas with the given width and height. We paint spectrum on the canvas using values in the array.
  466. // Lowest values will be green. Middle will be yellow. Highest will be red.
  467. function getSpectrumCanvas(array, width, height) {
  468. var canvas = document.createElement('canvas');
  469. if (!canvas || !canvas.getContext) {
  470. // We are very sorry for our dinosaurs. God bless them.
  471. return null;
  472. }
  473.  
  474. canvas.setAttribute('width', width);
  475. canvas.setAttribute('height', height);
  476. if(typeof G_vmlCanvasManager != 'undefined') {
  477. canvas = G_vmlCanvasManager.initElement(canvas);
  478. }
  479.  
  480. var ctx = canvas.getContext("2d");
  481. // Too opaque spectrum burns eyes
  482. ctx.globalAlpha = CANVAS_OPACITY;
  483. // We need to scale to the given canvas width
  484. ctx.scale(width / array.length, 1);
  485.  
  486. var r, g;
  487. for (var i = 0; i < array.length; i++) {
  488. // Apply the thresholds
  489. var value = Math.min(Math.max(array[i], MIN_SPECTRUM_COMPLEXITY), MAX_SPECTRUM_COMPLEXITY);
  490.  
  491. // Scale complexity to 0 - 255 range
  492. var complexity = Math.floor(255 * (value - MIN_SPECTRUM_COMPLEXITY) / SPECTRUM_COMPLEXITY_RANGE);
  493.  
  494. // Calculate red and green components. Blue will be always 0.
  495. r = Math.min(complexity * 2, 255);
  496. g = Math.min(2 * (255 - complexity), 255);
  497.  
  498. // Paint vertical line
  499. ctx.strokeStyle="rgb(" + r + "," + g + ",0)";
  500. ctx.beginPath();
  501. ctx.moveTo(i, 0);
  502. ctx.lineTo(i, height);
  503. ctx.stroke();
  504. }
  505.  
  506. return canvas;
  507. }
  508. }
  509.  
  510. var inject = document.createElement("script");
  511. inject.setAttribute("type", "text/javascript");
  512. inject.appendChild(document.createTextNode("(" + embed + ")()"));
  513. document.body.appendChild(inject);
  514. [/code]
  515.  
  516. Теперь нужен еще один акаунт для БОТА, который и будет осуществлять поиск текста и показывать его в консоли для ВАС.
  517.  
  518. Итак заходим в новый акаунт (для бота) далее заходим в список заездов и нажимаем кнопку GOOD RACE! появившуюся снизу! Теперь заходим в Консоль браузера и выставляем две настройки: Сохранение журнала и фильтр по слову - ok
  519.  
  520. [img]https://i.ibb.co/FX9jbyf/1.png[/img]
  521.  
  522. Вот и делов-то, прошло примерно три с половиной дня, а ты уже разобрался! Ох молодец!
  523.  
  524. В скрипте номер ДВА можно выставлять настройки поиска сложности текста это происходит в строке
  525. if (z ==0|| z ==2 ||z ==1 ||z ==3) если например эту строку поменять на if (z ==0 ||z ==1 ) то в консоли будут отображаться только тексты с сложностью 0 и 1. Но рекомендую именно делать сложность 0, 1, 2, 3 чтобы было из чего выбирать и не всем удобны тексты с низкой сложностью из за коротких слов и пробелов частых.
  526.  
  527. Если вдруг кто то хочет! за данное решение всех проблем на клавогонках! задонатить мне миллиарды денег, то можете обратиться к моему помошнику Даниэлю! Он мне обязательно всё передаст!
  528.  
  529.  
  530.  
  531.  
Add Comment
Please, Sign In to add comment