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
from sys import argv | |
import requests | |
import json | |
import os | |
import itertools | |
endpoint_url = "https://ssl.seiga.nicovideo.jp" | |
OUT_DIR = "out" | |
# endpoint + "/api/v1/comicwalker/episodes/" + episode_id + "/frames" |
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
/***** Niconico Mylist Search ブックマークレット ***** | |
ニコニコ動画のマイリストをインクリメンタルサーチします。 | |
@auther : moroya http://moroya.hatenablog.jp/ | |
@license: MIT License | |
*/ | |
(function($){ | |
if(location.href.indexOf('www.nicovideo.jp/my/mylist') === -1) { | |
if(window.confirm('このページはニコニコ動画の\nマイリストページではありません\nマイリストページへジャンプしますか?')) { | |
location.href="http://www.nicovideo.jp/my/mylist"; |
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
_ |
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
var timer; | |
var originalValue = lib.getScrollTop(); | |
var alteration = lib.getPos(dom).y; | |
var currentTime = 0; | |
var duration = 50; | |
var interval = 25; | |
function action(){ | |
window.scrollTo( 0, tween.quad.easeInOut(originalValue,alteration,currentTime,duration); |
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
<?xml version="1.0"?> | |
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"> | |
<ShortName>Duck Duck Go + Google Suggest</ShortName> | |
<Description>Duck Duck Go + Google Suggest</Description> | |
<Image height="16" width="16" type="image/x-icon">http://duckduckgo.com/favicon.ico</Image> | |
<Url type="text/html" method="get" template="http://duckduckgo.com/?q={searchTerms}"/> | |
<Url type="application/x-suggestions+json" template="http://google.com/complete/search?output=firefox&q={searchTerms}&hl=da"/> | |
<Url rel="suggestions" type="application/x-suggestions+xml" template="http://google.com/complete/search?q={searchTerms}&client=ie8&mw={ie:maxWidth}&sh={ie:sectionHeight}&rh={ie:rowHeight}&inputencoding={inputEncoding}&outputencoding={outputEncoding}&hl=da" /> | |
</OpenSearchDescription> |
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
/* | |
* This work is free. You can redistribute it and/or modify it under the | |
* terms of the Do What The Fuck You Want To Public License, Version 2, | |
* as published by Sam Hocevar. See the COPYING file for more details. | |
*/ | |
/* | |
* Easing Functions - inspired from http://gizma.com/easing/ | |
* only considering the t value for the range [0, 1] => [0, 1] | |
*/ | |
EasingFunctions = { |
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() { | |
window.addEventListener('DOMContentLoaded', setScrollBar, false); | |
window.addEventListener('load', setScrollBar, false); | |
function setScrollBar(ev) { | |
window.removeEventListener('DOMContentLoaded', setScrollBar, false); | |
window.removeEventListener('load', setScrollBar, false); | |
var root = document.compatMode === 'BackCompat' ? document.body : document.documentElement; |