HOME | DD

Published: 2013-10-26 17:42:36 +0000 UTC; Views: 11916; Favourites: 227; Downloads: 0
Redirect to original
Description
With this userscript, you can search within your notes.After indexed, searching is finished within seconds.
How to install:
Link: phi.pf-control.de/userscripts/…
This script will work in
- Firefox + Greasemonkey
- Chrome + Tampermoneky
- Opera + Violentmonkey
- Safari + Tampermonkey
For a detailed instruction, see my manual:
dediggefedde.deviantart.com/jo…
How to use
After you installed the script, the "Search"-Tab should appear within your Notes-menu.
Clicking it will make the search form appear.
On the first time there should be the text
'No notes fetched so far! Press "Index Notes"! '
on the far right.
Click "Index Notes" for a full scan of the currently selected folder! This may take a little time (Firefox: around 70 Notes/s, Chrome around 90 Notes/s; e.g. 380 Notes in Firefox takes around 5s)
You can break indexing by leaving the site any time! The script will ask you on your next visit, if it should continue indexing.
If you already have your Notes indexed, you can click on "Check Notes" to add all notes cou got since the last scan.
Now you are ready to search by inserting text into the search fields and press enter or the "Search" button.
For a more detailed explaination how to search, so the "How to search" section!
Clicking on a search result will show you the regarding Note! If you want to mark or delete it, please use the buttons at the bottom of the note!
You can also click on the result's header to sort through the results! Another click will revert the order.
Please Note that the Date will be displayed according to your computer's language-setting (for me that's German, so I got a Mittwoch instead of Wednesday).
How to search
Searching Title/Author and Text works slightly different:
Title/Author:
If you type single words, they will be searched OR connected. That means
Title: contest help
Will search all Notes where there is contest OR help within the Title.
Capital letters are treated like smaller ones.
The words themselves are a CONTAIN request: Notes like flowercontest or contesthelp will also match.
Text:
Searching in Text is a FULLWORD search: contest will only match my little contest here and not contesthelp or "flowercontest".
To change that, there are a couple of operators: - + " *.
To make it a CONTAIN-Search, you can simple add a * at the end or the beginning of a word:
contest* will match contest as well as contesthelp. *test* will match contest as well as testresult or contestresult.
Making a group of words AND connected, just prepend a + before the word:
+contest +result will only match Notes that contain contest AND result
Adding words without a + will add their matches to the AND-result:
+contest flower +result will match notes that only contain contest AND result, but also Notes with flower
The NOT-Operator is easy to understand: prepend a - and matching results won't be shown.
contest -flower will show all Notes with contest but only if they don't contain flower!
Quotes can be used to protect spaces/word groups.
"flower contest" will match only Notes that actually contain flower contest.
This will internally first search without quotes and then make a fulltext-check to remove unwanted notes.
That's why you some results for quote-searches will vanish after a second.
Combining will work like this:
+"flower *test*" +*result -help "no concern"
This will match Notes that have something like flower contesthelp AND testresult within them, but not help! contesthelp is fine as the help is not alone here. additionally Notes where no concern is part of will also be shown.
But I guess in most cases, single word searches or using + and * will be fine for you.
Thanks goes to
- You of course! I keep wanting to use my scripts and I keep on getting requests to repair the old version of this script!
- zio-san had a really nice idea how to improve the data-structure to index notes! As Browsers are limitting stored values to 5 Mbyte, I had to think of a ncie solution here. With making a list of words pointing to the containing note-ids, 500 Notes only take around 200 kbyte, increasing better than linear...
- ChinZaPep and NightsCrimson for spontan beta-testing: I wrote the script within 3 days and had another 5 days beta-testing with a lot of updates.^^
Update-Log
2013-10-26, v1.00: script published
Related content
Comments: 221
Dediggefedde In reply to ??? [2023-01-05 15:15:46 +0000 UTC]
👍: 0 ⏩: 0
EnjoyerOfNovelVisual [2022-09-06 18:59:34 +0000 UTC]
👍: 0 ⏩: 1
Dediggefedde In reply to EnjoyerOfNovelVisual [2022-09-06 20:41:31 +0000 UTC]
👍: 0 ⏩: 1
EnjoyerOfNovelVisual In reply to Dediggefedde [2022-09-07 03:05:28 +0000 UTC]
👍: 0 ⏩: 1
Dediggefedde In reply to EnjoyerOfNovelVisual [2022-09-07 07:13:38 +0000 UTC]
👍: 0 ⏩: 1
EnjoyerOfNovelVisual In reply to Dediggefedde [2022-09-07 15:40:13 +0000 UTC]
👍: 0 ⏩: 1
Dediggefedde In reply to EnjoyerOfNovelVisual [2022-09-07 21:00:30 +0000 UTC]
👍: 0 ⏩: 1
EnjoyerOfNovelVisual In reply to Dediggefedde [2022-09-07 21:35:05 +0000 UTC]
👍: 0 ⏩: 1
Dediggefedde In reply to EnjoyerOfNovelVisual [2022-09-07 23:48:48 +0000 UTC]
👍: 0 ⏩: 1
EnjoyerOfNovelVisual In reply to Dediggefedde [2022-09-08 01:18:33 +0000 UTC]
👍: 0 ⏩: 0
HuskyRockstar [2022-05-01 02:03:41 +0000 UTC]
👍: 0 ⏩: 2
Dediggefedde In reply to HuskyRockstar [2022-05-07 20:28:41 +0000 UTC]
👍: 0 ⏩: 1
HuskyRockstar In reply to Dediggefedde [2022-08-09 01:53:53 +0000 UTC]
👍: 0 ⏩: 0
Dediggefedde In reply to HuskyRockstar [2022-05-01 20:13:09 +0000 UTC]
👍: 0 ⏩: 0
HigashiyamaDenbe [2020-12-04 01:50:15 +0000 UTC]
👍: 0 ⏩: 1
Dediggefedde In reply to HigashiyamaDenbe [2020-12-04 09:21:51 +0000 UTC]
👍: 1 ⏩: 1
HigashiyamaDenbe In reply to Dediggefedde [2020-12-04 13:13:06 +0000 UTC]
👍: 0 ⏩: 1
Dediggefedde In reply to HigashiyamaDenbe [2020-12-04 15:10:29 +0000 UTC]
👍: 0 ⏩: 0
HigashiyamaDenbe [2018-10-24 20:01:57 +0000 UTC]
I wish I could use this on mobile because that's all I can use dA on seeing as how the website is a literal breeding ground for viruses... ;_;
👍: 0 ⏩: 1
Dediggefedde In reply to HigashiyamaDenbe [2018-10-24 23:53:17 +0000 UTC]
Hi!
In principle there is a search now implemented within the site. The script has a few more features, but it's still rather similar.
If you are using android, you could try firefox for android. It supports desktop-browser-extensions like Greasemonkey or Tampermonkey.
With this I was able to run multiple of my scripts on my smartphone.
personally I never got a virus from deviantart. I also block all ads and never really download anything...
👍: 0 ⏩: 0
legorulez49 [2018-02-25 04:23:26 +0000 UTC]
Hey uh... me again. There is an issue where if I cancel an indexing and if I try to refresh/reset the note thing, it doesn't reset it. No matter what I do it will always keep bringing the "you interrupted the last scan of /1, do you want to continue indexing it?"
👍: 0 ⏩: 0
Aristodes [2018-01-15 03:51:05 +0000 UTC]
My search tab disappeared, even with the script enabled.
👍: 0 ⏩: 0
Aristodes [2018-01-14 23:59:44 +0000 UTC]
I've typed words in the text box, but nothing comes up, even when the other two boxes have entries in them, and I know that some of the applicable notes contain the words I typed into the text box.
👍: 0 ⏩: 0
kiriIl [2017-11-25 19:20:20 +0000 UTC]
I just installed it on Chrome using Tampermonkey, but nothing has changed in my notes tab after refreshing ):
👍: 0 ⏩: 1
Dediggefedde In reply to kiriIl [2017-11-25 22:47:00 +0000 UTC]
Sometimes you need to refresh another time to make the change happen. In those cases tampermonkey-scripts are executed too early...
Are you trying on your general inbox page www.deviantart.com/notificatio… ?
I just checked on my chrome & Tampermonkey (up to date) and it still seem to work there! ^^
👍: 0 ⏩: 1
kiriIl In reply to Dediggefedde [2017-11-26 02:09:33 +0000 UTC]
Yeah, I've refreshed a bunch of times, closed and reopened, and have since restarted my laptop. And I have been using that link, yes.
The extension is enabled in my TM dashboard, and it's clearly doing something -- on most DA pages, I only have one script running (llama button), but when I go to my notes, the number icon inside the TM extension shortcut jumps up to 2, but I don't see any difference in my notes page -- the search box isn't showing up. ):
👍: 0 ⏩: 1
Dediggefedde In reply to kiriIl [2017-11-26 15:44:58 +0000 UTC]
mmh... do you have the latest chrome and tampermonkey installed?
The search-box should not appear immediatelly. Instead there should be a new entry on the left called "search" (above "Inbox"). When that is clicked, the search box should appear.
It might also help to uninstall the script, restart the browser and install it again.
In case that does not help, go to your inbox, press F12 to open the console and refresh the page. Are there any errors visible?
👍: 0 ⏩: 1
kiriIl In reply to Dediggefedde [2017-11-27 00:41:39 +0000 UTC]
Oh, I found it! I was looking for the "Check Notes" button in the preview, and didn't notice the new tab. Thanks for dealing with my stupidity P:
👍: 0 ⏩: 1
Felina-Faerlaingal [2017-09-15 18:07:08 +0000 UTC]
doesn't seems to work anymore, I can index, but search return nothing no matter what I type :c
👍: 0 ⏩: 1
Dediggefedde In reply to Felina-Faerlaingal [2017-09-16 14:55:29 +0000 UTC]
Hi! Thanks for the report!
It still seem to work for me...
Try the "reset to Default" Button or uninstalling the script and restarting the browser before installing it again.
There is probably a fragment from an unsuccessfull scan left blocking the search process.
👍: 0 ⏩: 1
Felina-Faerlaingal In reply to Dediggefedde [2017-09-16 15:40:33 +0000 UTC]
Did a reset and it worked thanks!
👍: 0 ⏩: 0
legorulez49 [2017-08-27 22:41:51 +0000 UTC]
Hi it's me again. Apparently the note search thing disappeared from my Tampermonkey.
Whenever I try to reinstall the module, it closes out the tab and nothing happens.
👍: 0 ⏩: 1
Dediggefedde In reply to legorulez49 [2017-08-28 20:22:01 +0000 UTC]
Hi! This was likely caused by the https-change of dA.
I still haven't fixed all scripts...
Please update the script! It should be fixed now. ^^
👍: 0 ⏩: 0
LannaD [2016-07-21 08:31:39 +0000 UTC]
Congrats on making this. It is definitely better than the official note search.
Sadly, it seems that it stopped working after an update (Ubuntu-Firefox-Greasemonkey combo). Greasemonkey still shows the script when I visit my notes page, but the "search" tab is gone. Too bad, since it worked almost perfectly (it would refuse to index notes a couple of times, but after a couple of tried, it all went smoothly) for so long.
👍: 0 ⏩: 1
Dediggefedde In reply to LannaD [2016-07-21 09:40:21 +0000 UTC]
Hi! Thanks for the report!
I had some time to look into it now and there seemed to be a typo...
Please try out the current version 1.1.17 and tell me if it is working now!
👍: 0 ⏩: 1
LannaD In reply to Dediggefedde [2016-07-21 10:20:09 +0000 UTC]
Sadly, it is still not showing up, even after I restarted my browser. Should I alsom restart my system and delete cookies? Maybe reinstall Greasemoneky, as well?
👍: 0 ⏩: 0
SigurdHosenfeld [2016-06-13 13:15:10 +0000 UTC]
This extension is essential, and far, far better than the in-built note search! With this I can search within all my notes, even from 10 years ago. It's incredibly useful, wish I knew about it earlier. Well done.
👍: 1 ⏩: 0
Bootsii [2016-06-07 06:04:01 +0000 UTC]
Ich versuche "commission" im Text aber ich sehe keine Notes. Ich weiß, ich habe viele mit dieses Word?
Entschuldiging für mein Deutsch, es ist nicht so gut im Moment 8( ich nehme Kurse
i.gyazo.com/433f30093b448a5d52…
👍: 0 ⏩: 1
Dediggefedde In reply to Bootsii [2016-06-07 22:34:48 +0000 UTC]
Hi! Thanks for your report!
I can reproduce the error and try to fix it.
Untill then, if you add a * after your word, it seems to work properly ("commission*").
--------
Hi! Danke für deinen Bericht!
Ich kann den Fehler reproduzieren und versuche ihn zu beheben.
Bis dahin funktioniert es wohl korrekt, wenn du ein * hinter das Suchwort schreibst ("commission*").
👍: 0 ⏩: 1
Bootsii In reply to Dediggefedde [2016-06-08 00:07:56 +0000 UTC]
Danke schön!
Aber wann ich versuche "commission*" zu schreiben, es ist auch funktioniert nicht
orig12.deviantart.net/4b7b/f/2…
👍: 0 ⏩: 1
Dediggefedde In reply to Bootsii [2016-06-08 03:10:45 +0000 UTC]
Mmh... Sorry that it doesn't work...
It seems to work for me at the moment...
However, it is supposed to work without * anyway, so I will work on a solution. ^^
-----
Mmh... Schade, dass es so nicht für dich klappt...
Für mich scheint so so zu gehen...
Es sollte aber sowieso auch ohne * funktionieren, daher arbeite ich eh an einer Lösung. ^^
👍: 0 ⏩: 1
Bootsii In reply to Dediggefedde [2016-06-08 06:53:26 +0000 UTC]
Meinst du, es ist etwas mit Chrome oder Tampermonkey? Denn wenn ich installiere es "404'd"
Ich werde versuchen deinstallieren und reinstallieren, dann berichten zurück ^^
👍: 0 ⏩: 1
Dediggefedde In reply to Bootsii [2016-07-21 09:42:03 +0000 UTC]
Hi! I found a bug today that might have caused your reported problem.
Would you mind testing the current version 1.1.17 to see if it is working now?
👍: 0 ⏩: 1
Bootsii In reply to Dediggefedde [2016-07-27 14:44:43 +0000 UTC]
Should I download it again or is it automatically updated?
Usernames seem to be working, but still no use when entering "commission"
👍: 0 ⏩: 1
Dediggefedde In reply to Bootsii [2016-07-27 15:04:35 +0000 UTC]
I don't know the interval and if it is checked automatically at the moment at all for updates...
best bet is to install it again and refresh the page.
👍: 0 ⏩: 0
legorulez49 [2016-03-13 00:16:23 +0000 UTC]
Well now that DA has it's official note search thing, I'm still going to use this because the official one can only go back to 2016-2015.
And this one can only travel back to 2013-2012, 2014 is still stuck in limbo I guess
👍: 0 ⏩: 1
Dediggefedde In reply to legorulez49 [2016-03-13 01:33:35 +0000 UTC]
Yes, I remember your last report.
I still guess that there is some amount of character limitation or a strange character that stops the reading out...
The main problem here is/was, that I only have about 500 note since 2010. And for me the script is working for all of them.
If you want to try something out again, I could try throwing some try{}catches around me inside the script, so it might not simply abort the scan...
In principle writing a userscript and loading the data into the client storage is the wrong attempt in the first place...
Maybe I consider writing an archive application than can use the local filesystem... Things like tags, mixed history and non-exclusive groups are still not part of dA-Note system and might come in handy for commissions...
👍: 0 ⏩: 1
legorulez49 In reply to Dediggefedde [2016-03-13 01:54:47 +0000 UTC]
Yeah, you could try that.
👍: 0 ⏩: 1
Dediggefedde In reply to legorulez49 [2016-03-13 23:24:02 +0000 UTC]
Hi again!
I was taking another look at the code and added some lines to make the code more stable.
If you want to give it another try, update to version 1.1.16!
I tried that version in Firefox Greasemonkey and Chrome Tamermonkey and both work for me...
In case there is an error, there should now also be a more informing message in the console.
(console in firefox/chrome: press ctrl+shift+j)
Regarding the idea of writing a client application that downloads the notes and makes them searchable/organizable on hard drive...
... Would that be something that you use?
What features are you missing right now (e.g. conversation-history, tags etc.)?
What platform would you use this on (desktop/smartphone, win/linux/android etc.) ?
👍: 0 ⏩: 1
| Next =>