minify icon indicating copy to clipboard operation
minify copied to clipboard

Something, somewhere, somehow failed! Did you post a link to an unreachable script?

Open JFM74 opened this issue 5 years ago • 7 comments

Just trying to minify a simple function, there is no link to an unreachable script.

Using latest Firefox on desktop PC.

JFM74 avatar May 17 '20 10:05 JFM74

I've the same issue. Someone knows how to fix this that ?

BriceLof avatar May 26 '20 14:05 BriceLof

In order for someone to help you, you need to provide an example of code that results in this error.

enricodias avatar May 31 '20 14:05 enricodias

Here you go:

function example() { alert("horrible error message"); }

JFM74 avatar May 31 '20 15:05 JFM74

I managed to minify this normally using the lib locally, but not in the minifier's website. Apparently something in the website is restricting the function alert().

The current website is not hosted at github, so only the owner can fix it.

enricodias avatar May 31 '20 15:05 enricodias

Something so simple like this its returning that error:

function somethingToDo(){
 if(true){
   console.log('Error');
 }
}

Will give it a try locally.

alxweasley avatar Jun 03 '20 06:06 alxweasley

I'm getting this error even from simple if/else statements like this one:

if(!$(this).hasClass('selected')) {
	// do something
} else {
	// do something else
}

It's really frustrating.

CaptFredricks avatar Jun 25 '20 16:06 CaptFredricks

@matthiasmullie the minifier website is crashing, and I think that's why it's throwing the "something... failed!" message. It's trying to reach minify.php and getting a 403 Forbidden error:

POST https://www.minifier.org/minify.php 403

minify.php is the form action. Could this be simply because the file name is different? Minify.php with a capital letter?

tdiprima avatar Aug 13 '20 14:08 tdiprima