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
document.querySelectorAll('a.still-image').forEach(e=>{e.children[0].src=e.href}) | |
document.querySelectorAll('div.attachments, div.gallery-row, div.attachment.image, a.still-image, a.still-image > img').forEach(e=>{e.style='max-height: unset; display: unset;'}) | |
document.querySelector('nav').style='transform-origin: top left; transform: scale(1,0.25)' | |
document.querySelector('.timeline-container').style='width:100% !important' |
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
setInterval(()=>{ | |
let increase = 500 | |
let maxHeight = '800px' | |
let div4 = ' > div'.repeat(4) | |
let select = document.querySelector.bind(document) | |
let selectAll = document.querySelectorAll.bind(document) | |
let getBounds = el => el.parentElement.parentElement.getBoundingClientRect() | |
let reactCSS = Array.from(select('#react-native-stylesheet').sheet.rules) | |
reactCSS.forEach(r => { | |
if (r.style) { |
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
$('#form').on('submit', function ( event ) { | |
event.preventDefault() | |
const input = $('.input-lg.shindanuser')[0] | |
const name = input.value | |
input.value = Math.random() | |
const fd = new FormData($('#form')[0]) | |
const xhr = new XMLHttpRequest() | |
xhr.open('POST', location) |