Are you sure you want to go to an external site to donate a monetary value?
WARNING: Some countries laws may supersede the payment processors policy such as the GDPR and PayPal. While it is highly appreciated to donate, please check with your countries privacy and identity laws regarding privacy of information first. Use at your utmost discretion.
I already have a script on my page, and I copied the info block from that script, but for some reason I'm getting a 404 "Selected file is not JavaScript." error when I try to upload it... Any idea why?
// ==UserScript== // @namespace https://openuserjs.org/users/Mr_FJ // @name RockPaperShotgun anti-anti-adblock // @description Removes RockPaperShotgun's anti-adblock bullsh*t. // @copyright 2019, Mr_FJ (https://openuserjs.org/users/Mr_FJ) // @grant none // @license MIT // @version 1.0 // @updateURL https://openuserjs.org/meta/Mr_FJ/RPSAntiAntiAdblock.meta.js // @downloadURL https://openuserjs.org/install/Mr_FJ/RPSAntiAntiAdblock.user.js // @match https://www.rockpapershotgun.com/* // ==/UserScript== // ==OpenUserJS== // @author Mr_FJ // ==/OpenUserJS== function addGlobalStyle(css) { var head, style; head = document.getElementsByTagName('head')[0]; if (!head) { return; } style = document.createElement('style'); style.type = 'text/css'; style.innerHTML = css; head.appendChild(style); } (function() { setTimeout(function() { addGlobalStyle('.no-js { overflow-y: visible !important;}'); addGlobalStyle('.ads-enabled { overflow-y: visible !important;}'); var element = document.querySelectorAll('div[class*="sp_message_container"]'); Array.prototype.forEach.call( element, function( node ) { node.parentNode.removeChild( node ); }); var element2 = document.querySelectorAll('div[class*="sp_veil"]'); Array.prototype.forEach.call( element2, function( node ) { node.parentNode.removeChild( node ); }); }, 5000); })();
Sorry that was meant to say 400, not 404.
Re: @Mr_FJ:
Nope. Works for me. Try a different browser and/or a clean profile... then try again?
OUJS Admin
Adding it using the ditor instead of as a file seems to have worked, too bad the filename is not as clean.
Re: @Mr_FJ:
Re: @Mr_FJ:
Copied vs. upload is a little different story. I'm in the middle of rebuilding dev station and it will probably be another day before things are even remotely set to look for fixes possibly in our deps... possibly in the browsers sending the incorrect MIME type... idk yet.
Anyhow... confirmed with File upload in a "dirty" profile in this browser.
Re: @Mr_FJ:
It is "clean" but the browsers are arguing again on standards. We've made an exception at #1599. You should be good to go.
Just a note... while I do check here on occasion... it is best to use the Development link below on every page to create an issue if you think it's an actual bug.
Thanks for the report.
OUJS Admin