HOME | DD
Published: 2011-06-03 21:58:51 +0000 UTC; Views: 6649; Favourites: 57; Downloads: 19
Redirect to original
Description
About:The script will add some buttons to your activity-list. If you click one, it will turn grey and all items that are associated with the button will get hided.So, if you click the Llama-Button, all Llama-messages will get hided.
Hides watches, badges/Llamas and favs.
This is a working script! Install it if you want this!
Features:--> Hides deselected groups of your activity-list
-->will force non-stack-view, as it overwrites html-code with code from difi.
-->You wont be able to select multiple entries -> select all disabled here.
-->Integrated as new buttons into the activity-menu
-->works with watches, badges and favs
-->calculated manipulated amount of messages
-->easy way of switching to old display with Alt+N (or GM-button if you like^^)
Preferences:
Will work in Firefox, Opera, Chrome/Chromium and IE (no guarantee!) - HowTo: dediggefedde.deviantart.com/jo…
Install: userscripts.org/scripts/show/1… Mirror: phi.pf-control.de/userscripts/…
I just saw some visual Suggestion some days ago that suggested to filter out all birthday-events... however, I can't find it anymore as it seems to get removed from some group-folder...
Click here to create a critique!
Related content
Comments: 49
Naeviss [2015-06-01 09:02:32 +0000 UTC]
Is it possible that this does not work together with the llama-giver script? ŐŐ
also it hasnt been updated? ;-;
I can see the buttons, tho nothing happens plz help
👍: 0 ⏩: 2
Dediggefedde In reply to Naeviss [2015-06-05 22:13:10 +0000 UTC]
Hi again!
I was working on this for a bit but I can't decide how I want it to work in the end.
What's easy to implement is just hiding entries when selected. This however leads to pages with e.g. only 2 entries or even empty pages. So loading the next items would be nice in display. But here dA makes it complicated. while I can access the information, just generating new items by scratch won't add the needed events to it: selecting, moving, dragging, deleting etc.
So, I guess it would be even worse than it is now.
So, what I try is clone all nodes, add them to an invisible container, let the script scroll to page 2 and add the ones from page 1 again. In that case most of the Events are preserved.
However, here starts the problem of knowing what I want: should the script automatically scroll through pages to load additional items? maybe through all items at once? should there still be a limitation of 10 items per page? or maybe an extra button "load more" to get the items from the next page...
What is your opinion on this?
👍: 0 ⏩: 1
Naeviss In reply to Dediggefedde [2015-06-05 22:50:17 +0000 UTC]
Hi : )
Ő-Ő I see I see Ő-Ő
Through all items at once would be great, I think : )
I used this script before, so I thinkg that would be good, but it would be even better if we could wait for some other's answers? :"D I mean this through all items thing is fine for me D
👍: 0 ⏩: 0
Dediggefedde In reply to Naeviss [2015-06-01 10:49:06 +0000 UTC]
Actually I wasn't aware anyone is using this script ^^
I will take a look at it, but I have to wait until I get activities again...
Usually I get 1-4 activities notifications per day, which I always delete instantly.
When I get the chance to test this script and its compatibility, I will make another response to you.
👍: 0 ⏩: 0
Sasa-Van-Goth [2011-07-10 18:39:21 +0000 UTC]
Isn't working in Opera 11 all I get is this error message:
[10/07/2011 20:36:48] JavaScript - [link]
User Javascript thread
Uncaught exception: ReferenceError: Undefined variable: GM_getValue
Error thrown at line 8, column 0 in 104103.user.js:
if(GM_getValue('dev_hide_mes_akt'))
👍: 0 ⏩: 1
Dediggefedde In reply to Sasa-Van-Goth [2011-07-10 22:53:38 +0000 UTC]
Well, you need to configure your opera for using userscripts:
- cross-domain XMLHttpRequest implementation scripts (a-lib-stacktrace.js and a-lib-xmlhttp-cd.js) from here:
[link]
[link]
- wrapper for GM_* functions (aagmfunctions.js) from here:
[link]
- enable the following options in Opera: opera:config#UserPrefs|UserJavaScript and opera:config#UserPrefs|UserJavaScriptonHTTPS
- modify the aagmfunctions.js script to use the cross-domain XMLHttpRequest implementation by changing the following line
var xmlhttp = new XMLHttpRequest();
into
var xmlhttp = new opera.XMLHttpRequest();
Then it should be possible to use any Greasemonkey-userscript on Opera, too.
I would like to make it easier, (the GM_setvalue could be replaced with cookies) but the gm_xmlhttpwebrequest don't have any intern alternative for the userscripts...
I also changed my script a little as there were some problems with using it before the page loaded...
On my PC, it's working on Opera now^^
👍: 0 ⏩: 1
Sasa-Van-Goth In reply to Dediggefedde [2011-07-10 23:11:15 +0000 UTC]
Yes! It does work perfectly now! Thank you so much
👍: 0 ⏩: 1
Dediggefedde In reply to Sasa-Van-Goth [2011-07-11 13:18:59 +0000 UTC]
Nice that it works now!
Sorry for the inconvenience!
I hope you like it anyway. And thanks for the fav!
👍: 0 ⏩: 1
Sasa-Van-Goth In reply to Dediggefedde [2011-07-11 14:40:32 +0000 UTC]
To be honest...I had another problem and it isn't still working
I thought it was working yesterday but I had just a few favs, today with more messages I realized it doesn't work. (I have no errors anymore with it, though)
I also wanted to use your devtoolbar but it keeps giving me errors, too bad >.<
I guess Opera isn't made for scripts, even if I have had another dA script since some days and it always worked...
...Most probably I made something wrong lol I'm so n00b with this kind of things XDD
👍: 0 ⏩: 1
Dediggefedde In reply to Sasa-Van-Goth [2011-07-11 15:02:47 +0000 UTC]
Well, yes, opera is not designed for Greasemonkey-userscripts as it doesn't know any GM-command^^
However, what is not working? And when (No buttons, buttons don't work, buttons only work once)?
Well, devtoolbar2 doesn't have opera in its dependence-list!
however, I modified it a bit (added 2 codelines) and now it works on my opera...
You need to Save all the files aagmfunctions.js, aaa-lib-xmlhttp-cd-fixed.js, a-lib-stacktrace.js and the userscript into the folder you selected for javascript-userfiles!
It is also necessary that you don't save the userscript with leading aa or aaa, as these scripts above have to be loaded before GM-userscripts.
(However I named them with numbers and it seems to be working, too!)
👍: 0 ⏩: 1
Sasa-Van-Goth In reply to Dediggefedde [2011-07-11 15:58:55 +0000 UTC]
Thank you for the help, and sorry if I'm wasting your time
I reinstalled the devtoolbar2, I have no errors and it is displayed this time, but everything says "0", "NaN" or "undefined" (I have some journal and dev right now)
Now, about the activity filter, the problems I have are:
-I can't see messages on the page 2 and the following (when I click on Next Page or on the number it "deletes" everything and on the top it says "0 activity messages" instead of the right number, I have to reload the page to see them again).
-Clicking on the star, llama or watchers icon it's almost the same, it doesn't sorts messages and everything disappears and I have to reload the page :\
👍: 0 ⏩: 1
Dediggefedde In reply to Sasa-Van-Goth [2011-07-11 16:40:46 +0000 UTC]
It's strange that there is no error-message (error-console?)...
I just tried to improve some other things for opera...
devtoolbar2 should display 0 until it is able to access the message-center to get the userid to contact difi for the amount of messages...
NaN and undefined shouldn't be displayes...
I don't have that much messages at the moment to test, so if it doesn't help you to go through the list of changes for getting userscripts worked I postet above, maybe update opera and reinstall the scripts again, you have to wait till I can reproduce your error!
👍: 0 ⏩: 1
Sasa-Van-Goth In reply to Dediggefedde [2011-07-11 18:00:13 +0000 UTC]
Alright
I have this error only on certain websites, dunno if it's related:
JavaScript - [link]
User Javascript thread
Uncaught exception: TypeError: 'opera.XMLHttpRequest' is not a constructor
Error thrown at line 234, column 4 in GM_xmlhttpRequest(details):
var xmlhttp = new opera.XMLHttpRequest();
called from line 77, column 1 in req(offset):
GM_xmlhttpRequest({
called from line 38, column 18 in laden():
req(0);
called from line 6, column 31 in program code:
window.onload=laden();
usually it looks like that [link]
while here I give you a screen of the messages [link]
👍: 0 ⏩: 1
Dediggefedde In reply to Sasa-Van-Goth [2011-07-11 21:57:22 +0000 UTC]
mmhh... did you check the content of the three a-files?
aaa-lib-xmlhttp-cd-fixed.js (19Kb)
aagmfunctions.js (12Kb)
a-lib-stacktrace.js (7Kb)
Maybe you saved the deviantart-link to one of these files...
I just deinstalled opera with all user-options, deleted the userscript-folder, installed the latest opera, folowed the manual I gave you and it just works fine^^
No NaNs in devtoolbar, no strange behavior in activity-filter...
I think GM_xmlhttpRequest doesn't work on your opera!
The userid I try to get gets invalid without a working it right, so 0*NaN=NaN and 1+Nan=NaN etc.^^
In Activity-Filter I use it to get the Messages from difi to arrange them anew... so, no connection, no Messages^^
the message tells me, your opera doesn't know opera.XMLHttpRequest, which should be implemented...
Do you have the latest version (11.50)?
Maybe you should try to delete these userfiles if they aren't corrupt, reinstall opera and try again^^
But maybe it would be a little bit too much for some little scripts^^
Well... are you using other userscripts as well?
👍: 0 ⏩: 2
Sasa-Van-Goth In reply to Dediggefedde [2011-07-12 09:21:36 +0000 UTC]
Ok I reinstalled Opera and now they both work!! °v°
Really awesome scripts! Thank you for helping!
👍: 0 ⏩: 0
Sasa-Van-Goth In reply to Dediggefedde [2011-07-11 22:30:20 +0000 UTC]
Yup the three files are ok
I have 11.50 yes, tomorrow I'll try reinstalling and let you know
I've been using this script [link] for a while, but it's the only one I ever found working with opera
👍: 0 ⏩: 0
hyperactive-activate [2011-06-21 15:55:19 +0000 UTC]
Would this work in Google chrome? If it hasn't been tested for GC yet I'd be willing to.
If it has does it work?
Sounds like a cool idea Looks it too
👍: 0 ⏩: 1
Dediggefedde In reply to hyperactive-activate [2011-06-21 16:40:35 +0000 UTC]
Well, in the current version, it shouldn't work as there is an XSS-issue: the site-request to difi is blocked.
You could use it anyway if you first install a script-handler like: [link]
Then you install the script again and it will work.
Please note that it could be unsafe for script you don't know to allow cross-site-requests!
I'm only contacting the deviantart-difi-site!
So please be aware, what scripts you install with this extension!
(in the options of this extension the userscripts will be listed with a note whether they do cross-site-requests)
The issue is about to be solved in one of the coming updates of Chrome...
👍: 0 ⏩: 1
hyperactive-activate In reply to Dediggefedde [2011-06-21 20:29:33 +0000 UTC]
Ahh,ok thank you
👍: 0 ⏩: 0
LAPoetry-n-Photo [2011-06-10 07:59:20 +0000 UTC]
Really love the idea but it's not working for me. It was installed successfully but the icons aren't showing in the activity center.
👍: 0 ⏩: 1
Dediggefedde In reply to LAPoetry-n-Photo [2011-06-10 09:29:02 +0000 UTC]
Thanks^^
Is there an error in the javascript-console (ctrl+shift+j)?
Did you test [link] or rather [link] ?
have you tried Alt+N, so it would be deactivated? look into about:config for greasemonkey.scriptvals.dev_hide_mes/Deviantart Activity Filter.dev_hide_mes_akt
if it is "false" it should work! (if true, double-click on entry to change)
👍: 0 ⏩: 1
LAPoetry-n-Photo In reply to Dediggefedde [2011-06-10 09:42:35 +0000 UTC]
I have a lot of errors in my javascript console but I'm running a lot of userscripts for DA, some which I disabled because they weren't working either.
I tested both and neither had the icons.
I tried Alt+N but I didn't notice a change in anything.
I'm a scripts noob - what do you mean by 'look into about.......if it is "false".....'?
thank you!
👍: 0 ⏩: 1
Dediggefedde In reply to LAPoetry-n-Photo [2011-06-10 09:57:07 +0000 UTC]
type into the adressbar in Firefox "about:config". there should be a warning and after this a long list^^
if you type into the textbox at the top of the page "activity" there should be a much smaller list containing the item, I've mentioned before. on the right side, you can see the value "false" or "true" or nothing, if nothing set.
If the value is already false, it may be a bug^^ I will try to find it as well^^
👍: 0 ⏩: 1
LAPoetry-n-Photo In reply to Dediggefedde [2011-06-10 13:52:16 +0000 UTC]
Ooh, I'm learning cool things!
It's true ^^
👍: 0 ⏩: 1
Dediggefedde In reply to LAPoetry-n-Photo [2011-06-10 17:38:09 +0000 UTC]
about:config are intern Firefox-Settings and some Variables, Greasemonkey uses...
Double-click it to turn it false and reload your message-center (e.g. with F5)
The buttons should show up in the activity-section.
What other scripts are you using? I almost installed every script I found within Deviantart (nt every userscript from userscripts.org^^)
👍: 0 ⏩: 1
LAPoetry-n-Photo In reply to Dediggefedde [2011-06-11 03:26:58 +0000 UTC]
I double clicked it to turn it false after I read you comment but even after I reloaded my message and activity center they didn't show.
I'm also using comment collector, da birthday today, da poll pies, deviant stats 7.1, friends list improvements, deviantplusv3, devianttidy4.2, deviation quick view, gallery skip, llama button, message count, suggest dd, and yours!
👍: 0 ⏩: 1
Dediggefedde In reply to LAPoetry-n-Photo [2011-06-11 16:31:59 +0000 UTC]
ok, thanks for the list!
I installed all of that (except gallery skip and llama button, as i didn't find them^^)
it worked fine as well... so I went through the code and made some major localization-changes using advanced Xpathes, so it may work now for you, too^^
Just try to install it again!
👍: 0 ⏩: 1
LAPoetry-n-Photo In reply to Dediggefedde [2011-06-11 20:53:41 +0000 UTC]
gallery skip and llama button are in my favourites, if you want to add them. however, gallery skip isn't working for me, so i might not install that one.
it works now! thank you so much! it is really a useful feature, i
it!
👍: 0 ⏩: 1
Dediggefedde In reply to LAPoetry-n-Photo [2011-06-11 21:13:38 +0000 UTC]
Nice it works now^^
Well, I'm just using thumbzoom+, AMALL (wich does what yours is named like: llama button) deviantTidy and my three Activity-Filter, Multi_Open and devtoolbar2^^
The others were deinstalled as I don't need them^^ I'm just fine on how deviantart is right now^^
The only thing left there would be to filter out all group-deviations by button^^
👍: 0 ⏩: 1
LAPoetry-n-Photo In reply to Dediggefedde [2011-06-11 22:26:34 +0000 UTC]
Now that's the thing I want, to sort out the group deviations for the rest! GET ON THAT!
👍: 0 ⏩: 0
bradleysays [2011-06-05 08:36:52 +0000 UTC]
This has been featured in A Week in dA Related - #009 !
Please consider faving the article.
👍: 0 ⏩: 1
Dediggefedde In reply to bradleysays [2011-06-05 10:55:05 +0000 UTC]
thanks for the feature^^
👍: 0 ⏩: 0
namenotrequired [2011-06-04 23:42:32 +0000 UTC]
As I understand it, the llamas part wasn't really needed, as you can already block receiving notifications about badges in your settings.
Anyway, I don't get how it works... it doesn't remove my llamas when I click the llama button (well, on my test account ~PMnotrequired since that one had llamas - I'm on chrome) and when I refresh they're still there as well (and the button doesn't remember it was even clicked).
On this account, the buttons don't show up in the first place (could it be because I have more messages than just activity ones?), but the script must be active because it does notice when I stack or unstack them and refresh the page. But they still don't turn up.
👍: 0 ⏩: 2
Dediggefedde In reply to namenotrequired [2011-06-05 00:34:28 +0000 UTC]
link just broke after testing^^
[link]
👍: 0 ⏩: 1
namenotrequired In reply to Dediggefedde [2011-06-06 21:21:50 +0000 UTC]
I tried playing that in wmp but it was just a couple of seconds of nothing
👍: 0 ⏩: 0
Dediggefedde In reply to namenotrequired [2011-06-05 00:30:45 +0000 UTC]
I knew someone will comment something like this^^
The idea-part was to temporary filter different types of notifications out, while the setting-option seems to avoid getting them... The suggestion I was inspired said something about filtering tons of birthday-reminders out... however, I don't know their display_class, as I don't have any birthday-reminders at the moment^^
Well, I made a little video where it works.
[link]
it should work in http.../messages/, .../messages/#, .../messages/#view=activity, ...#view=feedback
If it works, you won't be able to select any items and use stacks in activities (working on that^^)
Maybe working requires to reload the page... I don't know why, as I proof for working every second...
If you click on a button, it should turn to grey and all entries associated to the icon should get hidden... clicking again->color->showing...
Maybe you need to press ALT+N, as you pushed it in the past sometime and now my script is disabled^^
I also experienced with chrome/iron that there seems to be a "Access-Control-Allow-Origin"-error for request to difi... maybe you try again in firefox or check your chrome-javascript.console, if that seems to bother you, too^^
I don't know if reminding the state of the buttons would be usefull... of course, that would only be... 12 sort lines of code^^
👍: 0 ⏩: 1
namenotrequired In reply to Dediggefedde [2011-06-06 21:22:26 +0000 UTC]
Birthday messages were removed a month or so ago (You may want to watch #hq , the dA headquarters, to find that sort of information if you don't already)
Should it work on http....messages/?loggedin=1 too?
Actually now the buttons don't show up at all anymore Even after I reinstalled it... Neither in Chrome nor in Firefox. I also ran in safe mode with no other extensions in Chrome, and tried Alt+N, but yeah, didn't work
👍: 0 ⏩: 2
Dediggefedde In reply to namenotrequired [2011-06-11 16:32:37 +0000 UTC]
I made some major changes in xpaths!
Maybe it works for you too now^^
👍: 0 ⏩: 0
Dediggefedde In reply to namenotrequired [2011-06-07 09:34:06 +0000 UTC]
nice^^
so... nothing works?^^
I can open the video in wmp on XP and 7 and in vlc...
Maybe you can uninstall the addon, clear all cache, restart FF again and install it again, testing it in [link]
Or something that may interfer: some FF-Addons block cross-site-requsts (I think, that's the name for a request from a script within a page). So, if you got anything special (noscript, adblockplus, ghostery works fine^^) could you please try to deactivate it for a test?
Another Idea is getting the javascript-console with ctrl+shift+j, so you could see, if the script makes an error^^
it would be right, if it works there, too^^ I don't have a List of all get-Parameters, so maybe I should make a blacklist instead or additional of my white-list^^
Well, I wasn't watching #hg^^ But I do now + get a birthday-notification yesterday (+ not in activities^^), so I guessed, there won't be any Messages than Badges, watches and favs (maybe points, but I don't get points as I don't need anything for points^^)
👍: 0 ⏩: 0
Dediggefedde In reply to prosaix [2011-06-04 09:55:54 +0000 UTC]
It seems?^^
Does that mean, that you find the idea interesting but don't want to install the script as you don't need the idea?^^
👍: 0 ⏩: 1
prosaix In reply to Dediggefedde [2011-06-04 12:32:35 +0000 UTC]
It's great. I'm supersuspicious of scripts just because I don't really get how they work.
👍: 0 ⏩: 1
Dediggefedde In reply to prosaix [2011-06-04 13:04:16 +0000 UTC]
To get them work in firefox you need to install the addon greasemonkey. Then you go to the page I linked in description and press "install"... Next time you reload deviantart, the script should be working^^
To write those scripts you also need something like greasemonkey (there are also possibilities to develop and use them in opera, IE and Chrome, but Firefox seems to be more comfortable^^).
There you can choose "new script", declare the page it should work on and use some javascript-commands to alter the page. For this script, I used a webrequest, to open deviantarts difi-enginge, which will return all the favs, watched deviations etc. (when userid given) and kind of analyzed it to insert the entries correctly...
Some Scripts are some lines long (like you want to get a black about:blank) or a few thousands lines when complicated...
👍: 0 ⏩: 1
prosaix In reply to Dediggefedde [2011-06-04 13:10:39 +0000 UTC]
Yes, I know that. Like I said, I'm just super suspicious when it comes to installing add-ons
👍: 0 ⏩: 1
deviant-garde [2011-06-03 23:54:47 +0000 UTC]
You're doing some pretty interesting stuff in that there code.
👍: 0 ⏩: 1

























