Created
January 27, 2016 12:09
-
-
Save imikay/26868a9d7af1940fe9d8 to your computer and use it in GitHub Desktop.
Tampermonkey script
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
// ==UserScript== | |
// @name New Userscript | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://app.meiqia.com/chat/* | |
// @grant none | |
// ==/UserScript== | |
/* jshint -W097 */ | |
'use strict'; | |
// Your code here... | |
var interval = setInterval(function () { | |
if (document.getElementsByClassName('info-panel').length) | |
{ | |
console.log('trying'); | |
clearInterval(interval); | |
document.getElementsByClassName('info-panel')[0].style.width = '400px'; | |
} | |
}, 1000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment