# @import url in Custom scheduling

**URL:** <https://forums.ankiweb.net/t/import-url-in-custom-scheduling/27838>\
**Category:** Help\
**Created:** [February 24, 2023, 2:14pm UTC](https://forums.ankiweb.net/t/import-url-in-custom-scheduling/27838 "2023-02-24T14:14:08Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![cjdduarte](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/cjdduarte/32/29286_2.png) [@cjdduarte](https://forums.ankiweb.net/u/cjdduarte)\
**Post date:** [February 24, 2023, 2:14pm UTC](https://forums.ankiweb.net/t/import-url-in-custom-scheduling/27838/1 "2023-02-24T14:14:09Z")

</div>

Does the custom scheduler accept the @import url command?  
I did some tests here with nonexistent files and no error message appeared.

![Screenshot_4](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/1/1e0f573bb787cace620629001d636faf4467ebb9.png)

The idea is to make the FSRS code easier to maintain.do @L.M.Sherlock

---

<div class="post-metadata">

**Author:** ![L.M.Sherlock](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/l.m.sherlock/32/16770_2.png) [@L.M.Sherlock](https://forums.ankiweb.net/u/L.M.Sherlock)\
**Post date:** [February 24, 2023, 3:19pm UTC](https://forums.ankiweb.net/t/import-url-in-custom-scheduling/27838/2 "2023-02-24T15:19:13Z")

</div>

Where does the js file store?

---

<div class="post-metadata">

**Author:** ![cjdduarte](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/cjdduarte/32/29286_2.png) [@cjdduarte](https://forums.ankiweb.net/u/cjdduarte)\
**Post date:** [February 24, 2023, 4:15pm UTC](https://forums.ankiweb.net/t/import-url-in-custom-scheduling/27838/3 "2023-02-24T16:15:01Z")

</div>

In the media folder (collection.media).  
The Underline ( \_ ) in the filename is so that it will not be deleted when checking media.  
Works for card (CSS) styling. It would be an excellent option for custom scheduling as well.

![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/e/efa508225379caede1d7402338331152de7c7182.png)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/9/94a4e0799c73849752eef0353d08e21eab94bf8f.png)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/0/0b689d773176ca54476d98004f8c6e762b00a779.png)

---

<div class="post-metadata">

**Author:** ![L.M.Sherlock](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/l.m.sherlock/32/16770_2.png) [@L.M.Sherlock](https://forums.ankiweb.net/u/L.M.Sherlock)\
**Post date:** [February 25, 2023, 4:00am UTC](https://forums.ankiweb.net/t/import-url-in-custom-scheduling/27838/4 "2023-02-25T04:00:54Z")

</div>

But when should we need it? Now the entire code of FSRS could be copied from the GitHub repo, and users could paste it into their Anki’s custom scheduling box. It is simpler than storing the js file collection.media.

---

<div class="post-metadata">

**Author:** ![cjdduarte](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/cjdduarte/32/29286_2.png) [@cjdduarte](https://forums.ankiweb.net/u/cjdduarte)\
**Post date:** [February 25, 2023, 12:38pm UTC](https://forums.ankiweb.net/t/import-url-in-custom-scheduling/27838/5 "2023-02-25T12:38:27Z")

</div>

I’m considering creating an add-on.  
Really, since I’m a programmer, I don’t like to see code as plain text. 🙂

Sorted out.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [March 27, 2023, 12:38pm UTC](https://forums.ankiweb.net/t/import-url-in-custom-scheduling/27838/6 "2023-03-27T12:38:56Z")

</div>

Closed on March 27, 2023, 12:38pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
