Open anandvarkeyphilips opened 7 years ago
Conversion of XML Schema succeeded with issues. File C:\Users\anand\Desktop\pacsFinal.xsd has warnings. Facet 'xs:totalDigits' has no JSON Schema equivalent and was therefore ignored. Warning location: xs:schema / xs:simpleType / xs:restriction / xs:totalDigits Facet 'xs:fractionDigits' has no JSON Schema equivalent and was therefore ignored. Warning location: xs:schema / xs:simpleType / xs:restriction / xs:fractionDigits Facet 'xs:totalDigits' has no JSON Schema equivalent and was therefore ignored. Warning location: xs:schema / xs:simpleType / xs:restriction / xs:totalDigits Facet 'xs:fractionDigits' has no JSON Schema equivalent and was therefore ignored. Warning location: xs:schema / xs:simpleType / xs:restriction / xs:fractionDigits Facet 'xs:totalDigits' has no JSON Schema equivalent and was therefore ignored. Warning location: xs:schema / xs:simpleType / xs:restriction / xs:totalDigits Facet 'xs:fractionDigits' has no JSON Schema equivalent and was therefore ignored. Warning location: xs:schema / xs:simpleType / xs:restriction / xs:fractionDigits Facet 'xs:totalDigits' has no JSON Schema equivalent and was therefore ignored. Warning location: xs:schema / xs:simpleType / xs:restriction / xs:totalDigits Facet 'xs:fractionDigits' has no JSON Schema equivalent and was therefore ignored. Warning location: xs:schema / xs:simpleType / xs:restriction / xs:fractionDigits
console.log(document.domain); var errorAlert = 0; var firstSell = 0; var firstBuy = 0; var myInterval = setInterval ( function( ){ $.ajax({ type: "GET", url: 'https://www.zebapi.com/api/v1/market/ticker/btc/inr', success: function(data) { if(data.sell){ if(firstSell != data.sell){ notifyMe(data); } notifyMe(data); firstSell = data.sell,firstBuy = data.buy; } }, error: function(e) { if(errorAlert%10==0 && errorAlert<30){ if(errorAlert==30){ alert("Contact Anand Varkey Philips.Ph: 9446466207"); } errorAlert++; alert("Zebpay Url not reachable"); } } }); }, 10000 );
function notifyMe(data) { var message = "The Selling prices are :"+data.sell+"The Buying prices are :"+data.buy; // Let's check if the browser supports notifications if (!("Notification" in window)) { alert("This browser does not support system notifications"); } // Let's check whether notification permissions have already been granted else if (Notification.permission === "granted") { // If the user accepts, let's create a notification if (permission === "granted") { var options = { body: message, icon: "\zebpay.png" } var n = new Notification("Zebpay alert",options); setTimeout(n.close.bind(n),1000); } } // Otherwise, we need to ask the user for permission else if (Notification.permission !== 'denied') { Notification.requestPermission(function (permission) { // If the user accepts, let's create a notification if (permission === "granted") { var options = { body: message, icon: "\zebpay.png" } var n = new Notification("Zebpay alert",options); setTimeout(n.close.bind(n),1000); } }); }
// Finally, if the user has denied notifications and you // want to be respectful there is no need to bother them any more. }
// Copyright (c) 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file.
/**
is found. */ function getCurrentTabUrl(callback) { // Query filter to be passed to chrome.tabs.query - see // https://developer.chrome.com/extensions/tabs#method-query var queryInfo = { active: true, currentWindow: true };
chrome.tabs.query(queryInfo, (tabs) => { // chrome.tabs.query invokes the callback with a list of tabs that match the // query. When the popup is opened, there is certainly a window and at least // one tab, so we can safely assume that |tabs| is a non-empty array. // A window can only have one active tab at a time, so the array consists of // exactly one tab. var tab = tabs[0];
// A tab is a plain object that provides information about the tab. // See https://developer.chrome.com/extensions/tabs#type-Tab var url = tab.url;
// tab.url is only available if the "activeTab" permission is declared. // If you want to see the URL of other tabs (e.g. after removing active:true // from |queryInfo|), then the "tabs" permission is required to see their // "url" properties. console.assert(typeof url == 'string', 'tab.url should be a string');
callback(url); });
// Most methods of the Chrome extension APIs are asynchronous. This means that // you CANNOT do something like this: // // var url; // chrome.tabs.query(queryInfo, (tabs) => { // url = tabs[0].url; // }); // alert(url); // Shows "undefined", because chrome.tabs.query is async. }
/**
/**
/**
// This extension loads the saved background color for the current tab if one // exists. The user can select a new background color from the dropdown for the // current page, and it will be saved as part of the extension's isolated // storage. The chrome.storage API is used for this purpose. This is different // from the window.localStorage API, which is synchronous and stores data bound // to a document's origin. Also, using chrome.storage.sync instead of // chrome.storage.local allows the extension data to be synced across multiple // user devices. document.addEventListener('DOMContentLoaded', () => { getCurrentTabUrl((url) => { var dropdown = document.getElementById('dropdown');
// Load the saved background color for this page and modify the dropdown
// value, if needed.
getSavedBackgroundColor(url, (savedColor) => {
if (savedColor) {
changeBackgroundColor(savedColor);
dropdown.value = savedColor;
}
});
// Ensure the background color is changed and saved when the dropdown
// selection changes.
dropdown.addEventListener('change', () => {
changeBackgroundColor(dropdown.value);
saveBackgroundColor(url, dropdown.value);
});
}); });
thendiii
Untitled3.txt
Conversion of XML Schema succeeded with issues. File C:\Users\anand\Downloads\pacs.003.001.04.xsd has warnings. Facet 'xs:totalDigits' has no JSON Schema equivalent and was therefore ignored. Warning location: xs:schema / xs:simpleType / xs:restriction / xs:totalDigits Facet 'xs:fractionDigits' has no JSON Schema equivalent and was therefore ignored. Warning location: xs:schema / xs:simpleType / xs:restriction / xs:fractionDigits Facet 'xs:totalDigits' has no JSON Schema equivalent and was therefore ignored. Warning location: xs:schema / xs:simpleType / xs:restriction / xs:totalDigits Facet 'xs:fractionDigits' has no JSON Schema equivalent and was therefore ignored. Warning location: xs:schema / xs:simpleType / xs:restriction / xs:fractionDigits Facet 'xs:totalDigits' has no JSON Schema equivalent and was therefore ignored. Warning location: xs:schema / xs:simpleType / xs:restriction / xs:totalDigits Facet 'xs:fractionDigits' has no JSON Schema equivalent and was therefore ignored. Warning location: xs:schema / xs:simpleType / xs:restriction / xs:fractionDigits Facet 'xs:totalDigits' has no JSON Schema equivalent and was therefore ignored. Warning location: xs:schema / xs:simpleType / xs:restriction / xs:totalDigits Facet 'xs:fractionDigits' has no JSON Schema equivalent and was therefore ignored. Warning location: xs:schema / xs:simpleType / xs:restriction / xs:fractionDigits