4chan-x/src/globals.coffee
Nicolas Stepien 597f962e9f " -> '
2013-03-18 16:33:51 +01:00

15 lines
343 B
CoffeeScript

# Opera doesn't support the @match metadata key,
# return 4chan X here if we're not on 4chan.
return unless /^(boards|images|sys)\.4chan\.org$/.test location.hostname
Conf = {}
c = console
d = document
doc = d.documentElement
g =
VERSION: '<%= version %>'
NAMESPACE: '<%= meta.name %>.'
boards: {}
threads: {}
posts: {}