The ultimate browser extension for 42's Intranet

  • By Freek Bes
  • Last update: Dec 27, 2022
  • Comments: 17

Improved Intra 42

A browser extension which adds many improvements to 42's Intranet at https://intra.42.fr/, such as a dark theme and links to clusters when a user is available.

Quick Download

Google Chrome Mozilla Firefox Google Chrome (macOS User Profile Script)

A small list of features added by this extension:

  • Dark Theme! Finally, your eyes can rest when working at night.
  • Customizable user profiles! Now you can show a bit of your personality through your user page: add a custom banner image to your profile, visible to everyone with the extension installed, or add a link to your GitHub-page.
  • An option to use the old Black Hole countdown instead of showing one's absorption date.
  • Removal of the broadcasts button, which is unused by most campuses.
  • Replacement of the Black Hole for Codam students, simply showing the progress towards their monitoring system instead.

You can find the full list of features in the Wiki.

Installation

Available on the Chrome Web Store. If you are using a Mac at Codam, you'll find that any extensions you install often get removed after logging out. I wrote a small script for this, which fixes this issue by forcefully installing the extension to your macOS profile. You can find this script here.

For Firefox, please see the Releases page. Mozilla has decided to no longer host this extension due to it being for a "limited/non-public audience" (your loss, Mozilla). The extension should still automatically update using GitHub.

Contributing

If you wish to contribute to this extension, please follow the contributing guidelines in the Wiki.

Screenshots

Github

https://github.com/FreekBes/improved_intra

Comments(17)

  • 1

    Other git hosting platform link

    I think it could be pretty cool if we could add our username on other git-based hosting platform (especially self-hosted one). A few exemple would be gitea, sourcehut or gogs, to name only a few.

  • 2

    LOGTIME months hidden to right side on Show monthly logtimes/show cumulative logtimes per week

    Describe the bug Logtimes (week/month) causes current month to be hidden on right side of the logtime section.

    To Reproduce Steps to reproduce the behavior:

    1. Go to 'Settings'
    2. Select 'Show monthly logtimes' and/or 'Show Cumulative logtimes per week'
    3. Refresh Intra page
    4. See 'LOGTIME' on intra

    Expected behavior Show as normal but with Cumulative and/or Monthly Logtimes. Current Month is MAY 2022 but it is hidden.

    Screenshots If applicable, add screenshots to help explain your problem. Screen Shot 2022-05-10 at 4 55 53 PM

    HTML source code (cannot upload .html file) intra_src_code.txt

    Desktop information (please complete the following information):

    • OS: macOS Catalina (within 42 Campus)
    • Browser: Google Chrome Version 92.0.4515.131 (Official Build) (x86_64)
  • 3

    Added Kleine speler post-fix title for Xander Voorvaart

    Everybody knows Xander loves calling people a 'Kleine speler'. The best way to get back at him, is obviously to give him a little taste of his own medicine!

  • 4

    add Image requirements to the upload menu

    I am trying for 30 minutes now to upload my image and it wont work ! I tried resizing it, changing the name, the format and everything and I don't know why it wont work

    If it is possible to add the requirement and format accepted to the images it would be fantastic

    If not, put them on the github readme maybe ?

    In anyway i'll contimue trying putting my image x_x

    (this one) https://imgur.com/MYYtwkP wallpaper

  • 5

    Page specific improvements

    1. Adds a feedback logs button to the user profiles. Additionally, I have also introduced some logic for adding more custom page handlers in the near future. image

    2. Adds hidden curses to be visible through the holy graph image

  • 6

    remove "Feedbacks Logs" buttons

    Describe the bug This feature has been added to the Intranet.

    To Reproduce ...

    Expected behavior ...

    Screenshots image

    HTML source code ...

    Desktop information (please complete the following information):

    • OS: not relevant
    • Browser: not relevant
  • 7

    Fix BH date hidden for 42cursus

    Blackhole date disappeared since an intranet update.

    Before : image

    After : image

    Following a little refactoring in the code of the profile page, this CSS condition is no longer necessary.

  • 8

    BlackHole CoolDown disappeared on profile pages

    Describe the bug BlackHole CoolDown disappeared on profile pages.

    To Reproduce Steps to reproduce the behavior: Go to any user profile page

    Expected behavior It was expected to see a date or the remaining days of the BlackHole.

    Screenshots image

    HTML source code Intra Profile alouis-j.html.txt

    Desktop information (please complete the following information):

    • OS: Ubuntu 20.04.4 LTS x64
    • Tested Browser Chrome & Firefox
  • 9

    Cumulative hours when codam's monitoring system is disabled.

    Disabling "Replace black hole with Codam's monitoring progress should not remove cumulative hours from the hover menu. The percentage can be removed though. image

  • 10

    Api page updates

    Changed the show/hide restricted calls button from a very light and unclear grey to the same color as the read the specification button. Also changed the background and text of the notes section of the api pages from white to a color that fits the rest of the page.

  • 11

    Admin buttons on sidebar are not colored red

    Elements not displaying as expected The buttons that link to Intra's admin/staff pages are not colored red like they do without Improved Intra installed.

    Screenshots image

    Expected behavior image

    Desktop (please complete the following information):

    • OS: macOS
    • Browser: Chrome
  • 12

    Custom color scheme

    Having the ability to input a custom color for the color scheme could be interesting. So if for some reason people want a different shade of blue, of red, or just want a different color all together, it's possible to change it.

  • 13

    adding friends list feature

    since the intra-friend extension is not working anymore during to the new 42 Api image handling and the owner has no planning for fixing it
    adding this feature to your extension it will be very helpful the intra-friend extension link: https://chrome.google.com/webstore/detail/intrafriends42/baehliedggippdholddgbdlhhmiaoioc

  • 14

    Sort projects on user profiles by project name instead of their slug

    Is your feature request related to a problem? Please describe. When you visit a user's profile on Intra and look at the projects a user has completed, these projects are sorted by slug (URL path) instead of by their name.

    Describe the solution you'd like Using Javascript, it might be possible to sort the projects based on their names instead.

  • 15

    Change first day of the week of the log time calendar.

    Request: Represent the log time calendar with Monday as first day of the week.

    This could be archived by rearranging the rectangles of the calendar SVG element, by manipulating their x and y values. This feature should probably be a setting, to make the change optional.

    Additional notes: Since in some areas in the world, the first day of the week is Saturday, a third option or a free selection for day could also be an option (but might be more complex). The default setting could be set depending on the user's locale.

  • 16

    Agenda overflowing out of container element

    Describe the bug When logged in as staff/admin on Intra, the agenda overview in the dashboard overflows vertically due to the addition of extra buttons.

    To Reproduce Steps to reproduce the behavior:

    1. Log in as staff
    2. Set your resolution to 1600 pixels wide
    3. Look at the dashboard's calendar element
    4. See error

    Expected behavior The calendar should properly clip and adjust the scrollbar accordingly

    Screenshots image

    Desktop information (please complete the following information):

    • OS: macOS
    • Browser: Chrome
  • 17

    UI bugging when I middle clicked a link

    Describe the bug When opening a page with middle click the entire UI bug and it's nearly impossible to read. Seems to be only on firefox because when using chrome I do not have any problems. But I may be dumb.

    To Reproduce Open any tab of 42intra in firefox with middle click

    Expected behavior The UI to work correctly and be readable when opening with middle click

    Screenshots Jut click : image With middle click : image

    Desktop information (please complete the following information):

    • Browser Firefox
    • OS Ubuntu 20.04 LTS

    (PS : I'm not very smart so maybe so it's caused by something I've got (for example i have the Dark Reader extension but it's deactivate on the intra so i don't know)) (PS1 : I'm french don't judge my writing)