cdevroe
cdevroe

🔙🟩

Stupid 117 1/1/2

|
Embed
Progress spinner
sod
sod

@cdevroe Nice that was fun! 👏 I needed to use backspace once and learned that 1Blocker's "block widgets" feature hides the share button. I was a bit confused at first because it really felt like there should be one there... However, it appeared when reloading the page without the ad blocker.

Of course, it's just 1Blocker doing what it says on the tin. But maybe good for you to know should players reach out about a missing button. 😊

|
Embed
Progress spinner
cdevroe
cdevroe

@sod Thank you for letting me know. My guess is because that button is "injected" into the page with JavaScript. I can make an adjustment there. I'll see if I can have that done for tomorrow's game.

Thanks again. And thanks for playing!

|
Embed
Progress spinner
cdevroe
cdevroe

@sod I've made an adjustment that should fix this for tomorrow's game. The game will update itself on your device. :)

|
Embed
Progress spinner
sod
sod

@cdevroe I've already played tomorrow's game. 🤭 Still no share button, but I guess you haven't deployed the changes just jet?

|
Embed
Progress spinner
cdevroe
cdevroe

@sod First, how did you play tomorrow's game? :-)

Yes, I did deploy the update. The share button part of the HTML on page load now, rather than being put into the UI after the game is over. I thought that was what was tripping up the ad blocker.

Any ideas? Or, try hard refreshing?

|
Embed
Progress spinner
sod
sod

@cdevroe Like this todayNumber = dayOfTheYear(new Date) + 1. 👻

1Blocker's widget blocker hides a lot of elements based on their identifiers and class names. Like .twitterArea, .js_social_facebook, and, unfortunately, #share_button.

|
Embed
Progress spinner
cdevroe
cdevroe

@sod Nice.

I shall change the name of the button to sod_button.

|
Embed
Progress spinner
sod
sod

@cdevroe 😂 Haha, you don't have to. The number of players affected by this should be relatively small.

|
Embed
Progress spinner
In reply to
cdevroe
cdevroe

@sod no no Sven. I have to.

|
Embed
Progress spinner
sod
sod

@cdevroe Oh, you shouldn't have, but thank you! 🥰 Works like a charm now:

🟩

Stupid 118 1/0/2

|
Embed
Progress spinner
cdevroe
cdevroe

@sod 🙌 sod_button ftw

|
Embed
Progress spinner