# eBay EPN Affiliate Link Generator

**URL:** https://meta.discourse.org/t/ebay-epn-affiliate-link-generator/292012
**Category:** Theme component
**Created:** [January 17, 2024, 10:54pm UTC](https://meta.discourse.org/t/ebay-epn-affiliate-link-generator/292012 "2024-01-17T22:54:23Z")
**Posts on this page:** 1
**Showing post:** 14

<div class="post-metadata">

### Author: ![LotusJeff](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lotusjeff/32/477888_2.png) [@LotusJeff](https://meta.discourse.org/u/LotusJeff)
#### Post date: [July 21, 2025, 1:10am UTC](https://meta.discourse.org/t/ebay-epn-affiliate-link-generator/292012/14 "2025-07-21T01:10:14Z")

</div>

@piffy

The code is getting the following error:  
 ![image](https://global.discourse-cdn.com/meta/original/4X/2/e/a/2ea6067ee78953789826f239d0650804107a6bba.png)

Discourse has changed how you have to initiate a JavaScript file in plugins. See the following link:

> [@Modernizing inline script tags for templates & JS API](https://meta.discourse.org/t/modernizing-inline-script-tags-for-templates-js-api/366482/10):
>
> I have a simple .html file: \<script type='text/x-handlebars' data-template-name='/connectors/below-site-header/oprs-top-container'\> \<div id='WW\_T\_D\_1' class='oprs-top-leaderboard'\>\</div\> \</script\> I’m kind of confused with different ways to do this migration. Appreciate if someone explains what to do. Thanks

Do you have any plans on updating the plugin?

---

_[View the full topic](https://meta.discourse.org/t/ebay-epn-affiliate-link-generator/292012)._
