Published by: Jerome Baker

Texas Bill Offers Improvements To State Cannabis Law

A bill has been filed to expand access to Texas’ medical cannabis program.

SB 1505, filed by Sen. Charles Perry, would add more licensed dispensaries, pickup locations and expand the ways cannabis can be taken.

Texas’ medical cannabis program operates under the Texas Compassionate Use Act, originally enacted in 2015. It is one of the most restrictive medical cannabis programs in the United States, limiting access to low-THC (tetrahydrocannabinol) cannabis products (currently capped at 1% THC by weight) for patients with specific qualifying conditions such as epilepsy, multiple sclerosis, terminal cancer, PTSD, and a few others. 

The program has seen incremental expansions over the years, notably in 2021 with House Bill 1535, which added PTSD and all forms of cancer as qualifying conditions and raised the THC cap from 0.5% to 1%. 

The 2025 Texas legislative session, which began on January 14, 2025, has already seen competing proposals ranging from recreational legalization to stricter THC bans. 

SB 1505 focuses on improving access and delivery mechanisms within the existing Texas Compassionate Use Program rather than fundamentally altering its structure (e.g., THC limits or qualifying conditions). 

SB 1505 proposes to increase the number of licensed dispensaries in Texas, which has only three licensed dispensing organizations under the Compassionate Use Program—Texas Original Compassionate Cultivation, Surterra Texas (operating as Goodblend), and Compassionate Cultivation.

This is good. Texas medical patients like Elizabeth Miller have highlighted in legislative testimony the program’s inaccessibility due to its “overly narrow” scope and limited distribution points.

SB1505  includes plans to add pickup locations for medical cannabis products, as well. Patients currently get products directly from dispensaries or through limited delivery options, which are not widely available. Delivery was expanded in 2021, but not enough. Pickup locations offer a middle ground between full dispensaries and home delivery, streamlining access without requiring every location to be a fully licensed cultivator or processor.

SB 1505 aims to expand the methods of administration for medical cannabis. Texas law currently prohibits smoking medical cannabis, restricting use to tinctures, oils, edibles (like gummies), and other non-inhalable forms. SB1505 could potentially allow inhalation methods (e.g., vaping or smoking) or introduce new formulations like transdermal patches or suppositories. 

Smoking or vaping is likely to face significant pushback from conservative lawmakers like Lt. Gov. Dan Patrick, who has historically opposed measures perceived as softening cannabis laws. The 2023 failure of HB 1805 in the Senate, despite House approval, suggests that expanding administration methods beyond the current “medical” framework might be infeasible. 

The 2025 session features competing cannabis views. Rep. Jessica González’s HB 1208, filed in November 2024, seeks recreational legalization, while Lt. Gov. Dan Patrick and Sen. Charles Perry’s Senate Bill 3 aims to ban all consumable THC products, including hemp-derived delta-8 and delta-9. SB 1505 occupies a moderate position, focusing on medical expansion rather than recreational or prohibitive extremes.

Medical cannabis expansions have had more success than recreational proposals in Texas. HB 1535 (2021) and HB 3703 (2019) passed with bipartisan support, though often watered down in the Senate. 

Enhanced access could benefit the estimated 2 million Texans eligible under current law, only a fraction of whom (10,000–12,000) are active participants. 

More dispensaries and pickup points could boost the state’s small medical cannabis industry, currently dominated by Texas Original and a few others. However, it won’t address the unregulated hemp market unless paired with stricter enforcement.

All-in-all,SB 1505 seeks to expand the Texas Compassionate Use Program by adding up to three more dispensaries (total six), authorizing satellite pickup locations, and allowing vaping as a delivery method—all while maintaining the 1% THC cap and current conditions.

RELATED POSTS

Cotton Candy Kush

The Chosen Cut Flower, 7g

Cotton Candy Kush in the JB 7g jar. Hybrid · 7g · Tested 32.73% THC. Spun-sugar sweet nose, smooth hybrid body, and the loudest number in the drop. Cured slow, sealed in JBD glass. NY 2026 Drop 1 — limited run, once it's gone, it's gone.

LINEAGE

Detroit Runtz × Forbidden Runtz

THC RANGE

24–28%

GROWN

Kincardine, ON — Greenhouse

PROFILE

Gas · Grape · Candy

TERPENESS

Caryophyllene
Humulene
Limonene
Linalool

Cotton Candy Kush

The Chosen Cut Flower, 7g

Cotton Candy Kush in the JB 7g jar. Hybrid · 7g · Tested 32.73% THC. Spun-sugar sweet nose, smooth hybrid body, and the loudest number in the drop. Cured slow, sealed in JBD glass. NY 2026 Drop 1 — limited run, once it's gone, it's gone.

LINEAGE

Detroit Runtz × Forbidden Runtz

THC RANGE

24–28%

GROWN

Kincardine, ON — Greenhouse

PROFILE

Gas · Grape · Candy

TERPENESS

Caryophyllene
Humulene
Limonene
Linalool

<div style="max-width:400px;margin:20px auto;font-family:sans-serif;">
    <input type="text" id="jbd-code" placeholder="Enter your JBD code"
      style="width:100%;padding:12px;font-size:16px;border:1px solid #ccc;border-radius:6px;margin-bottom:8px;">
    <button onclick="jbdCheck()"
      style="width:100%;padding:12px;background:
#DA2342;color:#fff;border:none;border-radius:6px;font-weight:bold;cursor
  :pointer;font-size:14px;">
      VERIFY CODE
    </button>
    <div id="jbd-result" style="margin-top:12px;text-align:center;font-size:14px;"></div>
  </div>
<script>
async function jbdCheck(){
  var c = document.getElementById('jbd-code').value.trim();
  if(!c) return;
  if(c !== 'CODETE$T') c = c.toUpperCase();
  document.getElementById('jbd-result').textContent = 'Checking...';
  
  try {
    var r = await fetch('https://jbcustomer.cannacrypted.com/api/code/validate/' + encodeURIComponent(c));
    var d = await r.json();
    if(d.valid) {
      localStorage.setItem('jbd_verified', '1');
      localStorage.setItem('jbd_product', d.product || 'JBD');
      console.log('Verified! Redirecting...');
      setTimeout(() => {
        window.location.href = '/jbstore/';
      }, 500);
    } else {
      document.getElementById('jbd-result').innerHTML =
        '<span style="color:red;">✗ ' + (d.reason || 'Invalid or expired code') + '</span>';
    }
  } catch(e) {
    document.getElementById('jbd-result').textContent = 'Error checking code. Try again.';
  }
}

// AUTO-VERIFY - check immediately if code in URL
(function() {
  const urlParams = new URLSearchParams(window.location.search);
  const code = urlParams.get('code');
  
  if(code) {
    console.log('Code found in URL:', code);
    // Fill the input
    document.getElementById('jbd-code').value = code;
    // Auto-submit immediately
    jbdCheck();
  }
})();
</script>
<div style="max-width:400px;margin:20px auto;font-family:sans-serif;">
    <input type="text" id="jbd-code" placeholder="Enter your JBD code"
      style="width:100%;padding:12px;font-size:16px;border:1px solid #ccc;border-radius:6px;margin-bottom:8px;">
    <button onclick="jbdCheck()"
      style="width:100%;padding:12px;background:
#DA2342;color:#fff;border:none;border-radius:6px;font-weight:bold;cursor
  :pointer;font-size:14px;">
      VERIFY CODE
    </button>
    <div id="jbd-result" style="margin-top:12px;text-align:center;font-size:14px;"></div>
  </div>
<script>
async function jbdCheck(){
  var c = document.getElementById('jbd-code').value.trim();
  if(!c) return;
  if(c !== 'CODETE$T') c = c.toUpperCase();
  document.getElementById('jbd-result').textContent = 'Checking...';
  
  try {
    var r = await fetch('https://jbcustomer.cannacrypted.com/api/code/validate/' + encodeURIComponent(c));
    var d = await r.json();
    if(d.valid) {
      localStorage.setItem('jbd_verified', '1');
      localStorage.setItem('jbd_product', d.product || 'JBD');
      console.log('Verified! Redirecting...');
      setTimeout(() => {
        window.location.href = '/jbstore/';
      }, 500);
    } else {
      document.getElementById('jbd-result').innerHTML =
        '<span style="color:red;">✗ ' + (d.reason || 'Invalid or expired code') + '</span>';
    }
  } catch(e) {
    document.getElementById('jbd-result').textContent = 'Error checking code. Try again.';
  }
}

// AUTO-VERIFY - check immediately if code in URL
(function() {
  const urlParams = new URLSearchParams(window.location.search);
  const code = urlParams.get('code');
  
  if(code) {
    console.log('Code found in URL:', code);
    // Fill the input
    document.getElementById('jbd-code').value = code;
    // Auto-submit immediately
    jbdCheck();
  }
})();
</script>
<div style="max-width:400px;margin:20px auto;font-family:sans-serif;">
    <input type="text" id="jbd-code" placeholder="Enter your JBD code"
      style="width:100%;padding:12px;font-size:16px;border:1px solid #ccc;border-radius:6px;margin-bottom:8px;">
    <button onclick="jbdCheck()"
      style="width:100%;padding:12px;background:
#DA2342;color:#fff;border:none;border-radius:6px;font-weight:bold;cursor
  :pointer;font-size:14px;">
      VERIFY CODE
    </button>
    <div id="jbd-result" style="margin-top:12px;text-align:center;font-size:14px;"></div>
  </div>
<script>
async function jbdCheck(){
  var c = document.getElementById('jbd-code').value.trim();
  if(!c) return;
  if(c !== 'CODETE$T') c = c.toUpperCase();
  document.getElementById('jbd-result').textContent = 'Checking...';
  
  try {
    var r = await fetch('https://jbcustomer.cannacrypted.com/api/code/validate/' + encodeURIComponent(c));
    var d = await r.json();
    if(d.valid) {
      localStorage.setItem('jbd_verified', '1');
      localStorage.setItem('jbd_product', d.product || 'JBD');
      console.log('Verified! Redirecting...');
      setTimeout(() => {
        window.location.href = '/jbstore/';
      }, 500);
    } else {
      document.getElementById('jbd-result').innerHTML =
        '<span style="color:red;">✗ ' + (d.reason || 'Invalid or expired code') + '</span>';
    }
  } catch(e) {
    document.getElementById('jbd-result').textContent = 'Error checking code. Try again.';
  }
}

// AUTO-VERIFY - check immediately if code in URL
(function() {
  const urlParams = new URLSearchParams(window.location.search);
  const code = urlParams.get('code');
  
  if(code) {
    console.log('Code found in URL:', code);
    // Fill the input
    document.getElementById('jbd-code').value = code;
    // Auto-submit immediately
    jbdCheck();
  }
})();
</script>
<div style="max-width:400px;margin:20px auto;font-family:sans-serif;">
    <input type="text" id="jbd-code" placeholder="Enter your JBD code"
      style="width:100%;padding:12px;font-size:16px;border:1px solid #ccc;border-radius:6px;margin-bottom:8px;">
    <button onclick="jbdCheck()"
      style="width:100%;padding:12px;background:
#DA2342;color:#fff;border:none;border-radius:6px;font-weight:bold;cursor
  :pointer;font-size:14px;">
      VERIFY CODE
    </button>
    <div id="jbd-result" style="margin-top:12px;text-align:center;font-size:14px;"></div>
  </div>
<script>
async function jbdCheck(){
  var c = document.getElementById('jbd-code').value.trim();
  if(!c) return;
  if(c !== 'CODETE$T') c = c.toUpperCase();
  document.getElementById('jbd-result').textContent = 'Checking...';
  
  try {
    var r = await fetch('https://jbcustomer.cannacrypted.com/api/code/validate/' + encodeURIComponent(c));
    var d = await r.json();
    if(d.valid) {
      localStorage.setItem('jbd_verified', '1');
      localStorage.setItem('jbd_product', d.product || 'JBD');
      console.log('Verified! Redirecting...');
      setTimeout(() => {
        window.location.href = '/jbstore/';
      }, 500);
    } else {
      document.getElementById('jbd-result').innerHTML =
        '<span style="color:red;">✗ ' + (d.reason || 'Invalid or expired code') + '</span>';
    }
  } catch(e) {
    document.getElementById('jbd-result').textContent = 'Error checking code. Try again.';
  }
}

// AUTO-VERIFY - check immediately if code in URL
(function() {
  const urlParams = new URLSearchParams(window.location.search);
  const code = urlParams.get('code');
  
  if(code) {
    console.log('Code found in URL:', code);
    // Fill the input
    document.getElementById('jbd-code').value = code;
    // Auto-submit immediately
    jbdCheck();
  }
})();
</script>

Cotton Candy Kush BOX Set

The Complete Drop Box Set

Hybrid drop in box form: 7g Cotton Candy Kush jar, pattern-matched papers + matches, custom Clearboy with blue accents. Hybrid · 7g flower · Tested 32.73% THC. Hand-numbered presentation box. LE 250 — once these are gone, they're gone.

GLASS

Yellow Custom Clearboy

FLOWER

7g Cotton Candy Kush

EDITION

LE 250 · numbered

PROFILE

Grapefruit · Diesel · Lime

Cotton Candy Kush Box Set

The Complete Drop Box Set

Hybrid drop in box form: 7g Cotton Candy Kush jar, pattern-matched papers + matches, custom Clearboy with blue accents. Hybrid · 7g flower · Tested 32.73% THC. Hand-numbered presentation box. LE 250 — once these are gone, they're gone.

GLASS

Yellow Custom Clearboy

FLOWER

7g Cotton Candy Kush

EDITION

LE 250 · numbered

PROFILE

Grapefruit · Diesel · Lime

NYC Sour Diesel Box Set

The Complete Drop Box Set

Sativa drop, full set: 7g NYC Sour D, JB-pattern papers + matches, custom Clearboy with yellow accents. Sativa · 7g flower · Tested 26.58% THC. East Coast lift in a hand-numbered box. LE 250 — collector territory once it sells through.

GLASS

Blue Custom Clearboy

FLOWER

7g Double Runtz

EDITION

LE 250 · numbered

PROFILE

Gas · Grape · Candy

NYC Sour Diesel Box Set

The Complete Drop Box Set

Sativa drop, full set: 7g NYC Sour D, JB-pattern papers + matches, custom Clearboy with yellow accents. Sativa · 7g flower · Tested 26.58% THC. East Coast lift in a hand-numbered box. LE 250 — collector territory once it sells through.

GLASS

Blue Custom Clearboy

FLOWER

7g Double Runtz

EDITION

LE 250 · numbered

PROFILE

Gas · Grape · Candy

Cherry Gushers Box Set

The Complete Drop Box Set

The full Indica drop in one box: 7g Cherry Gushers jar, JB-pattern rolling papers + matchbook, custom Clearboy with red drop accents. Indica · 7g flower · Tested 26.54% THC. Hand-numbered, sealed, packed in a presentation box you'll keep. LE 250 — once they're out, they're out.

GLASS

Red Custom Clearboy

FLOWER

7g Cherry Gushers

EDITION

LE 250 · numbered

PROFILE

Cherry · Tropical · Gas

CHERRY GUSHERS BOX SET

The Complete Drop Box Set

The full Indica drop in one box: 7g Cherry Gushers jar, JB-pattern rolling papers + matchbook, custom Clearboy with red drop accents. Indica · 7g flower · Tested 26.54% THC. Hand-numbered, sealed, packed in a presentation box you'll keep. LE 250 — once they're out, they're out.

GLASS

Red Custom Clearboy

FLOWER

7g Cherry Gushers

EDITION

LE 250 · numbered

PROFILE

Cherry · Tropical · Gas

GRAPE NANNA

Ready To Fire Preroll, 1g

Grape Nana one-gram pre-roll. Concord grape sweetness, sleepy purple finish. Roll-up-and-out energy. Paper-matched to the JB Indica drop. Tested 32.42% THC. NY 2026 Drop 1, single batch — won't be re-run.

LINEAGE

Banana OG × Grape Pie BX

THC RANGE

28-32%

AWARDS

Leafly Strain of the Year ’24

PROFILE

Grape · Banana · Cream

TERPENESS

Myrcene
Linalool
Caryophyllene

GRAPE NANNA

Ready To Fire Preroll, 1g

Grape Nana one-gram pre-roll. Concord grape sweetness, sleepy purple finish. Roll-up-and-out energy. Paper-matched to the JB Indica drop. Tested 32.42% THC. NY 2026 Drop 1, single batch — won't be re-run.

LINEAGE

Banana OG × Grape Pie BX

THC RANGE

28-32%

AWARDS

Leafly Strain of the Year ’24

PROFILE

Grape · Banana · Cream

TERPENESS

Myrcene
Linalool
Caryophyllene

SUPER BOOF ROLL

Ready To Fire Preroll, 1g

Super Boof one-gram pre-roll. Citrus on the front, OG funk on the finish. Even keel — productive without losing your head. Hand-rolled, paper-matched to the JB Hybrid drop. Tested 28.84% THC. NY 2026 Drop 1, single batch — won't be re-run.

LINEAGE

Black Cherry Punch x Tropicana Cookies

THC RANGE

28-32%

AWARDS

Leafly Strain of the Year ’24

PROFILE

Berry – Citrus – Funk

TERPENESS

Limonene
Caryophyllene
Linalool

SUPER BOOF ROLL

Ready To Fire Preroll, 1g

Super Boof one-gram pre-roll. Citrus on the front, OG funk on the finish. Even keel — productive without losing your head. Hand-rolled, paper-matched to the JB Hybrid drop. Tested 28.84% THC. NY 2026 Drop 1, single batch — won't be re-run.

LINEAGE

Black Cherry Punch x Tropicana Cookies

THC RANGE

28-32%

AWARDS

Leafly Strain of the Year ’24

PROFILE

Berry – Citrus – Funk

TERPENESS

Limonene
Caryophyllene
Linalool

NYC Sour Diesel

Ready To Fire Preroll, 1g

NYC Sour Diesel one-gram pre-roll. Fuel-forward with a citrus snap and a clean cerebral lift — the borough in a paper. Hand-rolled, paper-matched to the JB Sativa drop. Tested 23.94% THC. NY 2026 Drop 1, single batch — won't be re-run.

LINEAGE

Notorious THC × Very Cherry

THC RANGE

26-30%

AWARDS

Leafly Strain of the Year ’24

PROFILE

Jelly · Cherry · Cream

TERPENESS

Terpinolene
Caryophyllene
Myrcene

NYC Sour Diesel

Ready To Fire Preroll, 1g

NYC Sour Diesel one-gram pre-roll. Fuel-forward with a citrus snap and a clean cerebral lift — the borough in a paper. Hand-rolled, paper-matched to the JB Sativa drop. Tested 23.94% THC. NY 2026 Drop 1, single batch — won't be re-run.

LINEAGE

Notorious THC × Very Cherry

THC RANGE

26-30%

AWARDS

Leafly Strain of the Year ’24

PROFILE

Jelly · Cherry · Cream

TERPENESS

Terpinolene
Caryophyllene
Myrcene

NYC Diesel

The Chosen Cut Flower, 7g

NYC Sour D in the JB jar — the borough in a quarter ounce. Fuel forward, citrus snap on the back end, the kind of cerebral lift that gets you out the door. East Coast cure, NY 2026 Drop 1 — limited run.

LINEAGE

Mexican × Afghani heritage

THC RANGE

20–25%

Breeder Est.

Tacoma, WA — 2008

PROFILE

Grapefruit · Diesel · Lime

TERPENESS

Caryophyllene
Limonene
Myrcene

NYC Diesel

The Chosen Cut Flower, 7g

NYC Sour D in the JB jar — the borough in a quarter ounce. Fuel forward, citrus snap on the back end, the kind of cerebral lift that gets you out the door. East Coast cure, NY 2026 Drop 1 — limited run.

LINEAGE

Mexican × Afghani heritage

THC RANGE

20–25%

BREEDER EST.

Tacoma, WA — 2008

PROFILE

Grapefruit · Diesel · Lime

TERPENESS

Caryophyllene
Limonene
Myrcene

Double Runtz

The Chosen Cut Flower, 7g

Double Runtz in the JB 7g jar. Hybrid · 7g · Tested 26.21% THC. Loud gas-sweet bouquet with a candy backbone. Balanced enough for a Sunday session, sturdy enough for a Friday night. NY 2026 Drop 1 — limited run.

LINEAGE

Detroit Runtz × Forbidden Runtz

THC RANGE

24–28%

GROWN

Kincardine, ON — Greenhouse

PROFILE

Gas · Grape · Candy

TERPENESS

Caryophyllene
Humulene
Limonene
Linalool

Double Runtz

The Chosen Cut Flower, 7g

Double Runtz in the JB 7g jar. Hybrid · 7g · Tested 26.21% THC. Loud gas-sweet bouquet with a candy backbone. Balanced enough for a Sunday session, sturdy enough for a Friday night. NY 2026 Drop 1 — limited run.

LINEAGE

Detroit Runtz × Forbidden Runtz

THC RANGE

24–28%

GROWN

Kincardine, ON — Greenhouse

PROFILE

Gas · Grape · Candy

TERPENESS

Caryophyllene
Humulene
Limonene
Linalool

RL Haze

The Chosen Cut Flower, 7g

RL Haze, full classic. Spicy old-school sativa terps, lifted clear high, no wobble. The strain that built the Sativa lane — sealed the way Jerome would seal it. NY 2026 Drop 1 — limited run.

LINEAGE

Black Cherry Punch × Gushers

THC RANGE

18–22%

ORIGIN

Amsterdam, est. 1994

PROFILE

Spice · Citrus · Incense

TERPENESS

Terpinolene
Pinene
Ocimene

RL Haze

The Chosen Cut Flower, 7g

RL Haze, full classic. Spicy old-school sativa terps, lifted clear high, no wobble. The strain that built the Sativa lane — sealed the way Jerome would seal it. NY 2026 Drop 1 — limited run.

LINEAGE

Mex × Col × Thai × S. Indian

THC RANGE

18-22%

ORIGIN

Amsterdam, est. 1994

PROFILE

Spice · Citrus · Incense

TERPENESS

Terpinolene
Pinene
Ocimene

Cherry Gushers

The Chosen Cut Flower, 7g

Heavy-hitting Cherry Gushers in the JB 7g jar. Indica · 7g · Tested 26.54% THC. Sweet candy nose, deep purple floor — the kind of evening jar that makes a Tuesday feel like a holiday. Cured slow, sealed in JBD glass. NY 2026 Drop 1 — limited run, once it's gone, it's gone.

LINEAGE

Black Cherry Punch × Gushers

THC RANGE

28–32%

FLOWERING

70–75 days

PROFILE

Cherry · Tropical · Gas

TERPENESS

Caryophyllene
Limonene
Myrcene

Cherry Gushers

The Chosen Cut Flower, 7g

Heavy-hitting Cherry Gushers in the JB 7g jar. Indica · 7g · Tested 26.54% THC. Sweet candy nose, deep purple floor — the kind of evening jar that makes a Tuesday feel like a holiday. Cured slow, sealed in JBD glass. NY 2026 Drop 1 — limited run, once it's gone, it's gone.

LINEAGE

Black Cherry Punch × Gushers

THC RANGE

28-32%

FLOWERING

70–75 days

PROFILE

Cherry · Tropical · Gas

TERPENESS

Caryophyllene
Limonene
Myrcene

<div style="max-width:400px;margin:20px auto;font-family:sans-serif;">
    <input type="text" id="jbd-code" placeholder="Enter your JBD code"
      style="width:100%;padding:12px;font-size:16px;border:1px solid #ccc;border-radius:6px;margin-bottom:8px;">
    <button onclick="jbdCheck()"
      style="width:100%;padding:12px;background:
#DA2342;color:#fff;border:none;border-radius:6px;font-weight:bold;cursor
  :pointer;font-size:14px;">
      VERIFY CODE
    </button>
    <div id="jbd-result" style="margin-top:12px;text-align:center;font-size:14px;"></div>
  </div>
<script>
async function jbdCheck(){
  var c = document.getElementById('jbd-code').value.trim();
  if(!c) return;
  if(c !== 'CODETE$T') c = c.toUpperCase();
  document.getElementById('jbd-result').textContent = 'Checking...';
  
  try {
    var r = await fetch('https://jbcustomer.cannacrypted.com/api/code/validate/' + encodeURIComponent(c));
    var d = await r.json();
    if(d.valid) {
      localStorage.setItem('jbd_verified', '1');
      localStorage.setItem('jbd_product', d.product || 'JBD');
      console.log('Verified! Redirecting...');
      setTimeout(() => {
        window.location.href = '/jbstore/';
      }, 500);
    } else {
      document.getElementById('jbd-result').innerHTML =
        '<span style="color:red;">✗ ' + (d.reason || 'Invalid or expired code') + '</span>';
    }
  } catch(e) {
    document.getElementById('jbd-result').textContent = 'Error checking code. Try again.';
  }
}

// AUTO-VERIFY - check immediately if code in URL
(function() {
  const urlParams = new URLSearchParams(window.location.search);
  const code = urlParams.get('code');
  
  if(code) {
    console.log('Code found in URL:', code);
    // Fill the input
    document.getElementById('jbd-code').value = code;
    // Auto-submit immediately
    jbdCheck();
  }
})();
</script>