jlesage / docker-firefox

Docker container for Firefox
MIT License
1.4k stars 266 forks source link

Title + favicon suggestion #174

Open CynicalTyr opened 1 year ago

CynicalTyr commented 1 year ago

Is there a way to modify the HTML coding at all? Mainly just wanting to have an option to change the and would also be cool to modify the favicon to match my other servers/services on my domain.</p> <p><img referrerpolicy="no-referrer" src="https://user-images.githubusercontent.com/107641592/229607410-a5b3f3aa-3901-4335-b2e8-d9b97918d5a9.png" alt="image" /></p> <p>PS... running in a docker container on Synology DS920</p> <p>Thanks in advance.</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/jlesage"><img src="https://avatars.githubusercontent.com/u/1791123?v=4" />jlesage</a> commented <strong> 1 year ago</strong> </div> <div class="markdown-body"> <p>Are you talking about what is displayed in the browser tab ?</p> <p>This is currently not possible. You could do it by manually editing files in the container, but these changes would be lost after an update if the container (or when it is re-created).</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/CynicalTyr"><img src="https://avatars.githubusercontent.com/u/107641592?v=4" />CynicalTyr</a> commented <strong> 1 year ago</strong> </div> <div class="markdown-body"> <p>Yes in the tab. Just a humble suggestion to allow easier .html/css/js editing. Do you off hand where in the files in the container I could edit this? I could always make a task to modify 'x' location after each update or reboot of the container. </p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/jlesage"><img src="https://avatars.githubusercontent.com/u/1791123?v=4" />jlesage</a> commented <strong> 1 year ago</strong> </div> <div class="markdown-body"> <p>The main HTML file is at <code>/opt/noVNC/index.html</code>. The title is dynamically set in <code>/opt/noVNC/app/ui.js</code>.</p> </div> </div> <div class="page-bar-simple"> </div> <div class="footer"> <ul class="body"> <li>© <script> document.write(new Date().getFullYear()) </script> Githubissues.</li> <li>Githubissues is a development platform for aggregating issues.</li> </ul> </div> <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js"></script> <script src="/githubissues/assets/js.js"></script> <script src="/githubissues/assets/markdown.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/highlight.min.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/languages/go.min.js"></script> <script> hljs.highlightAll(); </script> </body> </html>