Skip Navigation

iframe comment plugin setting embed

perchance.org

FurDex ― Perchance Generator

in this test wiki, I try make every card having a unique chat just like the recent gallery update.

However, I'd like to make the comment plugin origin from our main gen for better moderation hence using iframe.

But! While some settings options could be applied, some just cann't??!!

this group works

 
    
  let config = {
    reverseCommentOrder: true,
    commentPlaceholderText: "Type a friendly comment...",
    submitButtonText: "Submit",
    deleteButtonIcon: "✕",
    customEmojis: "https://user-uploads.perchance.org/file/cdf7f21f64fba53bd86d598c5f26a962.txt",
    customEmojiSize: 1.33,
    loneCustomEmojiSizeMultiplier: 2.8,
    adminPasswordHash: "362cc5e35c8153f8cc67edc85bc1c4b67354351aa42a8322a29896c49be0838f",
    channel: "furdex" + item.id,
  };
...
...
  const iframe = `<iframe src="https://comments-plugin.perchance.org/embed/ai-furry-generator+furdex$%7Bitem.id%7D#${encoded}" style="width:100%;height:100%;border:none;"></iframe>`;


  

and this not

 
    
    bannedUsers: jail.bannedUsersList,
    bannedWords: jail.bannedWords,
    adminFlair: ["MOD"],
    loadFonts: "Open Sans",
    messageBubbleStyle: `font-family: "Open Sans", sans-serif; font-optical-sizing: auto; font-weight: 500; font-style: normal; font-variation-settings: "wdth" 100; padding: 10px 10px; border-radius:5px; border: 1px solid var(--border-color);`
    customEmojis: emoji.customEmojis,

    // and this won't work either
    customEmojis: "https://perchance.org/ai-furry-generator [emoji.customEmojis]", // how do I add list in iframe?
    adminFlair: MOD,

  
16 comments
16 comments