Skip to content

Instantly share code, notes, and snippets.

Avatar

yociya yociya

  • JAPAN
View GitHub Profile
View ganttchart-view.js
function GanttChartView(){
$('#sidebar').css('display','none');
$('#content').css('width','100%');
$($('#content > table td').get(0)).attr('id','title_area');
$($('#title_area > div').get(0)).attr('id','title_area_first_div');
$($('#title_area > div > div').get(0)).attr('id','title_area_div_hdr');
$($('#title_area > div > div').get(1)).attr('id','title_area_div_body');
var $fdix = $('#title_area_first_div');
var $hdrdix = $('#title_area_div_hdr');
var $bodydix = $('#title_area_div_body');
View slack-pin.js
function SlackPin(){
$('.pinned_message_text').css('max-height',1024);
$('.pinned_item .pinned_message_text .pin_truncate_fade').css('position','relative');
};
@yociya
yociya / amazon-history.js
Last active Mar 31, 2021
Amazonの注文履歴を年毎に集計して出力します 利用額 / 注文件数 / 最高額(1注文での) 使い方はコメントを参照
View amazon-history.js
var historyUrl = 'https://www.amazon.co.jp/gp/css/order-history?orderFilter=year-$year$&startIndex=$index$';
function beforeSendHook(xhr){
xhr.setRequestHeader('X-Requested-With'
, {
toString: function(){
return '';
}
}
);