This file contains 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
javascript:(function(){for(var b='',c=document.getElementsByTagName('link'),a=c.length;a--;)'shortlink'==c[a].rel&&(b=c[a].href);-1!=location.href.indexOf('//www.youtube.com/watch?')&&(b=location.href.replace(/.*youtube\.com\/watch\?v=(.*)\&(.*)/,'https://youtu.be/$1?$2'));if(-1!=location.href.indexOf('//www.pixiv.net/member.php?id='))for(c=document.getElementsByTagName('input'),a=c.length;a--;)if(/http\:\/\/pixiv\.me\/.*/.test(c[a].value)){b=''==b?c[a].value:b;break}if(-1!=location.href.indexOf('//www.pixiv.net/member_illust.php?'))for(var c= document.getElementsByTagName('link'),a=c.length,d=0<document.getElementsByTagName('html')[0].lang.length?document.getElementsByTagName('html')[0].lang:'';a--;)if('en'==c[a].hreflang){b=''==b?c[a].href.replace(/www(\.pixiv\.com)/,d+'$1'):b;break}if(-1!=location.href.indexOf('//dic.nicovideo.jp'))for(c=document.getElementsByTagName('a'),a=c.length;a--;)if(/.*\/id\/(\d+)/.test(c[a].href)){b=''==b?c[a].href.replace(/.*\/id\/(\d+)/,'http://nico.ms/dic/$1'):b;break}d=(''==b? |
This file contains 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
javascript: (function() { | |
var hide_markdown_url = 1; | |
var save_to_trello = 1; | |
var no_qa = 1; | |
var default_short = 1; | |
var nico_short_domain = 'nico\.ms'; | |
var is_can_uselocalStorage = 0; | |
try { | |
is_can_uselocalStorage = 'localStorage' in window && window['localStorage'] !== null | |
} catch (e) { |
This file contains 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
//重點是下面這行 | |
// true = 是手機,false 就是其他可能(電腦等等的) | |
/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent); | |
//------------------------------------------------------------------------------------------------------- | |
// 用法:直接單獨寫在 if 等等裡面的條件使用即可 | |
/* |
This file contains 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
javascript:for(var a=0,b="",c=document.getElementsByTagName("link"),d=c.length;d--;)"shortlink"==c[d].rel&&(b=c[d].href);-1!=location.href.indexOf("//www.youtube.com/watch?")&&(b=location.href.replace(/.*youtube\.com\/watch\?v=(.*)\&(.*)/,"https://youtu.be/$1?$2"));if(-1!=location.href.indexOf("//www.pixiv.net/member.php?id="))for(c=document.getElementsByTagName("input"),d=c.length;d--;)if(/http\:\/\/pixiv\.me\/.*/.test(c[d].value)){b=""==b?c[d].value:b;break} if(-1!=location.href.indexOf("//www.pixiv.net/member_illust.php?"))for(var c=document.getElementsByTagName("link"),d=c.length,e=0<document.getElementsByTagName("html")[0].lang.length?document.getElementsByTagName("html")[0].lang:"";d--;)if("en"==c[d].hreflang){b=""==b?c[d].href.replace(/www(\.pixiv\.com)/,e+"$1"):b;break} if(-1!=location.href.indexOf("//dic.nicovideo.jp"))for(c=document.getElementsByTagName("a"),d=c.length;d--;)if(/.*\/id\/(\d+)/.test(c[d].href)){b=""==b?c[d].href.replace(/.*\/id\/(\d+)/,"http://nico.ms/dic/$1"):b;break} var f=(""==b?lo |
This file contains 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
//2016.10.21 判別 theme-color https://blog.gtwang.org/web-development/android-chrome-browser-theme-color-support/ | |
function get_theme_color(){ | |
var get_color = ''; | |
var x = document.getElementsByTagName('meta'); | |
var i = x.length; | |
while (i--) { | |
if (x[i].name == 'theme\-color') { | |
get_color = x[i].content; | |
return get_color; | |
} |
This file contains 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
/* https://www.gradient-animator.com/ */ | |
background: linear-gradient(136deg, #b43c0f, #903e07, #725808, #5d5f0d, #729618, #7aa11b, #276b18, #19692d, #0e9862, #0c7d52, #0c687d, #0c227d, #0f0c7d, #360c7d, #4a0c7d, #5e0c7d, #720c7d, #7d0c65, #7d0c47, #7d0c24); | |
background-size: 4000% 4000%; | |
-webkit-animation: AnimationName 16s ease infinite; | |
-moz-animation: AnimationName 16s ease infinite; | |
-o-animation: AnimationName 16s ease infinite; | |
animation: AnimationName 16s ease infinite; | |
@-webkit-keyframes AnimationName { | |
0%{background-position:0% 45%} |
This file contains 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
/* https://www.gradient-animator.com */ | |
background: linear-gradient(180deg, #ea0b0b, #ea520b, #d7c005, #52a82a, #289d27, #2ab793, #28949f, #2a97b7, #2a97b7, #2a46b7, #402ab7, #5f2ab7, #782ab7, #912ab7, #b02ab7, #b72a93, #b72a6d, #b72a48, #b72a2a); | |
background-size: 3800% 3800%; | |
-webkit-animation: AnimationName 60s ease 2s infinite; | |
-moz-animation: AnimationName 60s ease 2s infinite; | |
-o-animation: AnimationName 60s ease 2s infinite; | |
animation: AnimationName 60s ease 2s infinite; | |
@-webkit-keyframes AnimationName { | |
0%{background-position:0% 97%} |
This file contains 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
background: linear-gradient(180deg, #ea0b0b, #ea520b, #d7c005, #52a82a, #289d27, #2ab793, #28949f, #2a97b7, #2a97b7, #2a46b7, #402ab7, #5f2ab7, #782ab7, #912ab7, #b02ab7, #b72a93, #b72a6d, #b72a48, #b72a2a); | |
background-size: 3800% 3800%; | |
-webkit-animation: AnimationName 53s ease infinite; | |
-moz-animation: AnimationName 53s ease infinite; | |
-o-animation: AnimationName 53s ease infinite; | |
animation: AnimationName 53s ease infinite; | |
@-webkit-keyframes AnimationName { | |
0%{background-position:0% 78%} | |
50%{background-position:100% 23%} | |
100%{background-position:0% 78%} |
This file contains 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 fs = require('fs'), | |
http = require('http'), | |
https = require('https'), | |
express = require('express'), | |
bodyParser = require('body-parser'), | |
request = require('request'), | |
crypto = require('crypto'), | |
FBToken = '', | |
port = 443, | |
options = { |
OlderNewer