Adel-Magebinary / browsershots

Automatically exported from code.google.com/p/browsershots
0 stars 0 forks source link

Allow disabling/deleting a browser for a factory #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Please add functionality to disable a browser and to delete it from a factory.

For example, if you have added "Opera X" to your factory, you might want to 
disable it temporarily and/or remove it for this factory (although it's still 
installed).

Original issue reported on code.google.com by dhahler@gmail.com on 29 Jun 2010 at 10:50

GoogleCodeExporter commented 9 years ago
That would be quite useful. I made an error when updating to a new version of 
Firefox. I have two different versions now, and I'm unable to delete the wrong 
one.

That wouldn't be a problem if it was possible to simply delete the browser.

Original comment by tailsze...@gmail.com on 30 Jun 2010 at 9:49

GoogleCodeExporter commented 9 years ago
I had installed Chromium 5.0 and upgraded to 6.0 - now both 5.0 and 6.0 are 
registered, but all requests for 5.0 get served by 6.0 and fail with an error 
("Requested browser version 5.0 but got 6.0." followed by "The browser has not 
visited the requested website.").

Original comment by dhahler@gmail.com on 6 Sep 2010 at 4:38

GoogleCodeExporter commented 9 years ago
I just downloaded the shotserver from the svn.  There is a deactivate button 
there but for some reason it's not on the live browsershots.org site, maybe 
there was a problem with it and it was removed.  The svn hasn't been updated 
since oct/2008

Original comment by nik...@gmail.com on 20 Jan 2011 at 3:41

GoogleCodeExporter commented 9 years ago
As far as I know the server (interface) has been rewritten using Django.
If I remember correctly this is not reflected in the SVN sources in any way.

Original comment by dhahler@gmail.com on 1 Feb 2011 at 2:59

GoogleCodeExporter commented 9 years ago
Before the site / svn went offline for a great period of time during 2009-2010 
and the site was redesigned there was a deactivate / delete button. This is no 
longer the case.

Original comment by jami...@gmail.com on 1 Feb 2011 at 3:33

GoogleCodeExporter commented 9 years ago
There are solutions?

Original comment by marchida...@gmail.com on 14 Feb 2011 at 12:03

GoogleCodeExporter commented 9 years ago
Not apart from abandoning the configuration, and creating a new one instead.

Original comment by dhahler@gmail.com on 14 Feb 2011 at 4:01

GoogleCodeExporter commented 9 years ago
Here's how to do it.

Navigate to the factory the browser is in. i.e.(url: 
http://browsershots.org/factories/yourfactoryname)

Next, hover over or click the browser in question. In the url you should see a 
5 digit number. That is the ID of your browser. Keep it in mind for the next 
step.

Finally, make sure you are AT YOUR FACTORY PAGE, NOT BROWSER and paste the 
following into your address bar and replace 00000 with the id number of your 
browser.

It should return true if it worked.

To reverse it replace the word 'deactivate' with 'activate'

javascript:var id = 00000;var url = '/browsers/' + id + '/deactivate'; 
$.getJSON(url, {}, function(json){if (json['success']) 
{alert(json['success'])}else{alert(json['error'])}});void(0);

Original comment by ad...@scott-a-howard.net on 5 Mar 2011 at 6:46

GoogleCodeExporter commented 9 years ago
Oh great! Thank you. It looks like it works ;)
I made a little snippet for greasemonkey to make it easier to use: 
http://userscripts.org/scripts/show/98380 (it also looks like it works but i 
will be grateful for testing/feedback)

Original comment by neverous@neverous.info on 5 Mar 2011 at 11:51

GoogleCodeExporter commented 9 years ago
Cool, thanks! I have used the GreaseMonkey script, but the entry stays in the 
list - I cannot say yet if it really works, but it looks like it; it said 
"deactivated" though.

Is something similar possible for removing whole factories?

btw: I've noticed that browsers will get removed after some time of inactivity 
from the factory configuration; the factories I have not been using for some 
weeks have no browser config associated with them anymore.

Original comment by dhahler@gmail.com on 12 Mar 2011 at 7:53