Code Monkey home page Code Monkey logo

notice_m3's People

Contributors

zabaow avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

trystant

notice_m3's Issues

Displaying variables form app.js on index.html body.

I want a variable called threshold to be displayed in real time on Notice_M3's popup window. I have tried using document.write() to no success, however every time i go back and research the issue, the same or very similar solutions including document.write() appear.

Ignoring "onclick" attribute error

On start up error message that tells user that the onclick attribute could not be applied to the disabled buttons in the popup window. This need to be ignored, most likely with a catch statement.

Trying to make content scripts close/cease to run when a conditions are met.

I have my enable/disable buttons communicating with the background scripts from the popup scripts, however the disable button still does not do what it was meant to do, disable the background scripts. I started with trying a simple if-else statement with a return statement in the else condition. I have searched for an abort/exit command, but there were no such commands i was able to find. I have been thinking that i would have to have another separate function be called instead that simply returns continuously, but not sure what that would do to the overall app.

Create transitions for popup window

give the popup window some more "flare" with some transitions for buttons perhaps, when the user clicks on them. For example, a fade in/out.

Buttons causing error involving Content Security Policy

when any button on extension is clicked the following error appears in the console.

index.html:17 Refused to execute inline event handler because it violates the following Content Security Policy directive: "script-src 'self' https://apis.google.com". Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable inline execution.

have seen this error in the past, will probably have to update manifest.json.

Disable all popup window buttons when user is not on twitch

currently Notify_M3 popup window is intractable on any site, but doesn't function fully, as it only has permission to do so on twitch. Need to have a way for the popup window to recognize when the user is not on twitch (make it specific for the tab) and disable all popup window buttons.

Checking for the online status of Twitch.tv

Recently found a page that displays the status of all of twitch's components. (https://twitchstatus.com/) I want Notice_M3 to be able to look at the online status elements and listen for changes to their class properties (i.e. label-online -> label-important) and their content (Online -> Offline). If the change is made to offline, Notice_M3 will then send the user a notification telling the user that Twitch.tv is currently offline in order to save the user the frustration of finding info about the issue.

Add Statistics & Metric information to project

The intent regarding Twitch stats and how they are collected should not be left to the imagination of the user, but explained either within the app or documentation associated with it.

Twitch's beta

Twitch has significantly changed their code, in that the class's and id's have been changed, rendering notice_M3's background.js functionless. In order to get the application back up and running, I need to find the new names for the classes and id's for the elements notice_m3 is parsing for, and then make sure that they are implemented into the code correctly.

Clickable Notifications

The notifications should be clickable, not only for a way to close them early, but also be used to guide the user to the appropriate tab that contains the stream the notification originated from.

Gathering twitch chat data into local storage

I want to have a way to store data points for messages/minute from the content scripts parsing twitch chat. There is a need to create a new js file that will contain the modules for this purpose. Modules will allow for data to be parsed in the background over the course of a time yet to be specified. I will also have to research on how to setup a local storage for the data. I hope that in the future the data stored can be passed on to perhaps a database that would present an accurate value for messages/minute for a majority of twitch channels.

Merge enable/disable popup buttons into one button

One thought I had for a UI enhancement would be to replace the two enable/disable buttons with one button which switched depending upon the state. This would require some change to the JS, in particular having the event handler for each button get merged into one button.

css adjustments

[ ] Notice_M3 icon is slightly overlapping the first separator line, need to bump it up a bit.

  • enable button needs some padding on top
  • need to adjust size of text input element
  • reset threshold button needs to be moved up a bit.
  • might want add units next to input element (html needed)

sending threshold accurately

Sometimes threshold sent from background to popup as a value of 0, need to figure out was logic error is causing this.

Everytime popup is closed it resets the states of the buttons back to their original state

The attributes of the buttons in the popup window seem to reset whenever the popup window closes, which the user will want it to. This however, forces the user to have to click the disable button a second time in order to interact with the enable button which would most certainly become frustrating. I believe that the use of session storage for the popup window in order for the buttons to keep their attributes from before the closing of the popup window.

$ is not defined

Last I worked on this application, $ was loading correctly. Now Im running into this issue of it allegedly not loading or not loading before background.js does. I have made sure that jquery is first in the loading order in the manifest, but this is not the solution for this issue. I dont believe that i need to define $ in the js file since the declaration should be global due to the manifest. I have seen solutions that include Timeout, but I feel it is not a necessary solution.

notification with image + streamer username

I need to have the content-scripts in the background parse the twitch channel for the streamers icon, and username. These will both appear on the desktop notifications that are sent to the user. This will allow for the user to recognize which stream the notification was sent from in case there are multiple streams open.

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.