From d3ecc12c4de1b3c98d0215dbe8d2321e97d80f58 Mon Sep 17 00:00:00 2001 From: James Campos Date: Sat, 25 Jun 2011 10:36:09 -0700 Subject: [PATCH] use NAMESPACE --- script.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script.coffee b/script.coffee index e49a86ede..127453c67 100644 --- a/script.coffee +++ b/script.coffee @@ -1129,7 +1129,7 @@ qr = [_, thread, id] = c.textContent.match(/thread:(\d+),no:(\d+)/) if thread is '0' window.location = "http://boards.4chan.org/#{g.BOARD}/res/#{id}#watch" - else if /AEOS.4chan_x.auto_noko=true/.test d.cookie + else if d.cookie.indexOf("#{NAMESPACE}auto_noko") > -1 window.location = "http://boards.4chan.org/#{g.BOARD}/res/#{thread}##{id}" threading =