Questions tagged [dotjs]

A Chrome extension that executes JavaScript files, based on their filename

is a Chrome extension that executes JavaScript files, based on their filename.

6 questions
11
votes
2 answers

DOM penalty of using html attributes

I’m thinking of using HTML5 data attributes for easier third-party scripting of my application. So, consider two cases: There are 10'000 HTML elements on page like
Sticker
. There are other 10'000 HTML elements like
Paul Miller
  • 1,960
  • 1
  • 13
  • 15
6
votes
2 answers

How can I use GreaseMonkey to give the browser back the "/" key?

Lots of web pages seem to use the / key for searching. I'd like to disable that because 100% of the time I want to use / to search in the page in FireFox. Is there a way I can override this behavior with GreaseMonkey or dotjs? The best public…
Frew Schmidt
  • 9,364
  • 16
  • 64
  • 86
5
votes
1 answer

How to insert javascript to enable MathJax on GitHub wiki pages?

The GitHub wiki pages no longer support MathJax. It seems like the dotjs Chrome extension might be a way to enable MathJax on these pages. Here is my first attempt at creating javascript that would execute on github.com pages, and insert the right…
Michael
  • 517
  • 1
  • 4
  • 14
3
votes
1 answer

Preventing Gmail From Closing / Keeping It Visible

Disclaimer before the uppity types start in: This is not to be deployed "in the wild". This is for local, personal use by a Chrome add-on only. I am not trying trick visitors to my sites or do anything else unsavory. I've seen a bit of chastising…
theraccoonbear
  • 4,283
  • 3
  • 33
  • 41
1
vote
1 answer

Using dotjs in express

I want to use dotjs to replace Jade for Express I changed app.set('view engine', 'jade'); to app.set('view engine', 'html'); app.engine('html', dot.compile); but it isn't loading for a long time and I'm not getting a response; what's wrong…
anubiskong
  • 1,733
  • 1
  • 13
  • 6
0
votes
1 answer

Messages not being sent from content script to background.js

I'm trying to use a content script to inject my own JS files into a page. The way I'm trying to do this is based on the system used by a Chrome extension called dotjs, which runs a little server on your machine, and makes AJAX reuests to localhost…
Jack M
  • 4,769
  • 6
  • 43
  • 67