![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
prerender-vkshare-useragent
Advanced tools
Prerender plugin that enables you to create snapshots that prepared for vkShare crawlers
Prerender plugin that enables you to create snapshots that prepared for vk.com.
Prerender creates snapshots with PhantomJS useragent (like the following) even if the original request is from vk crawlers.
PhantomJS/x.x.x ...
If you prepare pages, layouts or styles for mobiles depends on those useragent, you need to be requested with mobile useragent.
So this plugin adds 'iPhone'(default) to the useragent when the original request is from mobile devices or bot.
PhantomJS/x.x.x ... iPhone
In your local prerender project run:
$ npm install prerender-vkshare-useragent --save
Then in the server.js that initializes the prerender:
server.use(require('prerender-vkshare-useragent'));
You can use the enviroment variable CUSTOM_USER_AGENT
export MOBILE_USER_AGENT=custom-user-agent
# default is 'vkShare'
FAQs
Prerender plugin that enables you to create snapshots that prepared for vkShare crawlers
The npm package prerender-vkshare-useragent receives a total of 2 weekly downloads. As such, prerender-vkshare-useragent popularity was classified as not popular.
We found that prerender-vkshare-useragent demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.