Check if you can do that with chrome browser local override.
https://www.trysmudford.com/blog/chrome-local-overrides/
Read the statement by Michael Teeuw here.
Posts
-
RE: server/client setup: how to force client's custom.css
-
RE: Unable to put a compliment weekly.
Hi @elwonner
It’s doable with minor code change. Below is the code you need to achieve the same.- Compliments declaration
compliments: { anytime: ["Hey there sexy!"], morning: ["Good morning, handsome!", "Enjoy your day!", "How was your sleep?"], afternoon: ["Hello, beauty!", "You look sexy!", "Looking good today!"], evening: ["Wow, you look hot!", "You look nice!", "Hi, sexy!"], "....-01-01": ["Happy new year!"], "Monday": ["Hello Monday !"], "Friday": ["Thank God, It's Friday !"] },- ComplimentsArray function
complimentArray: function () { var hour = moment().hour(); var date = this.config.mockDate ? this.config.mockDate : moment().format("YYYY-MM-DD"); var day = this.config.mockDay ? this.config.mockDay : moment().format('dddd'); //Add this line var compliments; ------ removed some code for brevity, do not actually remove it ! for (var entry in this.config.compliments) { if (new RegExp(entry).test(date) || new RegExp(entry).test(day)) { //Change this line, Note the second check for day compliments.push.apply(compliments, this.config.compliments[entry]); } }Output should be as below


–
Ashish -
RE: default compliments
@MrDondoT said in default compliments:
< font color=‘red’ >hello sweety< font >
It is possible but you need to change the current module code as well, right now it is creating text node but to support html text code needs to be changed as below
for (var part of parts) { // create a text element for each part //compliment.appendChild(document.createTextNode(part)); //Comment this line compliment.innerHTML += part; //Add this line // add a break ` compliment.appendChild(document.createElement("BR")); }Result should be as below if your compliments are like below
evening: ["Wow, you look hot!", "You look nice!", "Hi, <i>sexy!</i>","< font color='red'>hello sweety< /font>"],

–
Ashish -
RE: Disassemble or not ?
Hi
I have just finished (some final touchup still remains) my first 32" mirror (more in showcase section) and it looks good to have the back panel. I will post photo of back and front panel here once I get some time.
–
Ashish -
RE: MagicMirror² Module: YrThen
Hi
I am not sure if i understood your question correctly. can you please add screenshot/photo so its clear what is issue.
About size of modules there are many ways to do it. Modules have config options like maxWidth or you can also make whole screen bigger or smaller using browser zoom function.–
Ashish -
RE: MagicMirror² Module: YrThen
@mettenes said in MagicMirror² Module: YrThen:
MMM-YrThen
Should be easy
- clone the MMM-YrThen module
- Go to MMM-YrThen/translations folder
- copy en.json file and paste it as nn.json
- open nn.json and replace all the english translations to Norwegian
- Go to MMM-YrThen folder and open MMM-YrThen.js file
- Edit getTranslations function and code as below, note the last line.
getTranslations: function() { return { no: "translations/no.json", en: "translations/en.json", sv: "translations/sv.json", fi: "translations/fi.json", fr: "translations/fr.json", es: "translations/es.json", el: "translations/el.json", da: "translations/da.json", nn: "translations/nn.json", } },- Save the file and restart the Magic mirror.
PS: Are you sure Norwegian is not already supported in this module ? I can see no.json file and I think that is also being used as Norwegian language code ?
Let me know if above does not work.–
Ashish -
RE: Disassemble or not ?
Hi Peter,
I would remove the bezel as it will get the display and mirror closer, also bezels are mosly bigger then the display’s outer frame so you will also need smaller mirror. About the back cover it depends on your frame. If frame is covering the back side, then it is fine. I am building my first mirror with Samsung TV UE32D5000 and did only removed the bezel and kept the cover. My plan is to reuse the wall mount that came with TV so it is strong and I do not need hooks in the frame. I will keep it posted in show your mirror topic how it goes.
Regards,
Ashish -
RE: Video player -> would someone like to help me to write a program?
Hi @Goldjunge_Chriz you can check below post this have mostly similar feature. few changes and it should work for you. I am replying here so if some one have different opinion or better solution then can suggest, if you have any query for the below then do send me chat.
https://www.instructables.com/id/Raspberry-Pi-video-player-for-Children/
-
RE: Two way mirror shop in Netherlands (near Leiden)
@raf Thanks for the reply, i am already aware of Pyrasied but as you know its acrylic and want to keep it last option. If i can’t find good glass in budget then will go for Pyrasied or any other acralic.
-
RE: Video player -> would someone like to help me to write a program?
Yes, i can help. infect i have also seen few open source scripts/players where one or more things are controlled by GPIO. I have limited time so i can not commit any time line for this yet.
-
RE: Video player -> would someone like to help me to write a program?
@Goldjunge_Chriz got it… will check if i can help you with it. Is it fine that background script is starting and stopping the player based on GPIO input ?
-
RE: Video player -> would someone like to help me to write a program?
May be you can check https://github.com/osmc/osmc ? this is open source media player, you can modify the source code to support your feature ?
-
RE: Step by step video tutorial - how to build frame less magic mirror !
Well done Prakhar It looks awesome. My friend in India is also looking for the two way mirror. can you tell me from where did you get the two way mirror ?
-
Two way mirror shop in Netherlands (near Leiden)
Dear Builders,
I am following this addictive community from quite some time and finally trying to build my own magic mirror. How ever i am not able to find reliable supplier near Leiden in Netherlands. Any one from here knows a local shop in Leiden region ? I visited many shops or talk to them on phone but either they do not have that type of mirror or its very expensive and they do not have sample to show me. I am looking for size 75cms X 45 cms, what should be reasonable price for this size. Any help or direction would be helpful.
Regards,
Ashish -
RE: My Magic Mirror - 100x70cm
@marcnlx Well done, this looks amazing. Can I ask you from where did you ordered and which Plexiglass two way mirror ?
-
RE: best acrylic sheet
Hi @MichMich Thank you very much for this project. i am following this for many years and finally got some time to get my hands on this.
for a start i would like to start with smaller mirror but i am having difficulties getting it here in Netherlands (near Leiden). All the shops online are quite expensive. can you please tell me from where you got your mirror ?