Gun Control

California’s Proposed Glock Ban Moving Forward in Legislature

Reading Time: 3:28 min

Rumblings out of California about a potential sweeping ban of some of the most popular and prominent handguns in the state are coming to fruition.  A vote is expected this…

View post

Chicago is Bleeding Out: 54 Shot, 7 Killed Over Labor Day Weekend

Reading Time: 3:58 min

Chicago is bleeding out: 54 shot, 7 killed over Labor Day weekend. Over the span of just three days, at least 32 separate shootings tore through the city, leaving dozens…

View post

Court Rules You Don’t Need AR-15s for Self-Defense

Reading Time: 2:30 min

Court Rules You Don’t Need AR-15s for Self-Defense — that’s the message coming from a recent decision by the 2nd U.S. Circuit Court of Appeals, which upheld Connecticut’s “assault weapons”…

View post

Minnesota Governor Considers Emergency Session on Gun Control

Reading Time: 3:24 min

The aftershocks of last week’s horrific shooting at a Minneapolis Catholic school continue to reverberate. While some note the mental health issues surrounding the suspect, others want to focus on…

View post

Lawmaker Seeks Repeal of Gun-Free School Zones Act

Reading Time: 1:54 min

After another tragic event in a “gun-free” school zone, one lawmaker called for a legal change that will help protect students and teachers from the next lunatic. Rep. Thomas Massie…

View post

Anti-Gunners Blame Inanimate Firearms Rather Than Violent Criminals

Reading Time: 1:54 min

Wednesday’s attack on Catholic schoolchildren by a lunatic in Minneapolis shook the nation and should have brought a renewed focus on the mental health crisis gripping the country. Instead, it…

View post
<script>
  /*Source: https://github.com/Krzysztof-Antosik/Two-direction-Sticky-Sidebar*/
  
  // Verificar el ancho de pantalla al cargar y redimensionar
  function checkScreenWidth() {
    if (window.innerWidth <= 767) {
      // Si la pantalla es menor o igual a 676px, no ejecutar el código
      return;
    }

    const stickyElement = document.querySelector('.fb-sidebar__aside');
    const startPosition = stickyElement.getBoundingClientRect().top;

    let endScroll = window.innerHeight - stickyElement.offsetHeight - 500;
    let currPos = window.scrollY;
    let screenHeight = window.innerHeight;
    let stickyElementHeight = stickyElement.offsetHeight;
    let topGap = 40;
    let bottomGap = 40;

    setTimeout(() => {
      if (stickyElement.hasAttribute('data-top-gap')) {
        const dataTopGap = stickyElement.getAttribute('data-top-gap');
        topGap = dataTopGap === 'auto' ? startPosition : parseInt(dataTopGap);
      }

      if (stickyElement.hasAttribute('data-bottom-gap')) {
        bottomGap = parseInt(stickyElement.getAttribute('data-bottom-gap'));
      }
    }, 100);

    stickyElement.style.position = 'sticky';
    stickyElement.style.top = `${topGap}px`;
    stickyElement.style.height = 'fit-content';

    function positionStickySidebar() {
      endScroll = window.innerHeight - stickyElement.offsetHeight - bottomGap;
      const stickyElementTop = parseInt(stickyElement.style.top.replace('px', ''));

      if (stickyElementHeight + topGap + bottomGap > screenHeight) {
        if (window.scrollY < currPos) {
          if (stickyElementTop < topGap) {
            stickyElement.style.top = `${stickyElementTop + currPos - window.scrollY}px`;
          } else if (stickyElementTop >= topGap && stickyElementTop !== topGap) {
            stickyElement.style.top = `${topGap}px`;
          }
        } else {
          if (stickyElementTop > endScroll) {
            stickyElement.style.top = `${stickyElementTop + currPos - window.scrollY}px`;
          } else if (stickyElementTop < endScroll && stickyElementTop !== endScroll) {
            stickyElement.style.top = `${endScroll}px`;
          }
        }
      } else {
        stickyElement.style.top = `${topGap}px`;
      }
      currPos = window.scrollY;
    }

    function stickyElementToMe() {
      stickyElement.style.top = `${topGap}px`;
    }

    function updateSticky() {
      screenHeight = window.innerHeight;
      stickyElementHeight = stickyElement.offsetHeight;
      positionStickySidebar();
    }

    setTimeout(() => {
      window.addEventListener('resize', () => {
        currPos = window.scrollY;
        updateSticky();
      });

      document.addEventListener('scroll', updateSticky, {
        capture: true,
        passive: true
      });
    }, 1000);
  }

  // Verificar el ancho de pantalla al cargar y redimensionar
  window.addEventListener('load', checkScreenWidth);
  window.addEventListener('resize', checkScreenWidth);
</script>