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
| @namespace url(http://www.w3.org/1999/xhtml); | |
| @-moz-document domain("www.pixiv.net") { | |
| /*幅指定解除*/ | |
| #wrapper, | |
| .ui-layout-east, | |
| .contents-east, | |
| .two_column, | |
| .two_column_body, |
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
| findScrollable: function findScrollable(dir, horizontal) { | |
| let pos = "scrollTop", size = "clientHeight", max = "scrollHeight", layoutSize = "offsetHeight", | |
| overflow = "overflowX", border1 = "borderTopWidth", border2 = "borderBottomWidth"; | |
| if (horizontal) | |
| pos = "scrollLeft", size = "clientWidth", max = "scrollWidth", layoutSize = "offsetWidth", | |
| overflow = "overflowX", border1 = "borderLeftWidth", border2 = "borderRightWidth"; | |
| function find(elem) { | |
| for (; elem && elem.ownerDocument; elem = elem.parentNode) { | |
| let style = util.computedStyle(elem); |
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
| //http://code.google.com/p/vimperator-labs/source/browse/common/content/buffer.js?spec=svna58ba2909452326de623a7a978799a44dcf92150&r=ba0d0f68dea50aa115e0d7f27be19c95f1f6ac54#1058 | |
| //1058,1090 | |
| findScrollable: function findScrollable(dir, horizontal) { | |
| let pos = "scrollTop", size = "clientHeight", max = "scrollHeight", layoutSize = "offsetHeight", | |
| overflow = "overflowX", border1 = "borderTopWidth", border2 = "borderBottomWidth"; | |
| if (horizontal) | |
| pos = "scrollLeft", size = "clientWidth", max = "scrollWidth", layoutSize = "offsetWidth", | |
| overflow = "overflowX", border1 = "borderLeftWidth", border2 = "borderRightWidth"; | |
| function find(elem) { |
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
| <div style="width:100px;overflow:auto;"> | |
| <div style="width:200px;"> | |
| <a href="#">anchor</a> | |
| </div> | |
| </div> | |
| <div style="width:100px;overflow:auto;border-right:100px solid transparent;"> | |
| <div style="width:200px;"> | |
| <a href="#">anchor</a> | |
| </div> |
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
| diff -r bc3047f2e894 char-hints-mod2.js | |
| --- a/char-hints-mod2.js Fri May 21 23:26:09 2010 +0900 | |
| +++ b/char-hints-mod2.js Sat May 22 11:58:08 2010 +0900 | |
| @@ -71,6 +71,31 @@ | |
| //}}} | |
| (function () { | |
| + (function(){ | |
| + //override _showHints | |
| + const key = "Hints.prototype._showHints"; |
NewerOlder