RTO_favoritesList.js

Helper file documentation for RTO_favoritesList.js.
Docs updated: 2025-12-17

Summary

Favorites API wrapper.

  • Exports: RTOFavorites

What it is

Favorites API helper (list / has / add / remove).

Download

Download RTO_favoritesList.js

Example

<script src="../RTO_helpers/RTO_favoritesList.js"></script>
<script>
(async function(){
  await RTOFavorites.add("https://example.com", "Example");
  console.log(await RTOFavorites.list());
})();
</script>

Next