rejetto forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - NaitLee

Pages: 1 ... 4 5 6 7 8 ... 14
76
HTML & templates / Re: The "Takeback" template - A different & modern taste
« on: February 09, 2021, 09:13:01 AM »
Learn Nodejs and do further work on HFS3 :D

Ah, for some reasons I don't want to learn Node.
And by the way, I'm not really a tech-master, cannot do large projects with multiple files relied to each other, at least for now.
Sorry for that.

Besides, I just trying to make a template interpreter for a minimal "HFS" in Python, cross platform and lightweight for template making & debugging.
It's been a long time since last trial and I've messed up... Now trying to re-write...

P.S. I worry about that if anything unfortunate happened then we cannot use our beloved HFS 2, so I had such an idea. I'm not wondering to replace it. Don't think too much :)
P.S.2. I want to get away from the hand of Windows, should I write my Linux experience on this forum/elsewhere like GitHub Pages to help other guys who want so?

Would be better if all functions were inside a scheduler (task-swapper) module so that all get near-equal cpu time.

@Rapid has a version of HFS 2 that splitted server and client code. Have a try on that?

77
Beta / Re: version 2.4
« on: February 04, 2021, 10:50:34 AM »
Bug v2.4-rc07

When to Enable Anyone Upload Feature, and test files upload, not show upload progress bar.

But, I using v2.4-rc06 to v2.4-rc01, It works.

It's because in HFS 2.4 RC7 its template is removing JQuery dependency, and some features doesn't work properly after that.
It's been reported here

So, it's not a problem of HFS itself, but the default template :)
If you need upload work, you can change the template to RC6's one or those by the community.

78
HTML & templates / Re: The "Takeback" template - A different & modern taste
« on: December 15, 2020, 01:43:51 PM »
Want Fuh-2.0-Liked grid filelist in Takeback? Use the diff tpl in attachment :D

79
HTML & templates / Re: How to Speed up Rendering
« on: December 09, 2020, 02:33:18 AM »
how can I speed up the rendering of a page?

You can try those templates pinned on this child-board. They are all for new HFS 2.4 RC7. They are faster than default template. Pick your favorite one! :)

I've tried, my music folder with 569 big files and long names are rendered by default template within 4.5s, but with Takeback it decreased to 2s. Throwback and Mobil-light maybe even quicker than this.

Besides, you can manually sort your files to additional folders, ensure there are few files in a single folder.

80
其实这样的例子应该有很多了。但是让我碰见一个:http://193.42.26.37:85/

这货貌似盗了我一个朋友的 Skype 账号,给我发了个“协助商户流程.chm”。这是编译的 HTML 帮助文档,Windows 默认用嵌入的 IE 打开。

我把它拆开,草草解密了一下里面的 JavaScript,是调用 ActiveX 对象来下载上面网站的 Host.exe 病毒程序——毕竟 ActiveX 正是 IE 的不安全所在。

所以,保持警惕!不要乱打开文件!



后记:

1、这货居然用的不是我的 HFS 翻译版本?有点小生气耶…… 🙃
2、我只是个高三党,哪里来的商户?🤪
3、所以话说 HFS “降低了犯罪成本”?真荒唐……呵呵……
4、那个 CHM 文件我给附在下面,你们可以深入地研究研究……解压密码:"virus?" (不包含引号)
    ( I attached that CHM virus file below, have a hack with that ;) unzip password: "virus?" (quote signs not included) )

81
中文 - Chinese / Re: 国内 code.jquery.com jQuery CDN 问题
« on: December 03, 2020, 09:13:41 AM »
Ah, thanks ;)

致访客们:
如果访问不了 Chrome Web Store,插件 Decentraleyes 也可以在 GitLab 获取。

82
中文 - Chinese / 国内 code.jquery.com jQuery CDN 问题
« on: December 03, 2020, 04:49:38 AM »
包括此论坛的许多网站都在使用 code.jquery.com 作为其获取 jQuery 脚本的 CDN。
但是在我这里试图访问 code.jquery.com 的话对面会关闭连接——而且是在很长时间后。
这导致了我访问这个论坛的时候,如果不全局禁用脚本,加载会卡在这个 jQuery 上,特别慢。
而且就算我不禁用脚本,也不能使用大多数脚本功能,比如登录。

大家有没有这样的情况呢?有解决方法的话会更好 ;)

83
才发现这个地方 :D
可能你说的是这个:http://rejetto.com/forum/index.php?topic=13060.msg1066067#msg1066067
这个问题我已经在很早之前报告了,在最新的 2.4 测试版本中已修复

84
中文 - Chinese / Re: 怎么修改网页访问的时候的favicon图标
« on: November 27, 2020, 01:49:10 PM »
试过将favicon.ico放在根目录,显示的还是默认HFS图标的favicon
将网页模板的   <link rel="shortcut icon" href="/favicon.ico">修改成favicon的绝对路径也不行,

貌似这两种方法实际上都可以。可能只是浏览器缓存在作祟。试试 Ctrl + F5 刷新浏览器缓存?
我试了一下,如果 favicon.ico 不是有效的图标文件,也会导致原来的 favicon 不更新。试试换一个?(附件里有一个有效的图标,解压后试试?)
或者,可以在模板里用这个:(来自 http://rejetto.com/forum/index.php?topic=13060.msg1066172#msg1066172
Code: [Select]
<link rel="icon" href="data:,">
这样会强制使用无效的空图标数据。

85
I made a new i18n tool with pure JavaScript: https://github.com/NaitLee/i18-N.js-Lite

You can use this to localize your webpage or template easily.
Just define some languages in your page and include the script. See the example at readme.md.
Even a single page of .html is fine. You can copy-paste all the script into a <script> tag.

Any requests please report :D

86
what a diff template is and how it works

You can open both original template and diff template with text editors like Notepad, and edit them to fit your needs.

One way to use diff tpl is to append its contents to original template.
Another way is to put diff tpl to HFS root properties, a Diff Template tab is there, and paste diff tpls in the input box.

A diff template may general to most templates (like dj's ones) or for only specified template (like that one above).
So you may delete the diff tpl content in properties menu if you switch to another template.

87
A diff tpl that adds 3D effect to Takeback filelist (0.2.1). It can be cool with a high resolution touch screen on a party. :) See attach
It's beta. Sometimes filenames are visually disappeared if there are too many (only happens in chrome-based browsers, not affect firefox, reduce rotateX to 4.19deg helps).

88
HTML & templates / Re: Responsive small screen template
« on: October 25, 2020, 08:14:52 AM »
A tweak that makes mobil-light friendlier to computer (still responsive to mobile) :) See attach

89
can you add .mkv support for video player and other audio extenion like .wav , .m4a etc

I've updated the tpl to support mkv, m4a on-demand preview.

In the new template:
 At line 1608 you can define what kind of files to be stored to database.
 After line 1628 you can define what kind of files belong to a type. (As 4 digits of extension like '.doc' or 'docx', note that dot)
If you want more, you can add manually ;)

90
HTML & templates / Re: Drag-&-drop file upload need help
« on: October 24, 2020, 01:33:05 PM »
Example ( let i make website with {only} image upload feature for visitor to upload and view his images on website.

In Virtual File System: select a folder you desire to use >> rightclick, properties >> file masks >> upload filter mask, fill with:
Code: [Select]
*.jpg;*.jpeg;*.png;*.gifOr other format you want. Then users can only upload images (or other types if you specify)

Pages: 1 ... 4 5 6 7 8 ... 14