ClubDAM has a mobile app called デンモクmini ("Denmoku mini") which uses an undocumented API.
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
if(location.protocol.match('https:')){ | |
location.replace(location.href.replace('https:','http:')); | |
} |
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
import $ from 'jquery'; | |
const speed = 400; | |
$('a[href^="#"]').on('click', function(){ | |
const href = $(this).attr('href'); | |
const target = $( href == '#' || href == '' ? 'html' : href); | |
const position = target.offset().top; | |
$('body,html').animate({ | |
scrollTop: position | |
}, speed, 'swing'); | |
return false; |
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
[data-tooltip="削除"]{ | |
display:none !important; | |
} | |
[role="menu"] div:first-child div[role="menuitem"]:last-child{ | |
display:none !important; | |
} |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
$("#js-scrollBtn").on("click", function() { | |
$("html, body").stop().animate({ | |
scrollTop: $("#js-scrollTarget").offset().top + "px" | |
}, 500); | |
}); |
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
javascript: (function() { | |
javascript: (function(d, j, b, s) { | |
function r() { | |
setTimeout(function() { | |
(typeof jQuery == 'undefined') ? r(): b(jQuery) | |
}, 99) | |
}(j) ? b(jQuery): d.body.appendChild(d.createElement('script')).src = '//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js', r() | |
})(document, this.jQuery, function($) { | |
var ogurl = $("meta[property='og:url']").attr("content"); | |
var ogtitle = $("meta[property='og:title']").attr("content"); |
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 familyname = "もじれつ"; | |
/** | |
* 入力が許容された文字列かチェック | |
*/ | |
var oklist = []; | |
$.each( familyname.split(''), function( i, value ){ | |
var checked = inputValid( value ); | |
if( checked ){ |
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
<!--LINE ref検知--> | |
<script> | |
//URLの文字列を取得 | |
function getQueryString(){ | |
var result = {}; | |
if( 1 < window.location.search.length ){ | |
var query = window.location.search.substring( 1 ); | |
var parameters = query.split( '&' ); | |
for( var i = 0; i < parameters.length; i++ ){ | |
var element = parameters[ i ].split( '=' ); |
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
<?php | |
header("Content-type: application/x-javascript"); | |
header("Access-Control-Allow-Origin:*"); | |
$ip_address = $_SERVER['REMOTE_ADDR']; | |
echo "var ipAddress = '" . $ip_address . "';"; | |
?> |