Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
![](/static/devrant/img/pipeless-devrant-banner-white.png)
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@BigBoo Well ok i'm fucked. It's were to make people join my steam group automaticaly ahah. I will not do it so
-
C0D4682466yWindow.open will probably be blocked if it’s not from the same domain.
Hijacking another websites page with JS isn’t possible unless you can embed it during load (think browser extensions) and the other site doesn’t have a sameOrigin policy enabled.
But you could add this “self click” to your own site and not redirect in the first place, although forcing people to join your steam community just by looking at a webpage would get you some backlash and probably complaints to steam. -
@C0D4 Well my idea were to do that when the player join my server or, say a certain command. I don't realy have an idea when to use that but i think this were a realy cool idea to have a lot of people in the group so to send a alert to everybody for events, updates. I don't think it's mean, they will not complain to steam for that
Garry's mod let us force people to vote for a addons or subscribe by default. -
In all honesty, if I am forced into a steamgroup, I will insta leave it and report it to steam. I don't think it is a good thing to create in general :P
Related Rants
JS/HTML QUESTION:
I wanna create a html page wich redirect us into a certain website and execute Javascript on the new website opened.
So i should use window.open i think, but how do i like execute js on this website after opened?
question
open
need
need help
window.open
help
html
js
javascript