Research
Recent Trends in Malicious Packages Targeting Discord
The Socket research team breaks down a sampling of malicious packages that download and execute files, among other suspicious behaviors, targeting the popular Discord platform.
simple-jscalendar
Advanced tools
Changelog
[1.4.5] - 2023-12-12
jsCalendar.ext('example', {init : <function>, create : <function>, update : <function>});
freeze
/unfreeze
/isFrozen
to prevent the calendars from re-rendering the UI PR#56 by [paxperscientiam](https://github.com/paxperscientiam]info.start
parameter on onMonthRender
(was not the first date)onDateRender
incorrect isCurrentMonth
, isPreviousMonth
and isNextMonth
(issue #45)fdotw
bug #42min
& max
limits PR#58 by zangarmarshReadme
Just a simple javascript calendar
• Download • Live preview • Documentation • Languages • Calendar Generator •
Add the jsCalendar code on <head>
<link rel="stylesheet" type="text/css" href="jsCalendar.css">
<script type="text/javascript" src="jsCalendar.js"></script>
Then insert a calendar on <body>
<div class="auto-jsCalendar"></div>
Or maybe you need to display it in an other language!
<!-- Load Greek language -->
<script type="text/javascript" src="jsCalendar.lang.gr.js"></script>
<!-- Display calendar in Greek -->
<div class="auto-jsCalendar" data-language="gr"></div>
We also have a simple GUI calendar code generator, so that you can easily create your jsCalendar.
You can also use the jsCalendar package on the unpkg CDN.
<!-- jsCalendar v1.4.5 Javascript and CSS from unpkg cdn -->
<script src="https://unpkg.com/simple-jscalendar@1.4.5/source/jsCalendar.min.js" integrity="sha384-F3Wc9EgweCL3C58eDn9902kdEH6bTDL9iW2JgwQxJYUIeudwhm4Wu9JhTkKJUtIJ" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://unpkg.com/simple-jscalendar@1.4.5/source/jsCalendar.min.css" integrity="sha384-CTBW6RKuDwU/TWFl2qLavDqLuZtBzcGxBXY8WvQ0lShXglO/DsUvGkXza+6QTxs0" crossorigin="anonymous">
Or you can also use the jsCalendar npm package on the jsdelivr CDN.
<!-- jsCalendar v1.4.5 Javascript and CSS from jsdelivr npm cdn -->
<script src="https://cdn.jsdelivr.net/npm/simple-jscalendar@1.4.5/source/jsCalendar.min.js" integrity="sha384-F3Wc9EgweCL3C58eDn9902kdEH6bTDL9iW2JgwQxJYUIeudwhm4Wu9JhTkKJUtIJ" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/simple-jscalendar@1.4.5/source/jsCalendar.min.css" integrity="sha384-CTBW6RKuDwU/TWFl2qLavDqLuZtBzcGxBXY8WvQ0lShXglO/DsUvGkXza+6QTxs0" crossorigin="anonymous">
Full example with all the files and their integrity hashes using unpkg here and using jsdelivr here (the hashes are the same).
If you are into npm you can install the lib's package by just typing in your command line
npm i simple-jscalendar
# Copy library files to your resources folders
cp ./node_modules/simple-jscalendar/source/jsCalendar.js ./js/jsCalendar.js
cp ./node_modules/simple-jscalendar/source/jsCalendar.css ./css/jsCalendar.css
# Maybe copy a language and a theme too
cp ./node_modules/simple-jscalendar/source/jsCalendar.lang.gr.js ./js/jsCalendar.lang.gr.js
cp ./node_modules/simple-jscalendar/themes/jsCalendar.clean.css ./css/jsCalendar.clean.css
More info on the npm page https://www.npmjs.com/package/simple-jscalendar
Build-in Themes Additional Themes
Contact me to leave me your feedback or to express your thoughts.
You can open an issue or send me a mail
This project is under The MIT license. I do although appreciate attribute.
Copyright (c) 2017-2021 Grammatopoulos Athanasios-Vasileios
FAQs
Just a simple javascript calendar
The npm package simple-jscalendar receives a total of 1,914 weekly downloads. As such, simple-jscalendar popularity was classified as popular.
We found that simple-jscalendar demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
The Socket research team breaks down a sampling of malicious packages that download and execute files, among other suspicious behaviors, targeting the popular Discord platform.
Security News
Socket CEO Feross Aboukhadijeh joins a16z partners to discuss how modern, sophisticated supply chain attacks require AI-driven defenses and explore the challenges and solutions in leveraging AI for threat detection early in the development life cycle.
Security News
NIST's new AI Risk Management Framework aims to enhance the security and reliability of generative AI systems and address the unique challenges of malicious AI exploits.