World-wd / Snifferdog

Open-source search engine for ZeroNet, based in Kaffiene.
https://bit.surf:43110/snifferdog.bit
8 stars 4 forks source link

Doodle javascript isn't working #64

Open danimesq opened 7 years ago

danimesq commented 7 years ago

https://github.com/Plasmmer/Snifferdog/blob/master/doodles/date/04-11-2017/script.js isn't working to add custom style and change title of the logo.

danimesq commented 7 years ago

@mkg20001, can you help?

mkg20001 commented 7 years ago

See #66

danimesq commented 7 years ago

Thanks :smile:

mkg20001 commented 7 years ago

No problem This can be closed now?

danimesq commented 7 years ago

I'll try to fix some things.

mkg20001 commented 7 years ago

You could also make the ^doodles/ optional so we can archive them and some js so it loads the same doodles every year (12-24 for example)

danimesq commented 7 years ago

@mkg20001 can it work without inline CSS? I want to apply it only to the object when he have ".logo" class. Also I want to change title of the two logos to "41th anniversary of Apple Computer I". bug1 bug2

mkg20001 commented 7 years ago

Running $("<style>.logo...</style>").append($("body")) for some reason removed the body element from the page. Also you can use $(".logo").each((i,e) => e.style="...")) to apply it to all elements

danimesq commented 7 years ago

Added "doodles" as optional files in: 80a3b59fea417a0bcf9c166bbe5100cc182902f5.