On February 17, 2025 3:17:31 PM PST, Salatiel Filho <salatiel.fi...@gmail.com> wrote: >Hello, is there a way to replace the content of an guacamole client >template ( this file for example: >guacamole-client/guacamole/src/main/frontend/src/app/client/templates/connection.html >) using guacamole extensions ? >Reading the guacamole-ext documentation, it looks like it would be >possible by using > ><meta name="replace" content="SELECTOR"> > >But I just can't figure out what that selector would be for that template? > > >Any help would be greatly appreciated. > >Salatiel > >--------------------------------------------------------------------- >To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org >For additional commands, e-mail: user-h...@guacamole.apache.org >
The selector can be any CSS selector - it needs to match the element that's being replaced. To replace part of a specific template, you need to look at the HTML source of that template and decide on a selector that matches only what you're looking to replace. All templates will be checked against the selector when they are initially loaded. Beware that the selector is evaluated strictly in the context of each template, so you can't use any elements outside the template for context. - Mike --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org For additional commands, e-mail: user-h...@guacamole.apache.org