This function helps with the creation of the list structure required to provide Firefox-specific favicon parameters to the API. Further details can be found in the realfavicongenerator.net API documentation
1 2 3 4 5 6 7 8 9 10 11 | firefox_app_helper(
picture_aspect = c("no_change", "circle", "rounded_square", "square"),
background_colour = NULL,
margin = NULL,
keep_picture_in_circle = TRUE,
circle_inner_margin = NULL,
overlay = TRUE,
manifest = list(app_name = NULL, app_description = NULL, developer_name = NULL,
developer_url = NULL, existing_manifest = NULL, on_conflict = c("raise_error",
"override", "keep_existing"))
)
|
picture_aspect |
character; one of 'no_change', 'circle', 'rounded_square' or 'square'. If 'circle' is chosen, background_color, margin, keep_picture_in_circle, circle_inner_margin and overlay parameters can all be used. |
manifest |
list; list of manifest attributes. Should contain app_name; the app's name, app_description; a description of the app, developer_name; the developer name, developer_url; the developer url, existing_manifest; an existing manifest file that can be passed, and on_conflict; what to do if existing manifest conflicts with created manifest |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.