Matthew Miner's Basic-ish BlogMatthew Miner's Blog

Sometimes I might say something

How to Undo Firefox's "Close Tab Options" Changes?

TECH FIREFOX
Left: The new tab context menu in Firefox 78
Middle: The new tab context menu after adding extensions
Right: The new tab context menu after all changes (Also how the old menu looked)

When you right-click a tab, Firefox historically has had two options in the context menu that let you close multiple tabs at once: "Close Tabs to the Right" and "Close Other Tabs". These are self-explanatory and very useful buttons for people who do a lot of browsing and utilize both windows and tabs. However, in Firefox 78, Mozilla has moved these items into a submenu, largely eliminating their time-saving ability.

The Firefox 78 tab context menu showing the Close Multiple Tabs menu

This was justified by worries that people were closing too many tabs acci...

Continue Reading…

In the abortion debate, it seems like it's mainly a debate between evangelical Christians and everybody else. The modern Christian political action in support for life largely stems from Baptist pastor Jerry Falwell and his Moral Majority. Falwell pastored at Thomas Road Baptist Church, which eventually joined the Southern Baptist Convention. The Southern Baptist Convention and its members have long been among the strongest opponents of abortion. However, would it surprise you to know that before, in 1971, the Southern Baptist Convention issued a statement in support of abortion?

Continue Reading…

How to Scope CSS by Moving an Element to the Shadow DOM

PROGRAMMING WEB DEVELOPMENT HTML CSS JAVASCRIPT SHADOW DOM TECH
Bakura demonstrating how to banish things to the shadow DOM in Yu-Gi-Oh!

(tl;dr: Jump to the actual moving)

Scope is an important concept in programming. It allows you to just write small sections of code to do what you need them to do without having to worry about something else in your code using the same name and messing everything up. Declarations (such as of variables or functions) will only be visible to code also in the same scope, usually some block of code.

MDN has a good example of the effects of scope in Javascript:

let x = 1;
if (x === 1) {...

Continue Reading…