You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by Vit Rozkovec <vi...@gmail.com> on 2019/01/22 08:46:34 UTC

Wicket site with adblocker @ MS Edge

HI,

please see this screenshot: 
https://screenshots.firefox.com/v4PQv7WIKAv1TiUA/null

This is how is the site visible when you browse it with adblock that 
blocks also some fonts.

Discovered when one my colleague who is learning Wicket and uses Windows 
wanted to show it to someone else, not a very good first impression :)

I think it would be good to have a default that displays ok even when 
fonts are blocked, what do you think?

Have a nice day
Vit


Re: Wicket site with adblocker @ MS Edge

Posted by Martin Grigorov <mg...@apache.org>.
I agree with Korbinian!
Windows users are saints! They decided themselves to spend their live in
suffering! (don't confuse with surfing!) :-)

On Fri, Jan 25, 2019 at 9:29 AM Korbinian Bachl <
korbinian.bachl@whiskyworld.de> wrote:

> Option 3:
> 1) wait for MS to apply the switch to the chromium engine (ditching the
> current edge engine completely - see:
> https://www.computerworld.com/article/3325333/web-browsers/with-move-to-rebuild-edge-atop-googles-chromium-microsoft-raises-white-flag-in-browser-war.html
> )
> 2) relax while doing 1)
>
> IMHO: this is an edge case affecting nearly nobody - since nearly nobody
> uses edge anyway. It was the worst browser from beginning since MS never
> put any real work in it and if anyone has a problem he can switch to FF or
> Chrome or maybe even the 1 user in 10 000 disable his plugins for the
> wicket page? Better put the time needed into work for wicket; In the end,
> next week a user of lynx will come and complain the the wicket page isnt as
> good as expected....
>
> my 2c;
>
>
> PS: I dont know any (!) developer using solely 1 browser anyway -
> especially since the developer tools in either IE or edge are such
> useless... Everytime I needed to fix a major IE or EDGE issue in the past
> it was horrible compared to such a task in FF or Chrome
>
> ----- Ursprüngliche Mail -----
> > Von: "Maxim Solodovnik" gmail.com>
> > An: dev@wicket.apache.org
> > Gesendet: Freitag, 25. Januar 2019 04:12:33
> > Betreff: Re: Wicket site with adblocker @ MS Edge
>
> > Hello @Devs,
> >
> > I was able to reproduce the issue, and I believe it can be fixed if we
> will
> > Option 0:
> > 1) provide PNG instead of SVG
> >
> > Option 1:
> > 1) check if embedded web font exist using JS
> > 2) if not will insert PNG image of SVG currently being used
> >
> > Option 2:
> > 1) modify SVG to have circle and crown only
> > 2) move text and web-font outside SVN to be regular DIV elements
> >
> > WDYT?
> >
> > On Tue, 22 Jan 2019 at 21:29, Vit Rozkovec <vi...@gmail.com>
> wrote:
> >
> >> So no extra configuration whatsoever.
> >>
> >> úterý 22. ledna 2019 Vit Rozkovec <vi...@gmail.com> napsal(a):
> >> > He had uBlock Original 1.15, configuration status unknown.
> >> >
> >> > Wouldn't simple svg fix that?
> >> >
> >> >
> >> > úterý 22. ledna 2019 Maxim Solodovnik gmail.com> napsal(a):
> >> >> @Vit, maybe you can share which AdBlocker have you used and how it
> was
> >> >> configured?
> >> >>
> >> >> On Tue, 22 Jan 2019 at 18:56, Martijn Dashorst <
> >> martijn.dashorst@gmail.com>
> >> >> wrote:
> >> >>
> >> >>> My guess is that if a web font from same origin is blocked,
> JavaScript
> >> >>> will fail as well.
> >> >>>
> >> >>> Martijn
> >> >>>
> >> >>> On Tue, Jan 22, 2019 at 12:25 PM Maxim Solodovnik <
> >> solomax666@gmail.com>
> >> >>> wrote:
> >> >>> >
> >> >>> > Maybe something like this
> >> >>> >
> >> >>> >
> >> >>>
> >>
> >>
> https://stackoverflow.com/questions/1271477/changing-body-font-size-based-on-font-family-with-jquery
> >> >>> >
> >> >>> > can be used?
> >> >>> >
> >> >>> > On Tue, 22 Jan 2019 at 17:27, Andrea Del Bene delbene@gmail.com>
> >> >>> wrote:
> >> >>> >
> >> >>> > > I've checked uBlock with Firefox and AdBlocker with Chrome, both
> >> with
> >> >>> > > default configs, and I see no problem. Obviously IE/Edge always
> >> >>> behaves in
> >> >>> > > its own, peculiar way :-).
> >> >>> > >
> >> >>> > > On Tue, Jan 22, 2019 at 11:12 AM Martijn Dashorst <
> >> >>> > > martijn.dashorst@gmail.com> wrote:
> >> >>> > >
> >> >>> > > > Well, we did everything well: the fonts are hosted at Apache,
> not
> >> >>> > > > loaded from external site that tracks their usage (looking at
> you
> >> >>> > > > fonts.google.com), the SVG even embeds the font file in a
> data
> >> uri.
> >> >>> If
> >> >>> > > > the adblocker then still blocks the font, what can we do?
> >> Introduce a
> >> >>> > > > 4MB PNG file? Or should the adblocker at least honor same
> domain
> >> >>> > > > requests for resources and not block data URI's?
> >> >>> > > >
> >> >>> > > > The font face used for the logo is narrow and there are no
> >> web-safe
> >> >>> > > > fonts that render correctly in this instance: I've tried with
> >> Arial
> >> >>> > > > Narrow and sans-serif as a fallback: the logo still looks
> badly
> >> >>> > > > broken.
> >> >>> > > >
> >> >>> > > > AFAIK we can't detect whether someone uses an adblocker that
> >> >>> > > > specifically blocks web fonts, serve them the 8GB binary
> images,
> >> and
> >> >>> > > > serve the rest of the world the 80kb SVG file.
> >> >>> > > >
> >> >>> > > > I understand the need for an adblocker, but when you use one
> >> >>> (wrongly)
> >> >>> > > > you are responsible for when shit breaks.
> >> >>> > > >
> >> >>> > > > Martijn
> >> >>> > > >
> >> >>> > > >
> >> >>> > > > On Tue, Jan 22, 2019 at 9:46 AM Vit Rozkovec <
> >> vit.rozkovec@gmail.com
> >> >>> >
> >> >>> > > > wrote:
> >> >>> > > > >
> >> >>> > > > > HI,
> >> >>> > > > >
> >> >>> > > > > please see this screenshot:
> >> >>> > > > > https://screenshots.firefox.com/v4PQv7WIKAv1TiUA/null
> >> >>> > > > >
> >> >>> > > > > This is how is the site visible when you browse it with
> adblock
> >> >>> that
> >> >>> > > > > blocks also some fonts.
> >> >>> > > > >
> >> >>> > > > > Discovered when one my colleague who is learning Wicket and
> >> uses
> >> >>> > > Windows
> >> >>> > > > > wanted to show it to someone else, not a very good first
> >> >>> impression :)
> >> >>> > > > >
> >> >>> > > > > I think it would be good to have a default that displays ok
> >> even
> >> >>> when
> >> >>> > > > > fonts are blocked, what do you think?
> >> >>> > > > >
> >> >>> > > > > Have a nice day
> >> >>> > > > > Vit
> >> >>> > > > >
> >> >>> > > >
> >> >>> > > >
> >> >>> > > > --
> >> >>> > > > Become a Wicket expert, learn from the best:
> >> >>> http://wicketinaction.com
> >> >>> > > >
> >> >>> > >
> >> >>> > >
> >> >>> > > --
> >> >>> > > Andrea Del Bene.
> >> >>> > > Apache Wicket committer.
> >> >>> > >
> >> >>> >
> >> >>> >
> >> >>> > --
> >> >>> > WBR
> >> >>> > Maxim aka solomax
> >> >>>
> >> >>>
> >> >>>
> >> >>> --
> >> >>> Become a Wicket expert, learn from the best:
> http://wicketinaction.com
> >> >>>
> >> >>
> >> >>
> >> >> --
> >> >> WBR
> >> >> Maxim aka solomax
> >> >>
> >>
> >
> >
> > --
> > WBR
> > Maxim aka solomax
>

Re: Wicket site with adblocker @ MS Edge

Posted by Maxim Solodovnik <so...@gmail.com>.
I'm afraid there are some cases where user have no choice: corporate
Windows machine with no ability to install alternative browser :(

On Fri, 25 Jan 2019 at 14:29, Korbinian Bachl <
korbinian.bachl@whiskyworld.de> wrote:

> Option 3:
> 1) wait for MS to apply the switch to the chromium engine (ditching the
> current edge engine completely - see:
> https://www.computerworld.com/article/3325333/web-browsers/with-move-to-rebuild-edge-atop-googles-chromium-microsoft-raises-white-flag-in-browser-war.html
> )
> 2) relax while doing 1)
>
> IMHO: this is an edge case affecting nearly nobody - since nearly nobody
> uses edge anyway. It was the worst browser from beginning since MS never
> put any real work in it and if anyone has a problem he can switch to FF or
> Chrome or maybe even the 1 user in 10 000 disable his plugins for the
> wicket page? Better put the time needed into work for wicket; In the end,
> next week a user of lynx will come and complain the the wicket page isnt as
> good as expected....
>
> my 2c;
>
>
> PS: I dont know any (!) developer using solely 1 browser anyway -
> especially since the developer tools in either IE or edge are such
> useless... Everytime I needed to fix a major IE or EDGE issue in the past
> it was horrible compared to such a task in FF or Chrome
>
> ----- Ursprüngliche Mail -----
> > Von: "Maxim Solodovnik" gmail.com>
> > An: dev@wicket.apache.org
> > Gesendet: Freitag, 25. Januar 2019 04:12:33
> > Betreff: Re: Wicket site with adblocker @ MS Edge
>
> > Hello @Devs,
> >
> > I was able to reproduce the issue, and I believe it can be fixed if we
> will
> > Option 0:
> > 1) provide PNG instead of SVG
> >
> > Option 1:
> > 1) check if embedded web font exist using JS
> > 2) if not will insert PNG image of SVG currently being used
> >
> > Option 2:
> > 1) modify SVG to have circle and crown only
> > 2) move text and web-font outside SVN to be regular DIV elements
> >
> > WDYT?
> >
> > On Tue, 22 Jan 2019 at 21:29, Vit Rozkovec <vi...@gmail.com>
> wrote:
> >
> >> So no extra configuration whatsoever.
> >>
> >> úterý 22. ledna 2019 Vit Rozkovec <vi...@gmail.com> napsal(a):
> >> > He had uBlock Original 1.15, configuration status unknown.
> >> >
> >> > Wouldn't simple svg fix that?
> >> >
> >> >
> >> > úterý 22. ledna 2019 Maxim Solodovnik gmail.com> napsal(a):
> >> >> @Vit, maybe you can share which AdBlocker have you used and how it
> was
> >> >> configured?
> >> >>
> >> >> On Tue, 22 Jan 2019 at 18:56, Martijn Dashorst <
> >> martijn.dashorst@gmail.com>
> >> >> wrote:
> >> >>
> >> >>> My guess is that if a web font from same origin is blocked,
> JavaScript
> >> >>> will fail as well.
> >> >>>
> >> >>> Martijn
> >> >>>
> >> >>> On Tue, Jan 22, 2019 at 12:25 PM Maxim Solodovnik <
> >> solomax666@gmail.com>
> >> >>> wrote:
> >> >>> >
> >> >>> > Maybe something like this
> >> >>> >
> >> >>> >
> >> >>>
> >>
> >>
> https://stackoverflow.com/questions/1271477/changing-body-font-size-based-on-font-family-with-jquery
> >> >>> >
> >> >>> > can be used?
> >> >>> >
> >> >>> > On Tue, 22 Jan 2019 at 17:27, Andrea Del Bene delbene@gmail.com>
> >> >>> wrote:
> >> >>> >
> >> >>> > > I've checked uBlock with Firefox and AdBlocker with Chrome, both
> >> with
> >> >>> > > default configs, and I see no problem. Obviously IE/Edge always
> >> >>> behaves in
> >> >>> > > its own, peculiar way :-).
> >> >>> > >
> >> >>> > > On Tue, Jan 22, 2019 at 11:12 AM Martijn Dashorst <
> >> >>> > > martijn.dashorst@gmail.com> wrote:
> >> >>> > >
> >> >>> > > > Well, we did everything well: the fonts are hosted at Apache,
> not
> >> >>> > > > loaded from external site that tracks their usage (looking at
> you
> >> >>> > > > fonts.google.com), the SVG even embeds the font file in a
> data
> >> uri.
> >> >>> If
> >> >>> > > > the adblocker then still blocks the font, what can we do?
> >> Introduce a
> >> >>> > > > 4MB PNG file? Or should the adblocker at least honor same
> domain
> >> >>> > > > requests for resources and not block data URI's?
> >> >>> > > >
> >> >>> > > > The font face used for the logo is narrow and there are no
> >> web-safe
> >> >>> > > > fonts that render correctly in this instance: I've tried with
> >> Arial
> >> >>> > > > Narrow and sans-serif as a fallback: the logo still looks
> badly
> >> >>> > > > broken.
> >> >>> > > >
> >> >>> > > > AFAIK we can't detect whether someone uses an adblocker that
> >> >>> > > > specifically blocks web fonts, serve them the 8GB binary
> images,
> >> and
> >> >>> > > > serve the rest of the world the 80kb SVG file.
> >> >>> > > >
> >> >>> > > > I understand the need for an adblocker, but when you use one
> >> >>> (wrongly)
> >> >>> > > > you are responsible for when shit breaks.
> >> >>> > > >
> >> >>> > > > Martijn
> >> >>> > > >
> >> >>> > > >
> >> >>> > > > On Tue, Jan 22, 2019 at 9:46 AM Vit Rozkovec <
> >> vit.rozkovec@gmail.com
> >> >>> >
> >> >>> > > > wrote:
> >> >>> > > > >
> >> >>> > > > > HI,
> >> >>> > > > >
> >> >>> > > > > please see this screenshot:
> >> >>> > > > > https://screenshots.firefox.com/v4PQv7WIKAv1TiUA/null
> >> >>> > > > >
> >> >>> > > > > This is how is the site visible when you browse it with
> adblock
> >> >>> that
> >> >>> > > > > blocks also some fonts.
> >> >>> > > > >
> >> >>> > > > > Discovered when one my colleague who is learning Wicket and
> >> uses
> >> >>> > > Windows
> >> >>> > > > > wanted to show it to someone else, not a very good first
> >> >>> impression :)
> >> >>> > > > >
> >> >>> > > > > I think it would be good to have a default that displays ok
> >> even
> >> >>> when
> >> >>> > > > > fonts are blocked, what do you think?
> >> >>> > > > >
> >> >>> > > > > Have a nice day
> >> >>> > > > > Vit
> >> >>> > > > >
> >> >>> > > >
> >> >>> > > >
> >> >>> > > > --
> >> >>> > > > Become a Wicket expert, learn from the best:
> >> >>> http://wicketinaction.com
> >> >>> > > >
> >> >>> > >
> >> >>> > >
> >> >>> > > --
> >> >>> > > Andrea Del Bene.
> >> >>> > > Apache Wicket committer.
> >> >>> > >
> >> >>> >
> >> >>> >
> >> >>> > --
> >> >>> > WBR
> >> >>> > Maxim aka solomax
> >> >>>
> >> >>>
> >> >>>
> >> >>> --
> >> >>> Become a Wicket expert, learn from the best:
> http://wicketinaction.com
> >> >>>
> >> >>
> >> >>
> >> >> --
> >> >> WBR
> >> >> Maxim aka solomax
> >> >>
> >>
> >
> >
> > --
> > WBR
> > Maxim aka solomax
>


-- 
WBR
Maxim aka solomax

Re: Wicket site with adblocker @ MS Edge

Posted by Korbinian Bachl <ko...@whiskyworld.de>.
Option 3:
1) wait for MS to apply the switch to the chromium engine (ditching the current edge engine completely - see: https://www.computerworld.com/article/3325333/web-browsers/with-move-to-rebuild-edge-atop-googles-chromium-microsoft-raises-white-flag-in-browser-war.html )
2) relax while doing 1)

IMHO: this is an edge case affecting nearly nobody - since nearly nobody uses edge anyway. It was the worst browser from beginning since MS never put any real work in it and if anyone has a problem he can switch to FF or Chrome or maybe even the 1 user in 10 000 disable his plugins for the wicket page? Better put the time needed into work for wicket; In the end, next week a user of lynx will come and complain the the wicket page isnt as good as expected.... 

my 2c;


PS: I dont know any (!) developer using solely 1 browser anyway - especially since the developer tools in either IE or edge are such useless... Everytime I needed to fix a major IE or EDGE issue in the past it was horrible compared to such a task in FF or Chrome

----- Ursprüngliche Mail -----
> Von: "Maxim Solodovnik" gmail.com>
> An: dev@wicket.apache.org
> Gesendet: Freitag, 25. Januar 2019 04:12:33
> Betreff: Re: Wicket site with adblocker @ MS Edge

> Hello @Devs,
> 
> I was able to reproduce the issue, and I believe it can be fixed if we will
> Option 0:
> 1) provide PNG instead of SVG
> 
> Option 1:
> 1) check if embedded web font exist using JS
> 2) if not will insert PNG image of SVG currently being used
> 
> Option 2:
> 1) modify SVG to have circle and crown only
> 2) move text and web-font outside SVN to be regular DIV elements
> 
> WDYT?
> 
> On Tue, 22 Jan 2019 at 21:29, Vit Rozkovec <vi...@gmail.com> wrote:
> 
>> So no extra configuration whatsoever.
>>
>> úterý 22. ledna 2019 Vit Rozkovec <vi...@gmail.com> napsal(a):
>> > He had uBlock Original 1.15, configuration status unknown.
>> >
>> > Wouldn't simple svg fix that?
>> >
>> >
>> > úterý 22. ledna 2019 Maxim Solodovnik gmail.com> napsal(a):
>> >> @Vit, maybe you can share which AdBlocker have you used and how it was
>> >> configured?
>> >>
>> >> On Tue, 22 Jan 2019 at 18:56, Martijn Dashorst <
>> martijn.dashorst@gmail.com>
>> >> wrote:
>> >>
>> >>> My guess is that if a web font from same origin is blocked, JavaScript
>> >>> will fail as well.
>> >>>
>> >>> Martijn
>> >>>
>> >>> On Tue, Jan 22, 2019 at 12:25 PM Maxim Solodovnik <
>> solomax666@gmail.com>
>> >>> wrote:
>> >>> >
>> >>> > Maybe something like this
>> >>> >
>> >>> >
>> >>>
>>
>> https://stackoverflow.com/questions/1271477/changing-body-font-size-based-on-font-family-with-jquery
>> >>> >
>> >>> > can be used?
>> >>> >
>> >>> > On Tue, 22 Jan 2019 at 17:27, Andrea Del Bene delbene@gmail.com>
>> >>> wrote:
>> >>> >
>> >>> > > I've checked uBlock with Firefox and AdBlocker with Chrome, both
>> with
>> >>> > > default configs, and I see no problem. Obviously IE/Edge always
>> >>> behaves in
>> >>> > > its own, peculiar way :-).
>> >>> > >
>> >>> > > On Tue, Jan 22, 2019 at 11:12 AM Martijn Dashorst <
>> >>> > > martijn.dashorst@gmail.com> wrote:
>> >>> > >
>> >>> > > > Well, we did everything well: the fonts are hosted at Apache, not
>> >>> > > > loaded from external site that tracks their usage (looking at you
>> >>> > > > fonts.google.com), the SVG even embeds the font file in a data
>> uri.
>> >>> If
>> >>> > > > the adblocker then still blocks the font, what can we do?
>> Introduce a
>> >>> > > > 4MB PNG file? Or should the adblocker at least honor same domain
>> >>> > > > requests for resources and not block data URI's?
>> >>> > > >
>> >>> > > > The font face used for the logo is narrow and there are no
>> web-safe
>> >>> > > > fonts that render correctly in this instance: I've tried with
>> Arial
>> >>> > > > Narrow and sans-serif as a fallback: the logo still looks badly
>> >>> > > > broken.
>> >>> > > >
>> >>> > > > AFAIK we can't detect whether someone uses an adblocker that
>> >>> > > > specifically blocks web fonts, serve them the 8GB binary images,
>> and
>> >>> > > > serve the rest of the world the 80kb SVG file.
>> >>> > > >
>> >>> > > > I understand the need for an adblocker, but when you use one
>> >>> (wrongly)
>> >>> > > > you are responsible for when shit breaks.
>> >>> > > >
>> >>> > > > Martijn
>> >>> > > >
>> >>> > > >
>> >>> > > > On Tue, Jan 22, 2019 at 9:46 AM Vit Rozkovec <
>> vit.rozkovec@gmail.com
>> >>> >
>> >>> > > > wrote:
>> >>> > > > >
>> >>> > > > > HI,
>> >>> > > > >
>> >>> > > > > please see this screenshot:
>> >>> > > > > https://screenshots.firefox.com/v4PQv7WIKAv1TiUA/null
>> >>> > > > >
>> >>> > > > > This is how is the site visible when you browse it with adblock
>> >>> that
>> >>> > > > > blocks also some fonts.
>> >>> > > > >
>> >>> > > > > Discovered when one my colleague who is learning Wicket and
>> uses
>> >>> > > Windows
>> >>> > > > > wanted to show it to someone else, not a very good first
>> >>> impression :)
>> >>> > > > >
>> >>> > > > > I think it would be good to have a default that displays ok
>> even
>> >>> when
>> >>> > > > > fonts are blocked, what do you think?
>> >>> > > > >
>> >>> > > > > Have a nice day
>> >>> > > > > Vit
>> >>> > > > >
>> >>> > > >
>> >>> > > >
>> >>> > > > --
>> >>> > > > Become a Wicket expert, learn from the best:
>> >>> http://wicketinaction.com
>> >>> > > >
>> >>> > >
>> >>> > >
>> >>> > > --
>> >>> > > Andrea Del Bene.
>> >>> > > Apache Wicket committer.
>> >>> > >
>> >>> >
>> >>> >
>> >>> > --
>> >>> > WBR
>> >>> > Maxim aka solomax
>> >>>
>> >>>
>> >>>
>> >>> --
>> >>> Become a Wicket expert, learn from the best: http://wicketinaction.com
>> >>>
>> >>
>> >>
>> >> --
>> >> WBR
>> >> Maxim aka solomax
>> >>
>>
> 
> 
> --
> WBR
> Maxim aka solomax

Re: Wicket site with adblocker @ MS Edge

Posted by Maxim Solodovnik <so...@gmail.com>.
Hello @Devs,

I was able to reproduce the issue, and I believe it can be fixed if we will
Option 0:
1) provide PNG instead of SVG

Option 1:
1) check if embedded web font exist using JS
2) if not will insert PNG image of SVG currently being used

Option 2:
1) modify SVG to have circle and crown only
2) move text and web-font outside SVN to be regular DIV elements

WDYT?

On Tue, 22 Jan 2019 at 21:29, Vit Rozkovec <vi...@gmail.com> wrote:

> So no extra configuration whatsoever.
>
> úterý 22. ledna 2019 Vit Rozkovec <vi...@gmail.com> napsal(a):
> > He had uBlock Original 1.15, configuration status unknown.
> >
> > Wouldn't simple svg fix that?
> >
> >
> > úterý 22. ledna 2019 Maxim Solodovnik <so...@gmail.com> napsal(a):
> >> @Vit, maybe you can share which AdBlocker have you used and how it was
> >> configured?
> >>
> >> On Tue, 22 Jan 2019 at 18:56, Martijn Dashorst <
> martijn.dashorst@gmail.com>
> >> wrote:
> >>
> >>> My guess is that if a web font from same origin is blocked, JavaScript
> >>> will fail as well.
> >>>
> >>> Martijn
> >>>
> >>> On Tue, Jan 22, 2019 at 12:25 PM Maxim Solodovnik <
> solomax666@gmail.com>
> >>> wrote:
> >>> >
> >>> > Maybe something like this
> >>> >
> >>> >
> >>>
>
> https://stackoverflow.com/questions/1271477/changing-body-font-size-based-on-font-family-with-jquery
> >>> >
> >>> > can be used?
> >>> >
> >>> > On Tue, 22 Jan 2019 at 17:27, Andrea Del Bene <an...@gmail.com>
> >>> wrote:
> >>> >
> >>> > > I've checked uBlock with Firefox and AdBlocker with Chrome, both
> with
> >>> > > default configs, and I see no problem. Obviously IE/Edge always
> >>> behaves in
> >>> > > its own, peculiar way :-).
> >>> > >
> >>> > > On Tue, Jan 22, 2019 at 11:12 AM Martijn Dashorst <
> >>> > > martijn.dashorst@gmail.com> wrote:
> >>> > >
> >>> > > > Well, we did everything well: the fonts are hosted at Apache, not
> >>> > > > loaded from external site that tracks their usage (looking at you
> >>> > > > fonts.google.com), the SVG even embeds the font file in a data
> uri.
> >>> If
> >>> > > > the adblocker then still blocks the font, what can we do?
> Introduce a
> >>> > > > 4MB PNG file? Or should the adblocker at least honor same domain
> >>> > > > requests for resources and not block data URI's?
> >>> > > >
> >>> > > > The font face used for the logo is narrow and there are no
> web-safe
> >>> > > > fonts that render correctly in this instance: I've tried with
> Arial
> >>> > > > Narrow and sans-serif as a fallback: the logo still looks badly
> >>> > > > broken.
> >>> > > >
> >>> > > > AFAIK we can't detect whether someone uses an adblocker that
> >>> > > > specifically blocks web fonts, serve them the 8GB binary images,
> and
> >>> > > > serve the rest of the world the 80kb SVG file.
> >>> > > >
> >>> > > > I understand the need for an adblocker, but when you use one
> >>> (wrongly)
> >>> > > > you are responsible for when shit breaks.
> >>> > > >
> >>> > > > Martijn
> >>> > > >
> >>> > > >
> >>> > > > On Tue, Jan 22, 2019 at 9:46 AM Vit Rozkovec <
> vit.rozkovec@gmail.com
> >>> >
> >>> > > > wrote:
> >>> > > > >
> >>> > > > > HI,
> >>> > > > >
> >>> > > > > please see this screenshot:
> >>> > > > > https://screenshots.firefox.com/v4PQv7WIKAv1TiUA/null
> >>> > > > >
> >>> > > > > This is how is the site visible when you browse it with adblock
> >>> that
> >>> > > > > blocks also some fonts.
> >>> > > > >
> >>> > > > > Discovered when one my colleague who is learning Wicket and
> uses
> >>> > > Windows
> >>> > > > > wanted to show it to someone else, not a very good first
> >>> impression :)
> >>> > > > >
> >>> > > > > I think it would be good to have a default that displays ok
> even
> >>> when
> >>> > > > > fonts are blocked, what do you think?
> >>> > > > >
> >>> > > > > Have a nice day
> >>> > > > > Vit
> >>> > > > >
> >>> > > >
> >>> > > >
> >>> > > > --
> >>> > > > Become a Wicket expert, learn from the best:
> >>> http://wicketinaction.com
> >>> > > >
> >>> > >
> >>> > >
> >>> > > --
> >>> > > Andrea Del Bene.
> >>> > > Apache Wicket committer.
> >>> > >
> >>> >
> >>> >
> >>> > --
> >>> > WBR
> >>> > Maxim aka solomax
> >>>
> >>>
> >>>
> >>> --
> >>> Become a Wicket expert, learn from the best: http://wicketinaction.com
> >>>
> >>
> >>
> >> --
> >> WBR
> >> Maxim aka solomax
> >>
>


-- 
WBR
Maxim aka solomax

Re: Wicket site with adblocker @ MS Edge

Posted by Vit Rozkovec <vi...@gmail.com>.
So no extra configuration whatsoever.

úterý 22. ledna 2019 Vit Rozkovec <vi...@gmail.com> napsal(a):
> He had uBlock Original 1.15, configuration status unknown.
>
> Wouldn't simple svg fix that?
>
>
> úterý 22. ledna 2019 Maxim Solodovnik <so...@gmail.com> napsal(a):
>> @Vit, maybe you can share which AdBlocker have you used and how it was
>> configured?
>>
>> On Tue, 22 Jan 2019 at 18:56, Martijn Dashorst <
martijn.dashorst@gmail.com>
>> wrote:
>>
>>> My guess is that if a web font from same origin is blocked, JavaScript
>>> will fail as well.
>>>
>>> Martijn
>>>
>>> On Tue, Jan 22, 2019 at 12:25 PM Maxim Solodovnik <so...@gmail.com>
>>> wrote:
>>> >
>>> > Maybe something like this
>>> >
>>> >
>>>
https://stackoverflow.com/questions/1271477/changing-body-font-size-based-on-font-family-with-jquery
>>> >
>>> > can be used?
>>> >
>>> > On Tue, 22 Jan 2019 at 17:27, Andrea Del Bene <an...@gmail.com>
>>> wrote:
>>> >
>>> > > I've checked uBlock with Firefox and AdBlocker with Chrome, both
with
>>> > > default configs, and I see no problem. Obviously IE/Edge always
>>> behaves in
>>> > > its own, peculiar way :-).
>>> > >
>>> > > On Tue, Jan 22, 2019 at 11:12 AM Martijn Dashorst <
>>> > > martijn.dashorst@gmail.com> wrote:
>>> > >
>>> > > > Well, we did everything well: the fonts are hosted at Apache, not
>>> > > > loaded from external site that tracks their usage (looking at you
>>> > > > fonts.google.com), the SVG even embeds the font file in a data
uri.
>>> If
>>> > > > the adblocker then still blocks the font, what can we do?
Introduce a
>>> > > > 4MB PNG file? Or should the adblocker at least honor same domain
>>> > > > requests for resources and not block data URI's?
>>> > > >
>>> > > > The font face used for the logo is narrow and there are no
web-safe
>>> > > > fonts that render correctly in this instance: I've tried with
Arial
>>> > > > Narrow and sans-serif as a fallback: the logo still looks badly
>>> > > > broken.
>>> > > >
>>> > > > AFAIK we can't detect whether someone uses an adblocker that
>>> > > > specifically blocks web fonts, serve them the 8GB binary images,
and
>>> > > > serve the rest of the world the 80kb SVG file.
>>> > > >
>>> > > > I understand the need for an adblocker, but when you use one
>>> (wrongly)
>>> > > > you are responsible for when shit breaks.
>>> > > >
>>> > > > Martijn
>>> > > >
>>> > > >
>>> > > > On Tue, Jan 22, 2019 at 9:46 AM Vit Rozkovec <
vit.rozkovec@gmail.com
>>> >
>>> > > > wrote:
>>> > > > >
>>> > > > > HI,
>>> > > > >
>>> > > > > please see this screenshot:
>>> > > > > https://screenshots.firefox.com/v4PQv7WIKAv1TiUA/null
>>> > > > >
>>> > > > > This is how is the site visible when you browse it with adblock
>>> that
>>> > > > > blocks also some fonts.
>>> > > > >
>>> > > > > Discovered when one my colleague who is learning Wicket and uses
>>> > > Windows
>>> > > > > wanted to show it to someone else, not a very good first
>>> impression :)
>>> > > > >
>>> > > > > I think it would be good to have a default that displays ok even
>>> when
>>> > > > > fonts are blocked, what do you think?
>>> > > > >
>>> > > > > Have a nice day
>>> > > > > Vit
>>> > > > >
>>> > > >
>>> > > >
>>> > > > --
>>> > > > Become a Wicket expert, learn from the best:
>>> http://wicketinaction.com
>>> > > >
>>> > >
>>> > >
>>> > > --
>>> > > Andrea Del Bene.
>>> > > Apache Wicket committer.
>>> > >
>>> >
>>> >
>>> > --
>>> > WBR
>>> > Maxim aka solomax
>>>
>>>
>>>
>>> --
>>> Become a Wicket expert, learn from the best: http://wicketinaction.com
>>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>

Wicket site with adblocker @ MS Edge

Posted by Vit Rozkovec <vi...@gmail.com>.
He had uBlock Original 1.15, configuration status unknown.

Wouldn't simple svg fix that?


úterý 22. ledna 2019 Maxim Solodovnik <so...@gmail.com> napsal(a):
> @Vit, maybe you can share which AdBlocker have you used and how it was
> configured?
>
> On Tue, 22 Jan 2019 at 18:56, Martijn Dashorst <martijn.dashorst@gmail.com
>
> wrote:
>
>> My guess is that if a web font from same origin is blocked, JavaScript
>> will fail as well.
>>
>> Martijn
>>
>> On Tue, Jan 22, 2019 at 12:25 PM Maxim Solodovnik <so...@gmail.com>
>> wrote:
>> >
>> > Maybe something like this
>> >
>> >
>>
https://stackoverflow.com/questions/1271477/changing-body-font-size-based-on-font-family-with-jquery
>> >
>> > can be used?
>> >
>> > On Tue, 22 Jan 2019 at 17:27, Andrea Del Bene <an...@gmail.com>
>> wrote:
>> >
>> > > I've checked uBlock with Firefox and AdBlocker with Chrome, both with
>> > > default configs, and I see no problem. Obviously IE/Edge always
>> behaves in
>> > > its own, peculiar way :-).
>> > >
>> > > On Tue, Jan 22, 2019 at 11:12 AM Martijn Dashorst <
>> > > martijn.dashorst@gmail.com> wrote:
>> > >
>> > > > Well, we did everything well: the fonts are hosted at Apache, not
>> > > > loaded from external site that tracks their usage (looking at you
>> > > > fonts.google.com), the SVG even embeds the font file in a data uri.
>> If
>> > > > the adblocker then still blocks the font, what can we do?
Introduce a
>> > > > 4MB PNG file? Or should the adblocker at least honor same domain
>> > > > requests for resources and not block data URI's?
>> > > >
>> > > > The font face used for the logo is narrow and there are no web-safe
>> > > > fonts that render correctly in this instance: I've tried with Arial
>> > > > Narrow and sans-serif as a fallback: the logo still looks badly
>> > > > broken.
>> > > >
>> > > > AFAIK we can't detect whether someone uses an adblocker that
>> > > > specifically blocks web fonts, serve them the 8GB binary images,
and
>> > > > serve the rest of the world the 80kb SVG file.
>> > > >
>> > > > I understand the need for an adblocker, but when you use one
>> (wrongly)
>> > > > you are responsible for when shit breaks.
>> > > >
>> > > > Martijn
>> > > >
>> > > >
>> > > > On Tue, Jan 22, 2019 at 9:46 AM Vit Rozkovec <
vit.rozkovec@gmail.com
>> >
>> > > > wrote:
>> > > > >
>> > > > > HI,
>> > > > >
>> > > > > please see this screenshot:
>> > > > > https://screenshots.firefox.com/v4PQv7WIKAv1TiUA/null
>> > > > >
>> > > > > This is how is the site visible when you browse it with adblock
>> that
>> > > > > blocks also some fonts.
>> > > > >
>> > > > > Discovered when one my colleague who is learning Wicket and uses
>> > > Windows
>> > > > > wanted to show it to someone else, not a very good first
>> impression :)
>> > > > >
>> > > > > I think it would be good to have a default that displays ok even
>> when
>> > > > > fonts are blocked, what do you think?
>> > > > >
>> > > > > Have a nice day
>> > > > > Vit
>> > > > >
>> > > >
>> > > >
>> > > > --
>> > > > Become a Wicket expert, learn from the best:
>> http://wicketinaction.com
>> > > >
>> > >
>> > >
>> > > --
>> > > Andrea Del Bene.
>> > > Apache Wicket committer.
>> > >
>> >
>> >
>> > --
>> > WBR
>> > Maxim aka solomax
>>
>>
>>
>> --
>> Become a Wicket expert, learn from the best: http://wicketinaction.com
>>
>
>
> --
> WBR
> Maxim aka solomax
>

Re: Wicket site with adblocker @ MS Edge

Posted by Maxim Solodovnik <so...@gmail.com>.
@Vit, maybe you can share which AdBlocker have you used and how it was
configured?

On Tue, 22 Jan 2019 at 18:56, Martijn Dashorst <ma...@gmail.com>
wrote:

> My guess is that if a web font from same origin is blocked, JavaScript
> will fail as well.
>
> Martijn
>
> On Tue, Jan 22, 2019 at 12:25 PM Maxim Solodovnik <so...@gmail.com>
> wrote:
> >
> > Maybe something like this
> >
> >
> https://stackoverflow.com/questions/1271477/changing-body-font-size-based-on-font-family-with-jquery
> >
> > can be used?
> >
> > On Tue, 22 Jan 2019 at 17:27, Andrea Del Bene <an...@gmail.com>
> wrote:
> >
> > > I've checked uBlock with Firefox and AdBlocker with Chrome, both with
> > > default configs, and I see no problem. Obviously IE/Edge always
> behaves in
> > > its own, peculiar way :-).
> > >
> > > On Tue, Jan 22, 2019 at 11:12 AM Martijn Dashorst <
> > > martijn.dashorst@gmail.com> wrote:
> > >
> > > > Well, we did everything well: the fonts are hosted at Apache, not
> > > > loaded from external site that tracks their usage (looking at you
> > > > fonts.google.com), the SVG even embeds the font file in a data uri.
> If
> > > > the adblocker then still blocks the font, what can we do? Introduce a
> > > > 4MB PNG file? Or should the adblocker at least honor same domain
> > > > requests for resources and not block data URI's?
> > > >
> > > > The font face used for the logo is narrow and there are no web-safe
> > > > fonts that render correctly in this instance: I've tried with Arial
> > > > Narrow and sans-serif as a fallback: the logo still looks badly
> > > > broken.
> > > >
> > > > AFAIK we can't detect whether someone uses an adblocker that
> > > > specifically blocks web fonts, serve them the 8GB binary images, and
> > > > serve the rest of the world the 80kb SVG file.
> > > >
> > > > I understand the need for an adblocker, but when you use one
> (wrongly)
> > > > you are responsible for when shit breaks.
> > > >
> > > > Martijn
> > > >
> > > >
> > > > On Tue, Jan 22, 2019 at 9:46 AM Vit Rozkovec <vit.rozkovec@gmail.com
> >
> > > > wrote:
> > > > >
> > > > > HI,
> > > > >
> > > > > please see this screenshot:
> > > > > https://screenshots.firefox.com/v4PQv7WIKAv1TiUA/null
> > > > >
> > > > > This is how is the site visible when you browse it with adblock
> that
> > > > > blocks also some fonts.
> > > > >
> > > > > Discovered when one my colleague who is learning Wicket and uses
> > > Windows
> > > > > wanted to show it to someone else, not a very good first
> impression :)
> > > > >
> > > > > I think it would be good to have a default that displays ok even
> when
> > > > > fonts are blocked, what do you think?
> > > > >
> > > > > Have a nice day
> > > > > Vit
> > > > >
> > > >
> > > >
> > > > --
> > > > Become a Wicket expert, learn from the best:
> http://wicketinaction.com
> > > >
> > >
> > >
> > > --
> > > Andrea Del Bene.
> > > Apache Wicket committer.
> > >
> >
> >
> > --
> > WBR
> > Maxim aka solomax
>
>
>
> --
> Become a Wicket expert, learn from the best: http://wicketinaction.com
>


-- 
WBR
Maxim aka solomax

Re: Wicket site with adblocker @ MS Edge

Posted by Martijn Dashorst <ma...@gmail.com>.
My guess is that if a web font from same origin is blocked, JavaScript
will fail as well.

Martijn

On Tue, Jan 22, 2019 at 12:25 PM Maxim Solodovnik <so...@gmail.com> wrote:
>
> Maybe something like this
>
> https://stackoverflow.com/questions/1271477/changing-body-font-size-based-on-font-family-with-jquery
>
> can be used?
>
> On Tue, 22 Jan 2019 at 17:27, Andrea Del Bene <an...@gmail.com> wrote:
>
> > I've checked uBlock with Firefox and AdBlocker with Chrome, both with
> > default configs, and I see no problem. Obviously IE/Edge always behaves in
> > its own, peculiar way :-).
> >
> > On Tue, Jan 22, 2019 at 11:12 AM Martijn Dashorst <
> > martijn.dashorst@gmail.com> wrote:
> >
> > > Well, we did everything well: the fonts are hosted at Apache, not
> > > loaded from external site that tracks their usage (looking at you
> > > fonts.google.com), the SVG even embeds the font file in a data uri. If
> > > the adblocker then still blocks the font, what can we do? Introduce a
> > > 4MB PNG file? Or should the adblocker at least honor same domain
> > > requests for resources and not block data URI's?
> > >
> > > The font face used for the logo is narrow and there are no web-safe
> > > fonts that render correctly in this instance: I've tried with Arial
> > > Narrow and sans-serif as a fallback: the logo still looks badly
> > > broken.
> > >
> > > AFAIK we can't detect whether someone uses an adblocker that
> > > specifically blocks web fonts, serve them the 8GB binary images, and
> > > serve the rest of the world the 80kb SVG file.
> > >
> > > I understand the need for an adblocker, but when you use one (wrongly)
> > > you are responsible for when shit breaks.
> > >
> > > Martijn
> > >
> > >
> > > On Tue, Jan 22, 2019 at 9:46 AM Vit Rozkovec <vi...@gmail.com>
> > > wrote:
> > > >
> > > > HI,
> > > >
> > > > please see this screenshot:
> > > > https://screenshots.firefox.com/v4PQv7WIKAv1TiUA/null
> > > >
> > > > This is how is the site visible when you browse it with adblock that
> > > > blocks also some fonts.
> > > >
> > > > Discovered when one my colleague who is learning Wicket and uses
> > Windows
> > > > wanted to show it to someone else, not a very good first impression :)
> > > >
> > > > I think it would be good to have a default that displays ok even when
> > > > fonts are blocked, what do you think?
> > > >
> > > > Have a nice day
> > > > Vit
> > > >
> > >
> > >
> > > --
> > > Become a Wicket expert, learn from the best: http://wicketinaction.com
> > >
> >
> >
> > --
> > Andrea Del Bene.
> > Apache Wicket committer.
> >
>
>
> --
> WBR
> Maxim aka solomax



-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com

Re: Wicket site with adblocker @ MS Edge

Posted by Maxim Solodovnik <so...@gmail.com>.
Maybe something like this

https://stackoverflow.com/questions/1271477/changing-body-font-size-based-on-font-family-with-jquery

can be used?

On Tue, 22 Jan 2019 at 17:27, Andrea Del Bene <an...@gmail.com> wrote:

> I've checked uBlock with Firefox and AdBlocker with Chrome, both with
> default configs, and I see no problem. Obviously IE/Edge always behaves in
> its own, peculiar way :-).
>
> On Tue, Jan 22, 2019 at 11:12 AM Martijn Dashorst <
> martijn.dashorst@gmail.com> wrote:
>
> > Well, we did everything well: the fonts are hosted at Apache, not
> > loaded from external site that tracks their usage (looking at you
> > fonts.google.com), the SVG even embeds the font file in a data uri. If
> > the adblocker then still blocks the font, what can we do? Introduce a
> > 4MB PNG file? Or should the adblocker at least honor same domain
> > requests for resources and not block data URI's?
> >
> > The font face used for the logo is narrow and there are no web-safe
> > fonts that render correctly in this instance: I've tried with Arial
> > Narrow and sans-serif as a fallback: the logo still looks badly
> > broken.
> >
> > AFAIK we can't detect whether someone uses an adblocker that
> > specifically blocks web fonts, serve them the 8GB binary images, and
> > serve the rest of the world the 80kb SVG file.
> >
> > I understand the need for an adblocker, but when you use one (wrongly)
> > you are responsible for when shit breaks.
> >
> > Martijn
> >
> >
> > On Tue, Jan 22, 2019 at 9:46 AM Vit Rozkovec <vi...@gmail.com>
> > wrote:
> > >
> > > HI,
> > >
> > > please see this screenshot:
> > > https://screenshots.firefox.com/v4PQv7WIKAv1TiUA/null
> > >
> > > This is how is the site visible when you browse it with adblock that
> > > blocks also some fonts.
> > >
> > > Discovered when one my colleague who is learning Wicket and uses
> Windows
> > > wanted to show it to someone else, not a very good first impression :)
> > >
> > > I think it would be good to have a default that displays ok even when
> > > fonts are blocked, what do you think?
> > >
> > > Have a nice day
> > > Vit
> > >
> >
> >
> > --
> > Become a Wicket expert, learn from the best: http://wicketinaction.com
> >
>
>
> --
> Andrea Del Bene.
> Apache Wicket committer.
>


-- 
WBR
Maxim aka solomax

Re: Wicket site with adblocker @ MS Edge

Posted by Andrea Del Bene <an...@gmail.com>.
I've checked uBlock with Firefox and AdBlocker with Chrome, both with
default configs, and I see no problem. Obviously IE/Edge always behaves in
its own, peculiar way :-).

On Tue, Jan 22, 2019 at 11:12 AM Martijn Dashorst <
martijn.dashorst@gmail.com> wrote:

> Well, we did everything well: the fonts are hosted at Apache, not
> loaded from external site that tracks their usage (looking at you
> fonts.google.com), the SVG even embeds the font file in a data uri. If
> the adblocker then still blocks the font, what can we do? Introduce a
> 4MB PNG file? Or should the adblocker at least honor same domain
> requests for resources and not block data URI's?
>
> The font face used for the logo is narrow and there are no web-safe
> fonts that render correctly in this instance: I've tried with Arial
> Narrow and sans-serif as a fallback: the logo still looks badly
> broken.
>
> AFAIK we can't detect whether someone uses an adblocker that
> specifically blocks web fonts, serve them the 8GB binary images, and
> serve the rest of the world the 80kb SVG file.
>
> I understand the need for an adblocker, but when you use one (wrongly)
> you are responsible for when shit breaks.
>
> Martijn
>
>
> On Tue, Jan 22, 2019 at 9:46 AM Vit Rozkovec <vi...@gmail.com>
> wrote:
> >
> > HI,
> >
> > please see this screenshot:
> > https://screenshots.firefox.com/v4PQv7WIKAv1TiUA/null
> >
> > This is how is the site visible when you browse it with adblock that
> > blocks also some fonts.
> >
> > Discovered when one my colleague who is learning Wicket and uses Windows
> > wanted to show it to someone else, not a very good first impression :)
> >
> > I think it would be good to have a default that displays ok even when
> > fonts are blocked, what do you think?
> >
> > Have a nice day
> > Vit
> >
>
>
> --
> Become a Wicket expert, learn from the best: http://wicketinaction.com
>


-- 
Andrea Del Bene.
Apache Wicket committer.

Re: Wicket site with adblocker @ MS Edge

Posted by Martijn Dashorst <ma...@gmail.com>.
Well, we did everything well: the fonts are hosted at Apache, not
loaded from external site that tracks their usage (looking at you
fonts.google.com), the SVG even embeds the font file in a data uri. If
the adblocker then still blocks the font, what can we do? Introduce a
4MB PNG file? Or should the adblocker at least honor same domain
requests for resources and not block data URI's?

The font face used for the logo is narrow and there are no web-safe
fonts that render correctly in this instance: I've tried with Arial
Narrow and sans-serif as a fallback: the logo still looks badly
broken.

AFAIK we can't detect whether someone uses an adblocker that
specifically blocks web fonts, serve them the 8GB binary images, and
serve the rest of the world the 80kb SVG file.

I understand the need for an adblocker, but when you use one (wrongly)
you are responsible for when shit breaks.

Martijn


On Tue, Jan 22, 2019 at 9:46 AM Vit Rozkovec <vi...@gmail.com> wrote:
>
> HI,
>
> please see this screenshot:
> https://screenshots.firefox.com/v4PQv7WIKAv1TiUA/null
>
> This is how is the site visible when you browse it with adblock that
> blocks also some fonts.
>
> Discovered when one my colleague who is learning Wicket and uses Windows
> wanted to show it to someone else, not a very good first impression :)
>
> I think it would be good to have a default that displays ok even when
> fonts are blocked, what do you think?
>
> Have a nice day
> Vit
>


--
Become a Wicket expert, learn from the best: http://wicketinaction.com