Created
January 29, 2015 09:09
-
-
Save mescoda/678d51951c768dadda2c to your computer and use it in GitHub Desktop.
zhihu-position.user.js
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 zhihu-position | |
// @namespace zhihu-position | |
// @version 0.1 | |
// @author Mescoda on http://mescoda.com/ | |
// @description zhihu position | |
// @include http://www.zhihu.com/* | |
// @grant GM_xmlhttpRequest | |
// ==/UserScript== | |
document.addEventListener('DOMContentLoaded', function () { | |
document.querySelector('.zu-top').style.position = 'static'; | |
document.querySelector('body').style.paddingTop = 0; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment