| Welcome |
[Mar. 11th, 2016|09:54 pm] |
This is my blog pertaining to the Firefox extensions I write / maintain. Currently these are two: * repagination, which appends several pages of e.g. search results into one page. Its part of the blog is http://levmozdev.livejournal.com/tag/repagination. * myurlbar a, which enables you to search the bookmarks and history for a certain word by just typing it in the URL bar of the browser. Its part of the blog is http://levmozdev.livejournal.com/tag/myurlbar%20a.
It's interesting that both are improvements of extensions by 383.
If you don't see all of this blog in one page, you can use repagination to :-)
You are welcome to post any questions, comments, suggestions and bug reports as comments in this blog. |
|
|
| Myurlbar_a enhancements |
[Apr. 15th, 2006|09:59 pm] |
I'd thought it was good enough as it is until Nikitas sent me some thought-provoking mails. Partly because of that and partly after reading The Cathedral and the Bazaar, I've decided to do major cleanup.
So I've moved all that 4x code reduplication to one function, replaced the tree hack (which had stopped working anyway) by direct RDF datastore access and done some cleanup. I have to do more. Then it'll be easy to make the extension more customizable.
I also want to send a beta version to all interested. There won't be many enhancements there, maybe only favicons and context menus.
TODO: !sort (currently not) !separator (currently none) !load in 2 parts, updating the view in between (currently not) !Fix searches by history URL Add favicon: #Icon Strang problem: need to load page for history to work, o/w datasource does not GetAllResources. Use about:blank?
use a tree? add context menus? options dialogs? assume typed string is from the beginning? |
|
|
| Idea |
[Apr. 15th, 2006|09:35 pm] |
|
The Israeli Yellow Pages site, http://www.d.co.il, works in Firefox, but displays maps properly only in Explorer. So I use it always with IE tab, which is lame. Solution: write a greasemonkey script to make it load maps from another site, e.g., eMap or Walla. |
|
|
| TODO repagination - summary, categories, priorities |
[Apr. 5th, 2006|10:06 pm] |
Bugs None Pages where repag doesn't work (these can be considered bugs, but the heuristics for determining the right link will never be perfect) http://www.wincustomize.com (link runs Javascript) Interoperability (priority depends on hardness, probably it will be one fix for several extensions)
- BetterSearch
- CustomizeGoogle
- BumbleSearch
- RIP
Improvements
- Indication that loading is finished
- Any number
- Make links inside the page point to anchors
- Make it persistent. E.g., enable going back in history to work properly, bookmarks.
- Enable adding one more page (without pointing to the link? By toolbar?)
- Delete repeated headers & footers.
- Add only those pages where a certain string can be found.
- Make a slideshow control (really distant future!)
|
|
|
| Repagination 2006.4.4 |
[Apr. 4th, 2006|11:30 pm] |
The only difference is a fix of the following bug: repaginating the same search twice returned the same results again instead of the next results.
The query for the link to use included [position() = last()], which was supposed to search for the last appearance of a link with the same text / image. Instead, it searched for one that was the last child of its parent. (?) So what I did was take the query results and iterate till I got to the last one.
Hmmm... Maybe I should delete [position() = last()] from the query, too? |
|
|
| TODO myurlbar a |
[Apr. 1st, 2006|10:48 pm] |
Michael Wardle reports: - Breaks the down arrow (I guess I'll have to hide it. I've no clue how to restore the original functionality). - The second field is not aligned. (I'm using spaces, because tabs display as gibberish chars instead of aligning. I have some bad solution ideas.) - the autocomplete order sometimes changes during typing in an unexpected way (worksforme)
rjbs: - Enable to config the first-char delay length. (should be easy) Me: - Find some way to make the favicons display (no clue how. They're supposed to work as it is, per 383.) |
|
|
| (no subject) |
[Apr. 1st, 2006|10:47 pm] |
The original author 383 gave me 5 stars and wrote he's using my version. |
|
|
| TODO repagination |
[Apr. 1st, 2006|10:38 pm] |
Anonymous: - Make it persistent. E.g., enable going back in history to work properly, bookmarks. Bajrang reported: - Doesn't work with sites like http://www.wincustomize.com. (On that site, the link runs Javascript. Solution: load current page in iframe, activate the link. Reuse the iframe.) - Interoperation with extensions like "BetterSearch" and/or "CustomizeGoogle". - "Repag again" shows the same pages again (oops...) klode: - Make links inside the page point to anchors Jon C.: - Enable adding a page Me: - Delete repeated headers & footers. Also interoperation with BumbleSearch (linuxoid) and RIP (Brian). |
|
|
| TODO |
[Mar. 17th, 2006|12:33 am] |
1. Inform the user what's new on first loading. Copy from ImageSize. 2. Toni complains that if a page doesn't fit on the screen, it should scroll automatically. Ignore? 3. Make a speed control? 4. Delete headers and footers 5. Make the last "next" link load more pages? 6. Inform Csimbi 7. Answer Toni |
|
|
| Version 2006.3.16 |
[Mar. 17th, 2006|12:05 am] |
Fixed Csimbi's bugs (http://levmozdev.livejournal.com/1410.html).
For the first bug, did as planned: copied each child of body separately.
For the second, used the following algorithm:
if link text contains a single number
for the first page loaded, try to increment the number and search for that link (e.g., search for a "3" link)
if not found, search for a link with the original text
for each successive page, behave consistently (i.e., either always increment or never)
Reason: There might be a self link with the page number.
Also fixed bug found in code: Originally: If the next page to be loaded is the same as the previous, stop. Fixed: If the next page to be loaded is the same as the current one, stop. |
|
|
| TODO |
[Mar. 13th, 2006|11:30 pm] |
Jeffery suggests to make the throbber work when pages are loaded. Actually, I've been missing an indication myself. I'd rather it was the progress bar, though. Only I've no clue how to do any of the above. |
|
|
| More bugs |
[Mar. 13th, 2006|11:22 pm] |
Brian writes that after repaginating at http://housd.net/ and at http://www.pvponline.com/, the "next" link downloads the next page instead of loading it. Worksforme. UPD: After the release of version 2006.3.16, he writes the bugs are fixed. |
|
|
| Repagination bugs |
[Mar. 11th, 2006|10:51 pm] |
Csimbi has reported the following bugs:
* At http://thepiratebay.org/brwsearch.php?b=1&c=401 the appended pages have smaller fonts. I've no clue why this happens. Must be something with CSS. I'll try to append each element of each appended page separately instead of appending the whole <body> as is done now. I hope this works.
* Doesn't work with http://bt.eastgame.net/. It turns out that on that page, the ">>" link does not link to the next page, but to the last one. So there is no "next" link, and technically it's not a bug. But there is an easy solution to this problem: If the link's text is a number, increment the number each time. So I'm gonna do this. Then one will be able to repaginate that site using the "2" link.
The question arises: What about links like "[2]"? I can check if the link contains a number. But then, what about LiveJournal's "Next 20" links? There are several solutions. What I'll do is this: check for links which are numbers only, then wait to see if anyone complains about sites with [2]-like links.
Upd: The first bug fixed as planned, the second differently. Fixes are here. |
|
|
| Repagination |
[Mar. 11th, 2006|10:10 pm] |
repagination is an improvement on antipagination. It enables to do two things:
1. Right-click on any link, choose "Re-pagination", "All". Repagination will append the page linked to at the end of the current page. Then at that page it will attempt to find the "same" link, and append the linked page again, etc. So this is useful for blogs, search results etc. with "next" or "previous" links. It is also possible to limit the number of pages appended, which I usually do myself.
2. Right-click on any link, choose "Re-pagination", "Slideshow", then the number of seconds. Repagination will load the page linked to (replacing the current page, as usual), wait for the specified time, then attempt to find the "same" link in that page and load the page linked to, etc. This is useful for photos. There is no way to limit the number of pages in the slideshow in advance. Of course, the slideshow will stop if repagination doesn't find the link (i.e., at the last photo). It can also be stopped by right-clicking anywhere on the page and choosing "Re-Pagination", "Stop".
Changes in the first version (2006.2.18) relative to the original antipagination: Made it work even with scripts disabled. |
|
|
| Myurlbar a |
[Mar. 11th, 2006|04:58 pm] |
myurlbar a is a patch of myurlbar. Its effect: when you type several characters in the URL bar, you get a pop-up menu of all bookmarks and history entries containing that string either in their URL or their title (page title for history items, name for bookmarks).
Changes in the first version (2005.12.15) relative to the original myurlbar: Each URL appears at most once. In the original extension, the same URL could appear up to 4 times if the string appeared both in the URL and the name, and the page appeared both in bookmarks and history. I just added a hash (i.e., object) to keep all URLs that had already appeared. I also added a separator between bookmarks and history. Specifics: Bookmarks are searched before history. Inside each of these two sources, titles before URLs. Each page appears the first time it's encountered in this order.
Changes in the second version (2006.01.20): I was annoyed by a long list popping up after the first character. But I didn't want to disable the option of searching by a single letter altogether. So I implemented this compromise: After the first character, a search is performed only if the user is inactive for 400 milliseconds. After the second character, 200 milliseconds. After the third and any subsequent character, immediately. |
|
|
| navigation |
| [ |
viewing |
| |
most recent entries |
] |
| |
|
|