Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

browser-update

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browser-update - npm Package Compare versions

Comparing version 2.1.2 to 2.1.3

2

package.json
{
"name": "browser-update",
"version": "2.1.2",
"version": "2.1.3",
"description": "Remind users to update their browser in an unobtrusive way.",

@@ -5,0 +5,0 @@ "main": "update.npm.full.js",

@@ -107,3 +107,3 @@ //(c)2017, MIT Style License <browser-update.org/LICENSE.txt>

var n = window.navigator,b,vsmin;
window._buorgres=this.op=op=op||{};
var op = window._buorgres=op||{};
var ll = op.l||(n.languages ? n.languages[0] : null) || n.language || n.browserLanguage || n.userLanguage||document.documentElement.getAttribute("lang")||"en";

@@ -169,3 +169,3 @@ op.ll=ll=ll.replace("_","-").toLowerCase().substr(0,2);

var $buo_show = function() {
var op=this.op=window._buorgres;
var op=window._buorgres;
var jsv=24;

@@ -303,10 +303,9 @@ var tv=jsv;//"base";

var me=this;
div.onclick=function(){
if (me.op.newwindow)
window.open(me.op.url,"_blank");
if (op.newwindow)
window.open(op.url,"_blank");
else
window.location.href=me.op.url;
me.op.setCookie(me.op.reminderClosed);
me.op.onclick(me.op);
window.location.href=op.url;
op.setCookie(op.reminderClosed);
op.onclick(op);
return false;

@@ -319,5 +318,5 @@ };

else e.cancelBubble = true;
me.op.div.style.display = "none";
hm.style.marginTop = me.op.bodymt;
me.op.onclick(me.op);
op.div.style.display = "none";
hm.style.marginTop = op.bodymt;
op.onclick(op);
return true;

@@ -333,15 +332,13 @@ };

}
(function(me) {
(document.getElementById("buorga")||document.getElementById("buorgig")).onclick = function(e) {
e = e || window.event;
if (e.stopPropagation) e.stopPropagation();
else e.cancelBubble = true;
me.op.div.style.display = "none";
if (me.op.addmargin)
hm.style.marginTop = me.op.bodymt;
me.op.onclose(me.op);
me.op.setCookie(me.op.reminderClosed);
return false;
};
})(me);
(document.getElementById("buorga")||document.getElementById("buorgig")).onclick = function(e) {
e = e || window.event;
if (e.stopPropagation) e.stopPropagation();
else e.cancelBubble = true;
op.div.style.display = "none";
if (op.addmargin)
hm.style.marginTop = op.bodymt;
op.onclose(op);
op.setCookie(op.reminderClosed);
return false;
}

@@ -348,0 +345,0 @@ if (op.noclose) {

@@ -107,3 +107,3 @@ //(c)2017, MIT Style License <browser-update.org/LICENSE.txt>

var n = window.navigator,b,vsmin;
window._buorgres=this.op=op=op||{};
var op = window._buorgres=op||{};
var ll = op.l||(n.languages ? n.languages[0] : null) || n.language || n.browserLanguage || n.userLanguage||document.documentElement.getAttribute("lang")||"en";

@@ -110,0 +110,0 @@ op.ll=ll=ll.replace("_","-").toLowerCase().substr(0,2);

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc