GithubHelp home page GithubHelp logo

startpage.rwrt's Introduction

startpage.rwrt

Configuration

index.html

This is where you add your links. But don't worry, there's no HTML skills needed.

There's really only two places you should take a look at: Line 44, where you set the page title, and everything below line 49, where the links go. There's some instructions in the comments, but since I'm busy writing anyways, I'll just repeat myself here.

The Section Heading. This will start a new block.
  I
  V
Title
http://www.example.com || Title || Keybinding || Icon URL
  ^                         ^           ^             ^
  |                         |           `---------,   `-------------------------------------,
Where you want to go ][ What you want to see ][ Keybinding to go there fast (optional) ][ URL of image to display with link (optional) ]

The keybindings support multi-stroke bindings, so you can use gm to go to Gmail, gp to go to Google+, and so on. But beware! Shorter keybindings will get triggered first, so if you already use g to go to Google, you'll never be able to input gm or gp.

settings

Due to some issues with Chrome's XMLHttpRequest, the settings have been moved to js/script.js. They can be found right at the top of the file.

navigation

This only has one setting: "newWindow". Set to true to have links open in a new tab/window, false to use the same window.

clock

Again, this has one setting: "showClock". True or false.

animation

This only has one setting: "hideLinks". Set to true to have links being shown/hidden automatically on mouse events, false to see them always.

icons

This only has one setting: "showIcons". Set to true to see configured icons next to links, false to hide them.

search

This is where it gets interesting. There's two keys:

focusSearch

true or false. This is supposed to focus the first search box when the page is opened, but that's highly dependent on the browser. It works in Firefox, but last time I checked it won't work in Chrome. There's not really anything I can do about that.

engines

This is the fun part. Instead of giving you predefined search engines, I thought I'd let you add some on the fly.

So, engines is an array full of arrays. Each inner array needs to have three objects - The URL of your search engine, the GET argument, and a placeholder for the searchbox.

How do you get that stuff? Let's take a look at Google. When you search something, you'll get redirected to this URL:

https://www.google.com/search?q=something

There's some more stuff there, but this is the part we're interested about. Everything up to ? is the URL, so it goes in the first position in the array.

The part between ? and = is the name of the GET argument, this goes in the second position.

The third position can be any string really. I suggest you choose something descriptive here, like "Google".

style/style.css

If you know CSS, edit to your heart's contempt.

startpage.rwrt's People

Contributors

cbrst avatar grussorusso avatar pete1450 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

startpage.rwrt's Issues

search engine

Is there a way to make the search engine work differently when the "query" option is empty?
["https://eztv.ag/search/", "", "EZTV", ""],

for example: https://eztv.ag/search/searchtermhere
if I leave the query option empty, it still adds "?" somewhere in there and breaks the search engine.

So it would be great if we could have an option to disable the automatic inclusion of "?" and whatever else for certain search engines.

not openning in luakit

Hi,

first, well played, love your startpage :D

I'm trying to use it in luakit, but when i open the index.html, it proposes me to download ti instead of openning it.. on firefox, all's fine !

any idea ?

Changes and additions

Hi,

How do I move the clock to a different location in the window?
Also, is it possible to add Day, Date and Year?

Thanks,
S3767

Adding Images?

I'm trying to add images into the page; not a background image, smaller ones. This doesn't work however, and it only seems to work, by works I mean the image shows, when I comment out the script stuff in the head of index.html. Otherwise if I try to put the image code in the body, it just makes the image header one of those head titles.

Launch applications from Start Page

@cbrst I know this is an older project but I wanted to say thanks! This will be a great time saver and a way to keep everything in one place. Do you know if it would be possible launch applications from a link on the page? Specifically I would love to have the various servers I need to RDP to listed and have an RDP file or mststsc.exe launch when clicked. I know natively modern browsers don't allow this in an html file for security but I didn't know if there was something that could could be done in the java script. Thanks!

List column "bouncing" up/down?

I'm not sure how I accidentally trigger it, but I often see (any) one of my link columns repeatedly expanding and contracting over and over. It will keep bouncing as long as the cursor is below the column heading but within the area where the link items drop down. Mouse up to the header and it will stay down. Mouse out of the column and it will bounce several more times before closing upward.

To trigger it intentionally, put your cursor in the blank space above a column header and drag rapidly down across the header into the link item space. Or, with a column properly expanded, mouse out of the column and back in before it finishes collapsing upward. Yes, I know, "just don't do that!" But I do it unconsciously several times a day...

Just installed your latest version, and it maybe seems less likely to do this than the 2012 version I had, but can easily be forced to. I haven't spotted what I could play with to tame it - if a column has dropped down and the cursor is still over its expanded area, it should stay down even if the cursor wasn't over the header long enough for it to register properly. Thoughts?

keybindings

Keybindings just open new blank window on random key click

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.