Skip to content

Commit 99e3e1b

Browse files
committed
Dont show extension banner
1 parent 4ce3332 commit 99e3e1b

File tree

3 files changed

+1
-12
lines changed

3 files changed

+1
-12
lines changed

src/website/index.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,6 @@ function parseLocationQuery() {
4949
}
5050
}
5151

52-
function pickEbookOrExtensionBanner() {
53-
if ((isChrome() || isFirefox()) && Math.random() >= 0.5) {
54-
extensionSection.style.display = "block";
55-
} else {
56-
ebookSection.style.display = "block";
57-
}
58-
}
59-
6052
// Initialization
6153
setupNavbar();
6254
setupExtensionButton();
@@ -66,5 +58,4 @@ setupTokenEditor();
6658
parseLocationQuery();
6759
setupHighlighting();
6860
setupJwtCounter();
69-
pickEbookOrExtensionBanner();
7061
setupShareJwtButton(shareJwtButton, shareJwtTextElement);

views/website/ebook.pug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ section.container
33
p
44
strong Get the JWT Handbook for free!
55
|  Download it now and get up-to-speed faster.
6-
a.btn.btn-download-ebook(href='https://auth0.com/resources/ebooks/jwt-handbook?utm_source=jwtio&utm_medium=%3Cspan%20class="x x-first x-last">variation&utm_campaign=gc_jwt_test_10_2019', target='_blank') Download Ebook
6+
a.btn.btn-download-ebook(href='https://auth0.com/resources/ebooks/jwt-handbook?utm_source=jwtio&utm_medium=%3Cspan%20class="x x-first x-last">main_gc_banner&utm_campaign=gc_jwt_test_10_2019', target='_blank') Download Ebook

views/website/index.pug

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ block content
3939
p JWT.IO allows you to decode, verify and generate JWT.
4040

4141
a.btn.btn-lg(href="/introduction") Learn more about jwt
42-
43-
include extension.pug
4442

4543
include ebook.pug
4644

0 commit comments

Comments
 (0)