This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function r(o, max) { // o - родительский объект для поиска, max - максимальный уровень рекурсии. | |
if (max > 0 && typeof o == 'object' && o != null) { | |
if (typeof o.cls != 'undefined') // вместо cls пишем свойство, которое хотим найти. | |
console.log(o); | |
else | |
for (i in o) | |
r(o[i], max - 1); | |
} | |
else console.log('end'); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @id linkshighlight@vkopt | |
// @name Links Highlight for VkOpt | |
// @version 1.1 | |
// @namespace https://greasyfork.org/users/23 | |
// @author Pmmlabs@github | |
// @description Плагин для VkOpt, подсвечивающий некоторые неподсвечиваемые ссылки | |
// @include *vk.com* | |
// @run-at document-end | |
// @noframes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @id font@vkopt | |
// @name Font for VkOpt | |
// @version 1.0 | |
// @namespace https://greasyfork.org/users/23 | |
// @author Pmmlabs@github | |
// @description Плагин для VkOpt, добавляющий возможность форматирования текста в диалогах (жирный,курсив,зачеркнутый) | |
// @include *vk.com* | |
// @run-at document-end | |
// @noframes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @id wallsearch@vkopt | |
// @name Wall Search by UID for VkOpt | |
// @version 1.0 | |
// @namespace https://greasyfork.org/users/23 | |
// @author Pmmlabs@github | |
// @description Плагин для VkOpt, ищущий по стене посты и комменты заданного пользователя | |
// @include *vk.com* | |
// @run-at document-end | |
// @noframes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# http://hlive.mbco.ru/live/280/2016-1-26_11:2:30/34.dat | |
# http://hlive.mbco.ru/live/280/2016-1-26_11:2:30/z14507/start.dat # bytes 0-3: int, number of start file (starting with 0) | |
CHANNEL=280 | |
PATH_BASE="hlive.mbco.ru/live/$CHANNEL" | |
DATE="2015-1-26" # date in YYYY-M-D format | |
rm all | |
for i in {10..11} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @id exactsearch@vkopt | |
// @name Точный поиск для VkOpt | |
// @version 1.0 | |
// @namespace https://greasyfork.org/users/23 | |
// @author Pmmlabs@github | |
// @description Плагин для VkOpt, добавляющий функцию точного поиска по аудиозаписям | |
// @include *vk.com* | |
// @run-at document-end | |
// @noframes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @id allEmoji@vkopt | |
// @name Все смайлики Emoji для VkOpt | |
// @version 1.0 | |
// @namespace https://greasyfork.org/users/23 | |
// @author Pmmlabs@github | |
// @description Плагин для VkOpt, добавляющий в окно смайликов все возможные смайлики | |
// @include *vk.com* | |
// @run-at document-end | |
// @noframes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cur.pinnedVideo = '-460389_160321403'; | |
cur.pinnedVideoInitHandlers = function() { | |
var post = ge('post-34371983_6'); | |
var playerEl = ge('video_player') || ge('html5_player'); | |
if (post && playerEl && isAncestor(playerEl, post)) { | |
addEvent(window, 'scroll', cur.pinnedVideoScrollHandler); | |
cur.destroy.push(cur.pinnedVideoDestroyHandlers); | |
cur.pinnedVideoScrollHandler(); | |
} | |
delete cur.pinnedVideoInitHandlers; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/source/vk_main.js b/source/vk_main.js | |
index 3c3d0f3..6342e47 100644 | |
--- a/source/vk_main.js | |
+++ b/source/vk_main.js | |
@@ -691,6 +691,9 @@ vk_features={ | |
if (getSet(95)=='y'){ | |
Inj.Replace('Emoji.addEmoji','Emoji.cssEmoji[code][1]','(Emoji.cssEmoji[code]?Emoji.cssEmoji[code][1]:Emoji.codeToChr(code))'); | |
} | |
+ Inj.Replace('Emoji.emojiReplace','i == 2','i % 2 == 0'); | |
+ Inj.Replace('Emoji.emojiReplace','charAt(0)','charAt(i-2)'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<meta charset="UTF-8"/> | |
<script type="text/javascript" src="src/mad.js"></script> | |
<script type="text/javascript" src="src/rq_table.js"></script> | |
<script type="text/javascript" src="src/imdct_s.js"></script> | |
<script type="text/javascript" src="src/huffman.js"></script> | |
<script type="text/javascript" src="src/bit.js"></script> | |
<script type="text/javascript" src="src/stream.js"></script> | |
<script type="text/javascript" src="src/layer3.js"></script> |
OlderNewer