Skip to content

musically-ut/arXiv-title-fixer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

38 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

arXiv Titler icon

arXiv titler fixer

Set correct tab <title> on arXiv pages.

Chrome extension

This can be installed standalone from the Chrome web-store.

Chrome extension

Firefox addon

It is also available as an addon on Firefox.

Because Firefox does not allow scripts on pdf pages, the extension does not work.

j3soon has created a clever workaround j3soon/arxiv-utils which does work.

Userscript

o-jasper created a userscript version for use with Greasemonkey for Firefox or Tampermonkey for Blink based browsers!


Usage

Promotion

Adds a little icon to fix the tab title

arXiv title fixing

Integrates well with The Great Suspender

arXiv title fixer with The Great Suspender

Works with Firefox as well!

arXiv title fixing

Integrates well with Tab Suspender

arXiv title fixing


Development

Please install the following before building the extension:

  • web-ext
  • jq Note: This is not the jq on NPM, which is a server-side jQuery replacement.

The project is supplied with a Makefile which can produce final files for both Firefox and Chrome.

make chrome
make firefox

The build is done by selectively copying parts of the source code to the folder ./.tmp and then archiving it again using either zip (for Chrome) or web-ext (for Firefox). The final archives are kept in the ./build folder.

For testing, the extension can be loaded into Chrome by going to chrome://extensions and clicking on the Load Unpacked Extension button. Then navigate to the .tmp folder in the source code root which was created by running make chrome and load it. An alternate is to run make manifest in the root folder and then load the source code root as the unpacked extension. This will allow for a simpler edit-reload cycle, except while editing manifest.json.template.

For Firefox, the easiest way to test the packaged extension would be to download the unbranded build or the Developer Edition and loading the extension there. Otherwise, one would need to sign the extension via your account on their Addon server. Go to about:addons, to the Extensions Tab and click the Gear icon (Settings) on the top right to load the packed extension.

If the browser still complains that the package has not been signed, then go to about:config and set xpinstall.signatures.required to false. Note that this setting only takes effect on the Developer Edition and the Unbranded versions of the browser even though it shows up in about:config pages of the release channel versions as well.

Acknowledgement

Icon made by Freepik from www.flaticon.com is licensed by CC 3.0 BY.

About

๐Ÿ“ƒ Set the correct (tab) titles for your arXiv papers containing tabs.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published