- External styles in the DOM (
<link rel="stylesheet" href="style.css">). - Internal styles in the DOM (
<style>). - Inline styles in HTML elements (
<div style="color: red;">). - External styles in CSS area (
@import).
- User styles with
!important.
<link rel="stylesheet" href="style.css">).<style>).<div style="color: red;">).@import).!important.| var GitUtils = require('git-utils'); | |
| var repo = GitUtils.open(atom.project.getPaths()[0]); | |
| console.log(repo.getStatus()); |
| // ==UserScript== | |
| // @name test @grant GM_* | |
| // @namespace https://github.com/jerone/UserScripts | |
| // @include https://github.com/* | |
| // @version 1 | |
| // @grant GM_setValue | |
| // ==/UserScript== | |
| unsafeWindow.$(document).on("pjax:end", exportFunction(function() { | |
| console.log('test @grant GM_* 1'); |
| { | |
| "webexe_settings": { | |
| "linux-x32": false, | |
| "windows-x64": true, | |
| "download_dir": "C:\\\\Users\\\\jerone\\\\Desktop\\\\Web2ExeWin\\\\files\\\\downloads", | |
| "nw_compression_level": 5, | |
| "mac-x32": false, | |
| "windows-x32": false, | |
| "mac-x64": false, | |
| "nw_version": "0.12.0-rc1", |
| //$.fn.markdown.defaults.buttons[0][2].data[2] | |
| var cmdBold, cmdItalic, cmdCode; | |
| $.fn.markdown.defaults.buttons[0].forEach(function(group) { | |
| group.data.forEach(function(button) { | |
| if (button.name === 'cmdBold') cmdBold = button; | |
| else if (button.name === 'cmdItalic') cmdItalic = button; | |
| else if (button.name === 'cmdCode') cmdCode = button; | |
| }); | |
| }); | |
| // Override `cmdCode` button; |
| // ==UserScript== | |
| // @name Horizon TV issue | |
| // @namespace https://github.com/jerone/UserScripts/ | |
| // @include *horizon.tv* | |
| // @version 1 | |
| // @grant none | |
| // ==/UserScript== | |
| (function HorizonTVFixer() { |
| html { | |
| -ms-text-size-adjust: 100%; | |
| -webkit-text-size-adjust: 100%; | |
| font-family: sans-serif; | |
| } | |
| body { | |
| margin: 0; | |
| padding: 30px; | |
| min-width: 1020px; |
| // ==UserScript== | |
| // @name Hide replies on Twitter user account | |
| // @namespace http://userscripts.org/scripts/show/163703 | |
| // @description Hide replies on Twitter user account | |
| // @include *//twitter.com/* | |
| // @exclude *//twitter.com/ | |
| // @exclude *//twitter.com | |
| // @version 4 | |
| // @grant none | |
| // ==/UserScript== |
| $(document).on('pjax:start', function() { | |
| $(this).find('[data-pjax-container]').fadeOut(); | |
| }).on('pjax:end', function() { | |
| $(this).find('[data-pjax-container]').fadeIn(); | |
| }); |