From e28116ee3ebe11a06bde90b33b1191b13cde6251 Mon Sep 17 00:00:00 2001 From: Jordan Bates Date: Mon, 13 May 2013 22:03:11 -0700 Subject: [PATCH] Dont add - Catalog to title, #69 Didn't work very well anyway. --- builds/4chan-X.js | 1 - builds/4chan-X.user.js | 1 - builds/crx/script.js | 1 - src/Miscellaneous/CatalogLinks.coffee | 1 - 4 files changed, 4 deletions(-) diff --git a/builds/4chan-X.js b/builds/4chan-X.js index 1f4530776..a2edb49c7 100644 --- a/builds/4chan-X.js +++ b/builds/4chan-X.js @@ -8073,7 +8073,6 @@ } else { a.pathname = "/" + board + "/" + path; } - a.title = useCatalog ? "" + a.title + " - Catalog" : a.title.replace(/\ -\ Catalog$/, ''); } return this.title = "Turn catalog links " + (useCatalog ? 'off' : 'on') + "."; }, diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index 2378eeaad..b74cd861c 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -8082,7 +8082,6 @@ } else { a.pathname = "/" + board + "/" + path; } - a.title = useCatalog ? "" + a.title + " - Catalog" : a.title.replace(/\ -\ Catalog$/, ''); } return this.title = "Turn catalog links " + (useCatalog ? 'off' : 'on') + "."; }, diff --git a/builds/crx/script.js b/builds/crx/script.js index e95cb5145..c9255cc53 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -8065,7 +8065,6 @@ } else { a.pathname = "/" + board + "/" + path; } - a.title = useCatalog ? "" + a.title + " - Catalog" : a.title.replace(/\ -\ Catalog$/, ''); } return this.title = "Turn catalog links " + (useCatalog ? 'off' : 'on') + "."; }, diff --git a/src/Miscellaneous/CatalogLinks.coffee b/src/Miscellaneous/CatalogLinks.coffee index 856cff7d5..b92983ce5 100644 --- a/src/Miscellaneous/CatalogLinks.coffee +++ b/src/Miscellaneous/CatalogLinks.coffee @@ -40,7 +40,6 @@ CatalogLinks = "//boards.4chan.org/#{board}/" else a.pathname = "/#{board}/#{path}" - a.title = if useCatalog then "#{a.title} - Catalog" else a.title.replace(/\ -\ Catalog$/, '') @title = "Turn catalog links #{if useCatalog then 'off' else 'on'}." external: (board) ->