import { preferences, _favoritedPlaces, _bestFriends } from "@/utils/storage"; import { pullCache } from "@/utils/utilities"; import * as api from "@/utils/api"; import * as apiTypes from "@/utils/api/types"; export default defineContentScript({ matches: ['https://polytoria.com/', 'https://polytoria.com/home'], main() { preferences.getPreferences() .then((values) => { if (values.favoritedPlaces.enabled) favoritedPlaces(); if (values.bestFriends.enabled) bestFriends(); if (values.irlBrickPrice.enabled) irlBrickPrice(); }); } }); function favoritedPlaces() { _favoritedPlaces.getValue() .then(async (places) => { const container = document.createElement('div'); container.innerHTML = `
Sorry! This feature is currently unavailable. Please check back later!