1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00
Commit Graph

22 Commits

Author SHA1 Message Date
Miciah Dashiel Butler Masters
c884123d53 SMJS: Add scripts for YouTube and PornoTube 2006-10-20 23:11:25 +00:00
Miciah Dashiel Butler Masters
f22dbfb6f5 SMJS: block_pr0n: return the original URI if not blocking it
Return the original URI instead of the value true, so that any later hooks
will have the URI.
2006-10-20 23:10:36 +00:00
Miciah Dashiel Butler Masters
40a0152ed3 SMJS: Add reload() function to reload hooks.js 2006-06-23 04:00:02 +00:00
Miciah Dashiel Butler Masters
eced76116d SMJS: videodownloader.net smartprefix 2006-06-23 03:58:31 +00:00
Miciah Dashiel Butler Masters
a8cb377325 SMJS: Babelfish smartprefix
Port the Lua Babelfish smartprefix
2006-06-23 03:55:08 +00:00
Miciah Dashiel Butler Masters
4206716d2a SMJS: gmane: search for newsgroup or mailing list if no search terms
If given only one word, guess whether it is a newsgroup or a mailing list
and search for it.
2006-06-23 03:52:49 +00:00
Miciah Dashiel Butler Masters
ca312b7d90 Fix for recent change in Google Video 2006-03-26 20:28:25 +00:00
Miciah Dashiel Butler Masters
b64b76a3ce Revert bad stuff in a3fb98f499
Revert stuff that wasn't supposed to have been committed.
2006-02-19 07:31:39 +00:00
Miciah Dashiel Butler Masters
a3fb98f499 src/bfu
Inconsequential change to push_hierbox_delete_button

Use item instead of context->item.
2006-02-19 06:22:12 +00:00
Miciah Dashiel Butler Masters
8d91c501a6 SMJS: mangle_deb_bugnumbers: fix horrible error
Use cached.type instead of cached.content_type so that the script
works again.
2006-01-30 15:42:58 +00:00
Miciah Dashiel Butler Masters
2e9d433402 SMJS: mangle_deb_bugnumbers: add <pre>; set rendered view
Use the newly available view_state object to change to rendered view
and wrap everything in <pre> ... </pre> if the document MIME type is
text/plain.
2006-01-28 03:27:45 +00:00
Miciah Dashiel Butler Masters
495fb2805b SMJS: Give user scripts access to the view_state
Introduce the view_state object to ECMAScript with properties .uri and
.plain and pass the current view_state to preformat hooks.
2006-01-28 03:27:45 +00:00
Miciah Dashiel Butler Masters
4fda3ba828 Use <meta> refresh instead of elinks.location method.
Instead of assigning the URI for the video to elinks.location, instead
create a <meta> tag to automatically load the video. This way, the video
will still be automatically loaded when the document is loaded from cache.
2006-01-25 15:52:19 +00:00
Miciah Dashiel Butler Masters
8391080201 Reflow some logic in google_video.js. 2006-01-25 15:50:51 +00:00
Miciah Dashiel Butler Masters
8a4a18796b Add a rewrite rule for video.google.com to automatically play videos
From the file:

   Play videos at video.google.com with minimal niggling. Just follow
   the link from the front page or the search page, and the video will
   automatically be loaded.
2006-01-25 15:36:31 +00:00
Miciah Dashiel Butler Masters
1082c85bd0 Fix GITweb smartprefix blob, tree, and history commands. 2006-01-16 18:53:56 +00:00
Jonas Fonseca
73a91e6d8f Also allow 'gitweb tag elinks-0.11rc0' 2005-12-30 03:37:56 +01:00
Jonas Fonseca
b2848dd1cb Add gitweb smartprefix
Examples are 'gitweb shortlog elinks-0.11rc0' and 'gitweb search NEWS'.
2005-12-30 01:32:31 +01:00
Miciah Dashiel Butler Masters
a0f8465770 Return uri from rewrite_uri instead of true. 2005-12-29 22:28:58 +00:00
Miciah Dashiel Butler Masters
ff2f2e2df1 Factor smartprefixes_common.js and smartprefixes_bookmarks.js out of
hooks.js and add smartprefixes_classic.js.
2005-12-29 22:28:36 +00:00
Miciah Dashiel Butler Masters
b9a3855f98 Use ===, which checks for equality of value as well as equality of type,
instead of doing both checks separately.
2005-12-29 07:32:12 +00:00
Miciah Dashiel Butler Masters
10e8282e7c Add a hooks.js for SpiderMonkey to make Jonas happy. 2005-12-29 07:06:35 +00:00