4chan-x/src/Miscellaneous/Flash.coffee
2015-03-14 18:23:34 -07:00

8 lines
236 B
CoffeeScript

Flash =
init: ->
if g.BOARD.ID is 'f' and Conf['Enable Native Flash Embedding']
$.ready Flash.initReady
initReady: ->
$.globalEval 'if (JSON.parse(localStorage["4chan-settings"] || "{}").disableAll) SWFEmbed.init();'