El País, being silly.

Sillier than usual, that is.

The most important (ok, most read) newspaper in Spain, El País, is telling me that they will decide on how I must use my browser to visit them, and which add-ons I can and cannot use.

I hardly ever visit this silly website anyway, but I do not like people telling me how to use my stupid browser. Specially if they are going to get all silly about it. Here is what I got today:

Please, disable your adblocker, subscribe or fuck off.

Yours silly, El País.
There is not even the faintest attempt to explain why I should agree or go along with this, hence the «fuck off» part.

I know what you are thinking, trying to prevent access using a silly modal window is kind of silly, right?

I thought that too, and decided I would see how long it would take me to remove that modal window. About 3 minutes, all this while discussing Matilda with Julia.

We only need to hide that modal window and to re-enable vertical scroll. Two CSS rules, that’s all. I added them using this Chrome addon:

Silly CSS rules are rather silly, indeed:

/* Hide silly modal window */
.fc-ab-root {
  display:none;
}
/* Re-enable silly vertical scroll */
html {
  overflow-x:auto
}
And there you go, you can now read all about Les putes silly Fallas in Saudi Arabia.

This is silly. El País, please stop being silly.


Update: as I just found someone who had thought of this first, as it always happens:

Source, here.

(function() {
  "use strict";
  $(document).ready(function() {
    function antiwall() {
      $(".fc-dialog-container").fadeOut();
      $(".fc-dialog-overlay").fadeOut();
      $(".fc-whitelist-root").remove();
      $(".fc-ab-root").remove();
      $(".salida_articulo").css("overflow", "visible");
    }
    setTimeout(antiwall, 1400);
  });
})();

Gutenberg VS Page Builders

Stackable blocks and tupperwares FTW!

Feminist views vary regarding the Tupperware format of sales through parties, and the social and economic role of women portrayed by the Tupperware model. Opposing views state that the intended gendered product and selling campaign further domesticates women, and keeps their predominant focus on homemaking.[26] 

The positive feminist views consider that Tupperware provided work for women who were pregnant or otherwise not guaranteed their position at work due to the unequal gender laws in the workplace. The company promoted the betterment of women and the endless opportunities Tupperware offered to women; whereas, the negative view includes the restriction of women to the domestic sphere and limiting the real separation between running the household and a career.[5] 

The emergence of Tupperware in the American market created a new kind of opportunity to an entirely underrepresented labor demographic; women, and especially suburban housewives.

Tupperware – Wikipedia

Instagram API fail

I set up this Instagram Feed plugin on my cousin’s site, who just happens to be my friend on Instagram. Apparently her account was not working and the plugin decided to fallback on the site admin’s email account… or something.

The oddest part is that my Instagram Feed is private but because Maria can see my feed and the APP was registered with her account, this meant my private Instagram photos were displaying publicly. Speak of an API fail.

Using a tag to create a reusable “fake” author in WordPress

I was posting an article on behalf of someone else who did not have a WordPress.com user and I wanted to show their name in the “Author” box.

This would be trivial to do using pseudoelements (:before & :after) and throwing the post id (postid-3735) into the selector to make sure the CSS rules only applies to that specific post, like this:

.postid-3735 .author {
	font-size:0;
}
.postid-3735 .author:after {
	font-size:18px;
	content:"John Doe";
	pointer-events:none;
}

The problem with this approach is that cannot be reused. Instead what I did was to create a tag with the name of the author of the post.

By doing this I made sure a new CSS class would be added to the article containing the post whenever this tag was used

And this, in turn, allows me to use this selector:

.tag-carlos-fernandez-liria .author {
	font-size:0;
}
.tag-carlos-fernandez-liria .author:after {
	font-size:18px;
	content:"Carlos Fernández Liria";
	pointer-events:none;
}

Finally, I also added the pointer-events:none property to prevent the Name of the author from being clickable, as it would take to my own author posts page.