Guns

Home Invasion Attempt Thwarted by Courageous Homeowner with Firearm

Reading Time: 1:54 min

An Arkansas man found himself in a desperate situation early Wednesday morning, but he lived to tell about it thanks to his courage and the presence of a loaded firearm.…

View post

ATF Data Discredits Chicago Mayor’s Claim of Guns Pouring in From Other States

Reading Time: 1:59 min

ATF Data Discredits Chicago Mayor’s Claim of Guns Pouring in From Other States – Chicago has a violent crime problem, that much is certain. With the federal government’s recent moves…

View post

2A Groups Strongly Oppose Potential Trans Gun Ban

Reading Time: 3:25 min

Word came last week that the Department of Justice (DOJ) was considering banning transgender individuals from owning weapons.  This came in response to the mass shooting at a Minneapolis Catholic…

View post

Broad Daylight Crime in California Shows Why AR-15s Are Essential

Reading Time: 4:10 min

Broad daylight crime in California shows why AR-15s are essential, and the latest smash-and-grab robbery proves it better than any debate ever could. The next time somebody asks you, “Why…

View post

California Man Chases Alleged Home Invaders Away by Firing Several Rounds

Reading Time: 1:52 min

Home invasions are rather like carjackings. Not to say they never happened in days gone by, but even the terms are relatively new in the English language. Unfortunately, home invasions…

View post

SAF Files Brief in Case Challenging Hawaii’s Ridiculous Gun Control Regime

Reading Time: 1:54 min

Hawaii’s gun control apparatus is extreme by any reasonable measure, and it is now under fire from gun rights groups which have banded together to topple the regime. The Second…

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>