NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name CoAzNeoSubscriber // @namespace CoAzNeoSubscriber // @include https://www.neobux.com/forum/* // @copyright 2016 // @version 1 // @grant none // @updateURL https://openuserjs.org/meta/coyoteazul/CoAzNeoSubscriber.meta.js // @require http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js // @description This is basically an RSS reader adapted to be easily used on Neobux // ==/UserScript== document.addEventListener('DOMContentLoaded', function () { if (!Notification) { alert('Desktop notifications not available in your browser. Try Chromium.'); return; } if (Notification.permission !== "granted") Notification.requestPermission(); }); function notifyMe() { if (Notification.permission !== "granted") Notification.requestPermission(); else { var notification = new Notification('Notification title', { icon: 'http://cdn.sstatic.net/stackexchange/img/logos/so/so-icon.png', body: "Hey there! You've been notified!", }); notification.onclick = function () { window.open("http://stackoverflow.com/a/13328397/1269037"); }; } } var FEED_URL = "https://www.neobux.com/rss/?/601418/"; var $ = unsafeWindow.jQuery; $.get(FEED_URL, function (data) { $(data).find("entry").each(function () { // or "item" or whatever suits your feed var el = $(this); console.log("------------------------"); console.log("title : " + el.find("title").text()); console.log("author : " + el.find("author").text()); console.log("description: " + el.find("description").text()); }); });