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
InfiniScroll = | |
init: -> | |
return unless Conf['Infinite Scrolling'] and g.VIEW is 'index' and g.BOARD isnt 'f' | |
@threads = g.threads | |
$.on d, '4chanXInitFinished', @ready | |
ready: -> | |
$.off d, '4chanXInitFinished', InfiniScroll.ready |
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
InfiniScroll = | |
init: -> | |
return unless g.VIEW is 'index' and Conf['Infinite Scroll'] | |
@threads = g.threads | |
$.on d, '4chanXInitFinished', @ready | |
ready: -> | |
$.off d, '4chanXInitFinished', InfiniScroll.ready |
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
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
/* | |
_____________________________________________________________________________ | |
| | | | |
| Title: | Nightly Caek Mk.V by Zix | | |
|__________________|__________________________________________________________| | |
*/ | |
/* | |
scrollbar, scrollbar thumb { | |
-moz-appearance: none !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
// ==UserScript== | |
// @name appchan x | |
// @namespace zixaphir | |
// @version 1.2.0 | |
// @description Cross-browser userscript for maximum lurking on 4chan. | |
// @copyright 2013 Zixaphir <[email protected]> | |
// @copyright 2009-2011 James Campos <[email protected]> | |
// @copyright 2013 Nicolas Stepien <[email protected]> | |
// @license MIT; http://en.wikipedia.org/wiki/Mit_license | |
// @match *://*.4chan.org/* |
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
for i in [[email protected] - 1] | |
switch @value[i] | |
when '(' then depth++ | |
when ')' then depth-- | |
when '"' | |
if toggle1 then toggle1 = false | |
else then toggle1 = true | |
when '\'' | |
if toggle2 then toggle2 = false | |
else then toggle2 = true |
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
Config = | |
main: | |
Enhancing: | |
'Disable inline 4chan addon': [true, 'Avoid conflicts between 4chan X and 4chan\'s inline extension. <span class=disabledwarning><code>Style</code> is enabled. This option will be enabled regardless of this setting\'s value.</span>'] | |
'404 Redirect': [true, 'Redirect dead threads and images'] | |
'Keybinds': [true, 'Binds actions to keys'] | |
'Time Formatting': [true, 'Arbitrarily formatted timestamps, using your local time'] | |
'File Info Formatting': [true, 'Reformats the file information'] | |
'Comment Expansion': [true, 'Expand too long comments'] | |
'Thread Expansion': [true, 'View all replies'] |
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
ThemeTools = | |
init: (key) -> | |
editMode = true | |
unless newTheme | |
Style.addStyle userThemes[key] | |
if newTheme | |
editTheme = {} | |
editTheme["Theme"] = "Untitled" | |
editTheme["Author"] = "Author" | |
editTheme["Author Tripcode"] = "Unknown" |
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
$.on $('a.delete', div), 'click', -> | |
container = @.parentElement.parentElement | |
unless container.previousSibling or container.nextSibling | |
alert "Cannot delete theme (No other themes available)." | |
return | |
if container.id == Conf['theme'] | |
if settheme = container.previousSibling | |
$.addClass settheme, 'selectedtheme' | |
$.set 'theme', settheme.id | |
Conf['theme'] = settheme.id |
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
// ==UserScript== | |
// @name AppChan x | |
// @version 0.8beta | |
// @namespace zixaphir | |
// @description Adds various features and stylings. | |
// @copyright 4chan x - 2009-2011 James Campos <[email protected]> | |
// @copyright 4chan x - 2012 Nicolas Stepien <[email protected]> | |
// @copyright Appchan x - 2012 Zixaphir <[email protected]> | |
// @license MIT; http://en.wikipedia.org/wiki/Mit_license | |
// @include http://boards.4chan.org/* |
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
// ==UserScript== | |
// @name AppChan x | |
// @version 0.8beta | |
// @namespace zixaphir | |
// @description Adds various features and stylings. | |
// @copyright 4chan x - 2009-2011 James Campos <[email protected]> | |
// @copyright 4chan x - 2012 Nicolas Stepien <[email protected]> | |
// @copyright Appchan x - 2012 Zixaphir <[email protected]> | |
// @license MIT; http://en.wikipedia.org/wiki/Mit_license | |
// @include http://boards.4chan.org/* |
NewerOlder