Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Cloudron Forum

Apps | Demo | Docs | Install

add custom javascript to cloudron dashboard

Scheduled Pinned Locked Moved Feature Requests
12 Posts 7 Posters 298 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • nennogabrielN Offline
    nennogabrielN Offline
    nennogabriel
    wrote on last edited by girish
    #1

    Cloudron provide an easy way to have lots of business tools online, but sometimes the costumers needs a little help. I wish to put my business support chat on my cloudrons costumers.
    If was possible to put a script tag to make my chatwood working inside my.domain.com would be nice.

    jdaviescoatesJ BrutalBirdieB 2 Replies Last reply
    7
  • jdaviescoatesJ Online
    jdaviescoatesJ Online
    jdaviescoates
    replied to nennogabriel on last edited by
    #2

    @nennogabriel said in add custom javascript to cloudron app.:

    If was possible to put a script tag to make my chatwood working inside my.domain.com would be nice.

    Nice idea. I guess other code snippets could be used to, e.g. either for other chat support tools, and/ or perhaps analytics stuff too.

    I use Cloudron with Gandi & Hetzner

    1 Reply Last reply
    5
  • BrutalBirdieB Online
    BrutalBirdieB Online
    BrutalBirdie Staff
    replied to nennogabriel on last edited by
    #3

    @nennogabriel @staff this might be a good pick.

    Just for clarification, you are talking about deploying custom java script to cloudron it self and not other apps, right?
    Since your title states add custom javascript to cloudron app which might be a bit misleading.

    Like my work? Consider donating a drink drink. Cheers!

    micmcM nennogabrielN 2 Replies Last reply
    3
  • micmcM Offline
    micmcM Offline
    micmc
    replied to BrutalBirdie on last edited by
    #4

    @BrutalBirdie I agree this is one of a good idea and suitable as well. And I believe he meant to add the support script to the cloudron box indeed. At least this is what is the good idea.


    https://marketingtechnology.agency
    For cutting edge web technologies

    1 Reply Last reply
    2
  • nennogabrielN Offline
    nennogabrielN Offline
    nennogabriel
    replied to BrutalBirdie on last edited by
    #5

    @BrutalBirdie yes. it could be a little box in "brand" menu. just to add a simple javacript to all pages, like footer.

    1 Reply Last reply
    1
  • nebulonN Online
    nebulonN Online
    nebulon Staff
    wrote on last edited by
    #6

    Generally just injecting javascript into the dashboard is doable, however if we would add this feature, still adding stuff like a chatwoot chat would not work unless we also add a way to configure the CSP headers sent for the dashboard. Currently those are tightly locked to domains we use and those are fixed. So without that, I am not sure how useful adding snippets would be and adding a way to configure the CSP headers is a lot more work, as we have to regenerate the nginx configs accordingly.

    robiR nennogabrielN 2 Replies Last reply
    2
  • robiR Offline
    robiR Offline
    robi
    replied to nebulon on last edited by
    #7

    @nebulon these would not be for any cloudron.io domains, but for user my.server.tld domains.

    Chatwoot configs don't require CSP from what I can tell.

    Life of sky tech

    nebulonN 1 Reply Last reply
    3
  • luanc202L Offline
    luanc202L Offline
    luanc202
    wrote on last edited by
    #8

    that would be nice even if it's not for a chatwoot or any other chat widget, analytics and other scripts can make good use of that.

    hope we get that feature soon.

    1 Reply Last reply
    1
  • nebulonN Online
    nebulonN Online
    nebulon Staff
    replied to robi on last edited by
    #9

    @robi said in add custom javascript to cloudron dashboard:

    Chatwoot configs don't require CSP from what I can tell.

    The dashboard being the main site will determine through CSP headers what can be done, and currently either loading or iframing pages on other domains is not allowed, nor is doing REST calls of sorts against other domains. So I am not sure how chatwoot would workaround those.

    robiR 1 Reply Last reply
    0
  • robiR Offline
    robiR Offline
    robi
    replied to nebulon on last edited by robi
    #10

    @nebulon it would remain in the server.tld domain, not others. Hence chatwoot.server.tld would just be a subdomain of the dashboard as all apps are (on that domain),

    Life of sky tech

    1 Reply Last reply
    0
  • nennogabrielN Offline
    nennogabrielN Offline
    nennogabriel
    replied to nebulon on last edited by nennogabriel
    #11

    @nebulon I understand. Be secure is a lot more important than some customization.

    I will use the branding to show an external link to my website where it has the chat support. thank you

    So, if possible, would be nice to have a block message on top of the webpage os my.domain.com like the footer, in markdown too. So I can write a simple and clear message to all costumers when they access the platform.

    jdaviescoatesJ 1 Reply Last reply
    2
  • jdaviescoatesJ Online
    jdaviescoatesJ Online
    jdaviescoates
    replied to nennogabriel on last edited by
    #12

    @nennogabriel that's another nice idea!

    I use Cloudron with Gandi & Hetzner

    1 Reply Last reply
    0

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Login

  • Don't have an account? Register

  • Login or register to search.