Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Begiresh is a lightweight none-jQuery, smart application banner targeting major Iranian android markets. A live demo can be seen at roozame.com.
For having more information, demo and how-to instructions, visit inb-co.github.io/Begiresh (currently only Farsi).
This project was inspired by jquery.smartbanner.
$ yarn add begiresh
$ npm install --save begiresh
https://unpkg.com/begiresh/dist/begiresh.js
https://unpkg.com/begiresh/dist/begiresh.css
Begiresh.css
to <head>
of your HTML: <head>
<title>Roozame.com</title>
<meta name="cafe-bazaar-app" content="app-id=com.inb.roozame"> <!-- And/Or -->
<meta name="google-play-app" content="app-id=com.inb.roozame"> <!-- And/Or -->
<meta name="myket-app" content="app-id=com.inb.roozame">
<link rel="android-touch-icon" href="roozame-android-icon.png"> <!-- And/Or -->
<link rel="apple-touch-icon" href="roozame-apple-touch-icon.png"> <!-- And/Or -->
<link rel="apple-touch-icon-precomposed" href="roozame-apple-touch-icon-precomposed.png">
<link rel="stylesheet" href="path/to/begiresh.css" media="screen" title="Begiresh Smart Banner CSS">
<!-- Other Stuff Here -->
</head>
Begiresh.js
to <body>
of your HTML: <body>
<!-- Other Stuff Here -->
<script src="path/to/begiresh.js"></script>
</body>
new Begiresh({
title: 'روزامه Roozame',
author: 'ایده نگاران بینا'
});
you can use these options for having a customized smart banner:
Option | Default Value | Type | Description | Required |
---|---|---|---|---|
title | none | string | Title of app | Yep |
author | none | string | Author of app | Yep |
price | رایگان | string | Price of app | Nop |
icon | Site's Favicon | string | Address to app's icon | Nop |
daysHidden | 15 | number | Number of days banner hides after dismiss | Nop |
daysReminder | 90 | number | Number of days banner hides after download | Nop |
storeLang | User's Language | string | User and store's language (on ISO Language Codes) | Nop |
store | googlePlay | string | Store's ID | Nop |
button | بگیرش | string | Text on download button | Nop |
theme | default | string | Begiresh Theme | Nop |
force | false | boolean | Force to have banner on every platform and ignoring cookies | Nop |
onDownload | none | function | run a function after download | Nop |
onClose | none | function | run a function after dismiss | Nop |
These stores are currently supported:
Name | ID on Instance | ID on Meta |
---|---|---|
Googel Play (گوگلپلی) | googlePlay | google-play-app |
Cafe Bazaar (کافهبازار) | cafeBazaar | cafe-bazaar-app |
Myket (مایکت) | myket | myket-app |
To customize and develop the project you could use following npm commands:
npm run build
npm run build-js
npm run build-css
Begiresh is a free and open project developed and maintained by Javid Izadfar at INB Co., published under MIT license.
FAQs
A mobile application smart banner for Iranian markets
We found that begiresh demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.